Hi, I’m totally new to csound. I have no musical background, but some programming knowledge.
My goal is to be able to use linseg to interpolate between arbitrary frequencies, then loop that as many times as I want. It seems like the way to avoid the click/pop between repetitions is to use an envelope, however when I do it just replaces the click with a buzz when it loops. I assume I’m just using envelopes wrong.
Here’s my code. Any help would be wonderful.
<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 64
nchnls = 2
0dbfs = 1
instr bc
kenv linen .5, .1, 1, .1
aBCline linseg 164.81,.5,100,.5, 164.81
aBCwave poscil kenv, aBCline,-1
outs aBCwave, aBCwave
endin
</CsInstruments>
<CsScore>
r10
i "bc" 0 1
s
</CsScore>
</CsoundSynthesizer>