Dear SC Community,
I want to calculate the derivation of incoming OSC Data to use them as a modulator for my synth. I tried to afford that using an array. Unfortunately, the code is not repeated, as I intented to and I dont know how to implement it correctly. Does anyone have a quick solution or a hint for me?
var z, d;
z = Array.with(0,0); //Derivation of OSC_data z.put(0, msg); z.put(1, z); d = z - z; msg.postln; d.postln;
Thank you in advance!