On Saturday, May 27, 2017 20:53:42 Andrew C wrote:
> I was looking through other KSP scripts and one feature I noticed is that
> you can use ignore_event($EVENT_ID), but still use play_note to generate
> notes as needed (Currently if you use ignore_event and call play_note,
> play_note has no Note object).
> 
> You can also access the $EVENT_NOTE and $EVENT_VELOCITY values too.
> 
> Could this be implemented into NKSP?

Hmm, I just tested this:

on note
  declare $foo

  ignore_event($EVENT_ID)
  $foo := play_note($EVENT_NOTE)
  message($foo)
end on

Note was played, and play_note() also returns a valid note ID.

CU
Christian

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to