What are the functions I should look at for doing an arpeggiator?
-
I think what you're after is the sliderPack widget
-
With the example script Christoph posted, note off does not work. Setting sustain to 0db (all the way up) will have the synth playing the note indefinitely... unless the AHDSR is not implemented correctly.
-
Yeah that was just a proof of concept thingie. note offs have to be taken care of explicitely.
-
why is it that when you do Synth.startTimer(value) it doesn't trigger the onTimer call back until the interval? I need the timer callback to be triggered right away.
-
What I did for this was put the functionality I needed in the onTimer callback into a function, I then was able to call this function before I started the timer and then afterwards it is called by the timer
-
Yes this is the best way.
It's common practice that the first timer execution is delayed. Otherwise you couldn't call Synth.startTimer from the onTimer callback without nasty hacks to prevent endless recursion.
-
This post is deleted!