adjusting function time
Hi all I have created synth patch that uses a function box to create a pitch envelope. the time length of the function box is changed depending on the length of the note set by and adsr. however when i have set a pitch envelope at say a time length of 2000 milliseconds and then increase the lenth of the note the function length changes but the envelope stays the same in time. what I need the envelope to do is adjust in time so that the image on the function goes from beginning of note till end. hope you get what i mean. thanks Lee.
look at the [domain $1] (and [range $1 $2]) messages to your function; domain is the X axis, range the Y axis
Brendan
you explicitly need [SETdomain $1] and [SETrange $1] messages.
or just multiply the time /domain values of its output (before the data is send to line, line~, curve~zl reg or whatever).
-110
Thanks all great help