support SFZ 'script' opcode #1215
Replies: 5 comments
-
This issue has been discussed several times, but no progress currently. |
Beta Was this translation helpful? Give feedback.
-
Iirc, first use of kontakt scripts are for the midi preprocessor, e.g. arpeggiator, harmonizer, drums step sequencer, etc. And also for the "auto" things, like auto legato, auto portamento, etc, as well as other functions like RR simulation and placing common used CC at gui. Then, a lot of things can be created with scripts. |
Beta Was this translation helpful? Give feedback.
-
My short understanding of scripts usage is, the scripts can be pre-made by anybody and act like a script 'preset. Then user can put the script into sfz or include it to apply the function. |
Beta Was this translation helpful? Give feedback.
-
An example use case that will be good for sfz engine as a drum sampler is the note-remapping, so a script that allow freely remapping the drum notes via GUI |
Beta Was this translation helpful? Give feedback.
-
From "What are scripts? Scripts can be seen as small plugins. They are quite similar to the MIDI effect plugins you can use in sequencers but differs by being integrated into the sampler and this provides some benefits. Unlike MIDI effects, scripts have access to some internal Kontakt features which in addition lets them:
Scripts are written in the Kontakt Script Language and entered as plain text. A script basically consists of a number text lines with instructions to the Kontakt Script Processor (KSP). The KSP interpretes your script and executes your instructions when it receives notes or MIDI CC." From "At a Glance NKSP stands for "is Not KSP", which denotes its distinction to an existing proprietary language called KSP. NKSP is a script language specifically designed to write real-time capable software extensions to LinuxSampler's sampler engines that can be bundled individually with sounds by sound designers themselves. Instead of defining a completely new script language, NKSP is leaned on that mentioned properiatary script language. The biggest advantage is that sound designers and musicians can leverage the huge amount of existing KSP scripts which are already available for various purposes on the Internet, instead of being forced to write all scripts from scratch in a completely different language. That also means however that there are some differences between those two languages. Some extensions have been added to the NKSP core language to make it a bit more convenient and less error prone to write scripts, and various new functions had to be added due to the large difference of the sampler engines and their underlying sampler format. Efforts have been made though to make NKSP as much compatible to KSP as possible. The NKSP documentation will emphasize individual differences in the two languages and function implementations wherever they may occur, to give you immediate hints where you need to take care of regarding compatibility issues when writing scripts that should be spawned on both platforms. " |
Beta Was this translation helpful? Give feedback.
-
Support sfz opcode 'script' for NKSP scripts etc.
http://doc.linuxsampler.org/Instrument_Scripts/NKSP_Language/
Beta Was this translation helpful? Give feedback.
All reactions