<CsoundSynthesizer>
<CsOptions>
-o dac -dm0 -i adc
</CsOptions>
<CsInstruments>
nchnls=2
nchnls_i=1
0dbfs=1
ksmps=64
sr = 22050

instr 3

asig inch 1

ksl chnget "slider"
kgain chnget "gain"
fsig1 pvsanal asig,2048,256,2048,1
fsig2 pvscale fsig1,0.75+ksl,1
fsig3 pvscale fsig1,(0.75+ksl)*1.25,1
fsig4 pvsmix fsig2, fsig3
a1 pvsynth fsig4

a1 = a1 * kgain
   outs a1,a1
endin

</CsInstruments>
<CsScore>
f1 0 16384 10 1

i3 0.1 10000

</CsScore>
</CsoundSynthesizer>
