[Cs-dev] csound 6 question: arrays as pfields
Date | 2013-04-01 02:27 |
From | peiman khosravi |
Subject | [Cs-dev] csound 6 question: arrays as pfields |
Attachments | None None |
Hello,
In Csound 6, is it possible to have arrays in note statements? Or is there another way (other than a string conversion UDO) to define envelopes of arbitrary segments in a note statement? Which brings up the next question. It'd be useful to have an envelop generating opcode that takes three arrays: [values], [durations], [curves]. It would also be nice if, in addition to a k/a-rate function, the opcode returns a '1' when the envelope reaches the last value in the list. Then this could be used to turn the instrument instance off.
One foreseeable problem is the use of '[ ]' in the score, which is reserved for arithmetic operations. Thanks Peiman |