Way to make sample stop once note has ended?

Having trouble with LMMS? Ask about it here.
Ive been using a lot of samples and when I play the sample as a note in piano role it plays the entire sample. And i was wondering if there was a way to make it so once that note in piano roll ends so does the sample.
Splitilla wrote:
Sat Oct 31, 2020 7:23 am
Ive been using a lot of samples and when I play the sample as a note in piano role it plays the entire sample. And i was wondering if there was a way to make it so once that note in piano roll ends so does the sample.
I think you use a pianoroll-note from Beat&Bass editor??
Those notes are special. They are called 'No-length-notes' and are meant to play the whole sample every time they are tricked. (They do however only play ~45 secd, so there is a bug) If use 'No-length-notes', you need to make specific settings in AudioFileProcessor (AFP) that pin-points what part of the sample you want to play
Learn about that here:
https://youtu.be/NKE_TvklKq0

But a pianoroll-note from song-editor, is different! Those notes are normal-notes, and they will only play all sounds -including samples, in length of the actual note (+ release)