Re: [Linuxsampler-devel] Kontakt KSP scripts & endless loops

2016-07-09 Thread Christian Schoenebeck
On Saturday, July 09, 2016 17:13:24 Christian Schoenebeck wrote: > Intuitively the right way to fix the upper script, would be something like > this: > > on note > while (1) > wait(20) > if (note_is_gone($EVENT_ID)) > exit() > end if > change_vol($EVENT_ID, -2) > >

[Linuxsampler-devel] Kontakt KSP scripts & endless loops

2016-07-09 Thread Christian Schoenebeck
Any Kontakt users out there? As I've just been working on adding synthesis parameter functions to our instrument script engine, I wondered how endless loops are usually hanndled with Kontakt KSP scripts? Let's assume you want to implement a simple stuttering effect by using an instrument scrip