Hi all,

I'm looking into creating a poorman's round robin script for some short
note staccatos.
My plan is to write a script which will:

At note on, pick a random number between 0 and 4.
Play either the same note, 2 semitones up but repitched to the original
note's pitch, 1 semitone up but repitched, 2 semitones down but repitched
or 1 semitone down but repitched.

I looked at the NKSP reference manual and it seems like I can achieve the
first part with the Random() function.

I'm considering using change_pitch function to simply tell the future note
to pitch itself up or down and then use play_note to play the new note's
sample but repitched.

play_note does send a new midi note_on event, if I'm not mistaken?

Thanks,

Andrew.
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to