I'm trying to make a pitch envelope out of two function tables. One table holds the pitch values and the other holds corresponding durations. The two tables will be equal length but that length can be any value. Does anyone know any good methods for creating a line with an arbitrary number of points? Or a way of joining two envelopes together one after another? Thanks!
Envelope From Two Tables of Arbitrary Length in CSound
48 views Asked by joehughes At
1
this would be one possibility:
you can use function table instead of array if you prefer. and you can wrap this into a UDO (see http://write.flossmanuals.net/csound/g-user-defined-opcodes/ for more information).
perhaps you consider to join the csound mailing list. you will get more suggestions there: https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND