Hi all,
in this code I generate two glissando (one ascending and one descending).
Why do I hear a “click” at the junction point?
Is there a way to avoid this audio “discontinuity”?
Thank you,
t.
<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1
instr 1
kp = p6
;choose between expon or line
if (kp == 0) then
kpitch expon p4, p3, p5
elseif (kp == 1) then
kpitch line p4, p3, p5
endif
asig vco2 .6, kpitch
outs asig, asig
endin
instr 1000
aL, aR monitor
fout "Gliss.wav", 4 ,aL, aR
endin
</CsInstruments>
<CsScore>
i 1 0 2 300 600 1
i 1 2 5 600 30 1
i 1000 0 7
e
</CsScore>
</CsoundSynthesizer>