Float array to array of points , Line editor.
Posted: Mon Aug 21, 2017 12:00 am
I am working with the line editor , The output from the line editor is an array of floats.
However it saves its output as an array of points.
After load of an envelope shape it converts this point array into a float array.
But, and here is my question...
Is is possible to do this the other way around ,i.e taking an array of floats and convert them to an array of points?
For example , I can convert an lfo to a float array , now I would like to convert this float array into a point array so I can "load" the lfo shape into the line editor.
I feel like there should be a way to do this , quantising the lfo into discrete float values, gathering them into a float array , then convert that float array into a point array .
I hope I am making sense , could post an fsm if needed?
However it saves its output as an array of points.
After load of an envelope shape it converts this point array into a float array.
But, and here is my question...
Is is possible to do this the other way around ,i.e taking an array of floats and convert them to an array of points?
For example , I can convert an lfo to a float array , now I would like to convert this float array into a point array so I can "load" the lfo shape into the line editor.
I feel like there should be a way to do this , quantising the lfo into discrete float values, gathering them into a float array , then convert that float array into a point array .
I hope I am making sense , could post an fsm if needed?