aiit ·
What's the easiest or rather fastest way to do this?
float floatArray[10] = {2,5,7,9,3,6,8,3,6,2,1} ;
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
aiit ·
What's the easiest or rather fastest way to do this?
float floatArray[10] = {2,5,7,9,3,6,8,3,6,2,1} ;
aiit ·
[old link]
I think I found the answer. 😮
sambean ·
Use stage(0) {...}
This gets calculated once before the main code (either every time a note initiates a poly stream, or at startup for a mono stream)
Insert it in your code after the declarations eg
streamin in; float data[3]
stage(0) { data[0] = 0.4; data[1] = 0.3; data[2] = 0.2; }
//Main code here
Sam
aiit ·
I was wondering about the green Array Modules.
But wait. Can I load a green Array from the code?
sambean ·
Not ATM.. It has been suggested though. Maybe after v1...
Wrote something here? To have a post removed or your name hidden, write to [email protected].