I’ve been in the process of making custom drumkits by replacing the samples in S-sampler24/drumsampler24.
Some of the samples are extremely short and rather than going through the process of adding silence to each one, I was wondering if there was a way to disable the looping function.
Made the same post a while ago. Eventually edited all my samples with silence. But I think with minimal pure data skills it might be pretty easy to edit the patch…
I’ve thrown together simple orac conversions and an original module too, but no matter what I tinker with I can’t seem to disable looping with disabling sample play as well. You need to talk to @chrisk or @oweno
On youtube are a series of PD tutorials by a Dr Hernandez aka cheetomoskeeto in one of the videos he explains how to play back samples using tabread4~ and how to disable looping of a sample.
I had a quick look (2 mins, so dont take this as gospel )
what I would do is, add a threshold in the voice, and then set the freq of the phasor~ to zero after first play.
obviously, whilst actually doing, there might need to be some other minor tweaks (e.g. decay handling), but that should be the basics of whats required.
remind me during the Orac 2.0 beta and I’ll chuck it in.
note: an alternative is latch onto the threshold/decay, and then mute the output after first play, but that means the voice is still processing so more cpu is used - but this approach may be simpler/less disruptive, as its more inline with how the rest of the code is working… Id only know once trying my preferred approach
would it be easier to just convert the Hrando patch? It is a very good drum machine…
Hey! I’m a newer user so this may be common knowledge but this is my fix for adding two seconds of silence to prevent sample looping.
You can import your drum kit into audacity (free audio editing software) and you can select your sample and then select generate on the top menu bar and then silence. Then just choose how many seconds of silence you want for your samples. Then you can export all of them into your sample folder. It’s an easy way to add silence to all of your samples to prevent the sample looping.
This is the tutorial I watched that explains what do do in audacity: