| >> Does anyone know the limit of line segments per line in a Csound orc? I
>> am trying to utilize the heterodyne analysis files to function as the
>> pitch and volume envelopes for sampled wave forms.
>
> by glancing at the code, it looks like there should be no limit
>(as long as you have enough memory) - csound will dynamically allocate
>more space when needed. (but i could be wrong)
>
On 14 Mar, Russell Pinkston wrote:
>As someone else has
pointed out, expseg and linseg are the csound envelope units with the
greatest number of possible stages. (The practical limit may not be a
specific number of arguments, but the number of characters you can fit on
the line, I think. Max may be 255, or something.) If you really want
unlimited numbers of stages, however, I think you're going to have to go
with some form of table look up and reinitialization. In other words, use
gen 2 to fill as large a table as you need with your envelope segment data,
in the format val1 dur1 val2 dur2 val3 dur3 val4 dur4...etc.<
went on to give specific example. again, i'm just a confused beginner doing
fine for time being with linseg. but is it unlimited?
yours,
tolve
|