On Saturday, August 19, 2023 3:46:16 PM CEST Luandino Jean-Elie wrote: > Hello, > > I'm writing to you after using Linuxsampler and Gigedit. > They are amazing pieces of software ! Thanks to you, I can load and > play Gigastudio files on a Raspberry Pi computer. > > I have an issue though, trying to trigger samples with the sustain pedal. > Could you tell me if I am wrong but it looks like it can only be > achieved using scripts inside gigedit. I started to read NKSP book but > I have to admit that I got lost.
There is also the "release trigger" dimension in the Giga format, which you could use instead of a NKSP script. > I just want to trigger pedal up and down samples with the sustain > pedal ( cc 64 ). > Maybe that is a few lines to write in the script. As for a NKSP script approach, you could start with something like: on controller { play a note when sustain pedal was pressed down } if ($CC_NUM = 64 and %CC[64] > 63) play_note(<note-number>) end if end controller And replace <note-number> with the desired MIDI note (key on the keyboard) to play. I guess it would be helpful to also have a bunch of, at least common, NKSP examples on the website. Also keep in mind, you can also always look for Native Instruments KSP script examples. There are tons of those out there. /Christian _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel