What's new

Setting Loop Start/End points without interrupting Audio Engine?

soundtrax

Member
I am trying to script loop start / end points for user zones with "set_loop_par ..." commands but can't figure out how to prevent kontakt's audio engine to stop as soon as I touch one of these scripted controls.

BUT: The KSP manual says the following:
  • Since Kontakt 7.2, the performance of this command has been improved. Previously, every execution of this command required suspending then resuming the audio engine. Moving forward, execution of this command has been delayed until the first wait() command, or until the end of the callback, whichever comes first. So, if it is required to set a lot of zone parameters in batch, it is recommended to first collect all the async IDs into an array, and only then run any wait() commands, as shown in the description of wait_async() command.
Not sure what this actually means... Is it really possible to keep the engine going while tweaking loops via KSP? And if so, how could/should it be scripted?
 
No, you cannot keep the engine running while tweaking loop points with these commands, because engine is suspended then reinstated when you set these from KSP.
 
I didn't try leap yet but there are other wats to achieve that in real time, not using the loop points in the zone directly, but tracking them yourself. Listener CB is your friend here.
 
Back
Top Bottom