Csound Csound-dev Csound-tekno Search About

[Csnd] linenr and madsr

Date2012-10-15 05:22
FromAndres Cabrera
Subject[Csnd] linenr and madsr
Hi,

I'm wondering why madsr is not working as I would expect when
triggering it from the score. I would expect that for score notes, the
release part starts when the note ends, but this is not currently the
case. It will work when creating an infinte duration note and then
turning it off from the score. However, linenr does work as expected
with a single score line. Anyone know why this is?






sr = 44100
ksmps = 128
nchnls = 2
0dbfs = 1

gisine ftgen 0, 0, 4096, 10, 1

instr 1
aenv madsr 0.05, 0.05, 0.5, 1
;aenv linenr 0.5, 0.05, 0.5, 0.01
asig poscil aenv, 440, gisine
outs asig, asig
endin



;i1 0 -1
;i-1 0.5 0.2
i 1 0 0.5




Cheers,
Andrés