INTERFACE 1350,100
HIDEUI 4
//QUALITY 4096, 7, 0, 1, 10
VSTVARS 11
// VSTVAR <number>;<initial value>;"Name";"Unit";<min>;<max>;<scale type>
VSTVAR 0,0.5,"VOLUME","",0,1,1
VSTVAR 1,.1,"ATTACK","s",.001,10,0
VSTVAR 2,.1,"DECAY","s",.001,10,0
VSTVAR 3,1,"SUSTAIN","",0,1,1
VSTVAR 4,10,"RELEASE","s",.01,100,0
VSTVAR 5,1,"FC MUL","",.1,20,0
VSTVAR 6,.5,"RESO","",0,1,1
VSTVAR 7,.5,"DRIVE","",.5,15,0
VSTVAR 8, -2, "Filter Type", "", -2, 19, 2
VSTVAR 9, 0, "Type","", 0, 6, 4, "Linear", "Moog", "Hard Sat", "Tube", "Cheby2", "Cheby3", "Cheby4"
VSTVAR 10, 0, "Algo", "", 0, 1, 4, "Classic", "Drive"

//SAMPLE <slot_number>; <numeric_code>; <2nd_harmonic_numeric_code>; <2nd_harmonic_amplitude>; <2nd_harmonic_frequency>; <2nd_harmonic_phase>; <3rd...
sample 1,2

GAINENV &600,0,&601,0,&602,&603,&604

LAYER
EXECIF 610,0,0 OUT=OSCG("Sgfa000F",1,VAR608+100*VAR609,MCC605*FREQ,MCC606,MCC607)
EXECIF 610,1,1 OUT=OSCG("Sgfa000D",1,VAR608+100*VAR609,MCC605*FREQ,MCC606,MCC607)
