Csound Csound-dev Csound-tekno Search About

Re: madsr/mxadsr Bug

Date1999-10-04 07:11
FromThomas Huber
SubjectRe: madsr/mxadsr Bug
> Hi,
> 
> This is no bug. The release time is set for each instrument 
> instance. It is an instrument feature, and so may be changed
> by each new ...r opcode.
> 
> And yes, the longest will be used. This is even documented, 
> but only in the linenr manual entry. 

I see, well I only read the [m][x]adsr manual entry.
So I have a problem: I need envelopes with different release
times from the main sound(amplitude)-envelope for FM modulation
index or filter cutoff etc.
Wouldn't it be possible to add a further i-time argument to the 
m[x]adsr opcodes that selects whether it's release time changes
the instrument release time (=default) or not ?


Date1999-10-05 15:55
Fromjpff@maths.bath.ac.uk
SubjectRe: madsr/mxadsr Bug
Reading the code it currently says if there is a release then set the
could to the length of the global release time.  I think that I could
add an optional argument which if given takes precedence.  Can you
provide me with a *complete* test (orc/score/MIDI file) as i am not
set up for MIDI.

Indeed I have sketched that change -- just needs some tests