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(200000)
>     if (note_is_gone($EVENT_ID))
>       exit()
>     end if
>     change_vol($EVENT_ID, -20000)
> 
>     wait(200000)
>     if (note_is_gone($EVENT_ID))
>       exit()
>     end if
>     change_vol($EVENT_ID, 0)
>   end while
> end on
> 
> But as far as I can see it, Kontakt does not provide a built-in function
> (like "note_is_gone()" in the latter pseudo solution) for checking whether
> notes/voices are gone, is there any?

Never mind guys. I just found out Kontakt got a function event_status() which 
just does this.

CU
Christian

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to