I just started trying the auto sampler first time today, and it worked great for me and is excellent for things like horn stabs. However I don’t see any way to do a loop in the sample where you can get a sustained sound like an organ or string pad that is held indefinitely? Am I missing something or is that just not supported?
Try this
@pianopaul - thanks. I have the same question myself. The link you provided was to assign knobs to sample start, end and loop points. My question, which is the same as @kbmatson, I think, is how do you get the samples to loop - e.g. play continuously - when you press and hold a key on the keyboard? Like an organ - the sound plays until you take your finger off the key. The “standard” way in works in Decent Sampler is the sound sample will play to the end of the sample, and the sound stops. I haven’t been able to find any examples of code that lets the sample loop until you release the key. Can you help with that? (Haven’t been able to find it in any internet searches either.)
Maybe that helps
https://decentsampler-developers-guide.readthedocs.io/en/stable/appendix-b-the-binding-element.html
Here you find the tags for loops
Maybe something that tracks note-off and disables the block when you release the key? The sample might still be playing but the sound would be killed. I’ve not worked with Decent Sampler so I’m kinda taking a stab in the dark so take my advice with a grain of salt on this.
SteveC
Thanks @pianopaul, but I guess I must be dense. I had read all that and unless I misunderstand how to use this it doesn’t make the samples act like an organ when you press the keyboard keys. The first screenshot if from the DC sample code that can be downloaded from the website.
The code makes the necessary bindings to knobs to adjust the start, end and loop points of samples, but this doesn’t seem to affect the actual sample playback when you press the keyboard keys. I am missing something. Also, I don’t really want or need knobs to adjust these parameters - I want the samples to play continuously like an organ instrument.
I guess later on today I’ll paste the sample code in and try it, but… Here’s a screenshot of my file which results in the sample playing to the end of the file. I would hope/think there was some way to tell it to loop (beginning, end and crossfade) at this point of the code, not on knobs.
UPDATE:
HI @pianopaul, I just tested the sample code from DS and it does work - the sample provided (three.wav) loops as long as a key is depressed. Now I just have to figure out how to do this without having “knobs”. I would think it can be done on a per sample basis. This is not my forte, so it takes me awhile to figure it out. Kontakt is a bit more straightforward in this area, but overall DC seems easier to get things done faster. All new to me and a learning curve, thanks for your help!