INTERFACE 1200,100
HIDEUI 4
//QUALITY 4096, 7, 0, 1, 10
VSTVARS 8
// 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","",.5,5,0
VSTVAR 6,.5,"DRIVE","",.5,5,0
VSTVAR 7, 100, "Dry/Wet", "%", 0, 100, 1
//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
OUT=OSCG("Sgfa000",1)
IF MCC(607)<.1 EXIT
OUT=.01*((100-MCC(607))*OUT+MCC(607)*MOOG1(OUT,MCC605*FREQ,MCC606))