General

Need help with a delay between functions

Started by iceleben on .

Sign in or create an account to join the conversation.

5 posts

Topic starter
Hi,
My Synth does not react very well if I feed him with too many Parameters. So I've splitted a function into several parts. If I use them seperately all works fine but unpredictable if used together. I think it might be a good idea to put a delay between these functions. So if I have a script
function1();
function2();
function3();
function4();
etc...
what would be a good way to put a delay between these functions?

Thanks a lot,
Markus
I never needed a delayed function so far, but I think one method would be to use the 'time' variable. Another thought is to use a simple Pads object and its envelope: function1() triggers the pad. When the pad goes to 0 after some milliseconds, function2() and a second pad is triggered, etc. But of course the first method is much better and less complicated, at the same time a bit more demanding in scripting.