Can i make Kontakt play a sample loop endlessly after pressing the key just once?

Hey i was wondering if it is possible to set up a Kontakt instrument in a way that it plays every sample loop i start by pressing a key forever. Is there any way to assign an LFO and make it endlessly long so the sample loop would never stop after pressing the key until i turn down the volume of the instrument?
i have some samples that are just seconds long but i don't want to "play" them in Kontakt but rather "trigger" them by pressing the key. they should then go on and on in a loop until i turn down the volume..
maybe there is a way to "lock" a key after pressing it?
Comments
-
A minimal example
on init end on on note ignore_event($EVENT_ID) play_note(60,64,0,0) end on
the last argument in the play_note function is related to its duration. "0" will play the entire sample. If you set a loop in the mapping editor, you will get it to play forever.
0 -
There is a factory script called MIDI Latch that does exactly this. Try it.
0
Categories
- 10.6K All Categories
- 20 Welcome
- 442 Hangout
- 58 NI News
- 206 Tech Talks
- 1K Native Access
- 4.9K Komplete
- 614 Komplete General
- 1.1K Komplete Kontrol
- 1.8K Kontakt
- 483 Reaktor
- 151 Battery 4
- 268 Guitar Rig & FX
- 204 Massive X & Synths
- 211 Other Software & Hardware
- 2.2K Maschine
- 14 Sampling Room
- 2.6K Traktor
- 2.4K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators