A tool that can cut/extract samples automatically
-
- KVRAF
- Topic Starter
- 4844 posts since 17 Aug, 2004
I am looking for a tool, an app, or whatever. I simply don't know where to start.
I have more feature requests but for now, can anyone point me in the good direction?
Example: I record a drum machine. Bass drum. Say my volume is set up and I recorded 80 hits with my decay and tune in various positions. Between each hit, there is a silence. The recording is one single wav file.
Is there a tool that can automatically and perfectly detect the first transient (or what's the best way) and then silence it after the hit, so that in the end it can extract all of my samples as a separate file? A bonus would be that I define a naming formula so I am ending with 80 files named by a specific prefix (but that is not mandatory).
I have more feature requests but for now, can anyone point me in the good direction?
Example: I record a drum machine. Bass drum. Say my volume is set up and I recorded 80 hits with my decay and tune in various positions. Between each hit, there is a silence. The recording is one single wav file.
Is there a tool that can automatically and perfectly detect the first transient (or what's the best way) and then silence it after the hit, so that in the end it can extract all of my samples as a separate file? A bonus would be that I define a naming formula so I am ending with 80 files named by a specific prefix (but that is not mandatory).
-
- KVRist
- 117 posts since 6 Jun, 2017 from Germany
WaveLab has an auto split function, please see here: https://steinberg.help/wavelab_pro/v11/ ... lit_c.html
- KVRAF
- 15291 posts since 8 Mar, 2005 from Utrecht, Holland
Some names from the past: WaveKnife, SampleRobot.
We are the KVR collective. Resistance is futile. You will be assimilated.
My MusicCalc is served over https!!
My MusicCalc is served over https!!
- KVRist
- 441 posts since 15 May, 2003 from R'lyeh
You're welcome..
https://www.bjoernbojahr.de/session-2-wav.html
Wavelab Pro is the only version that does auto-splitting (and it is still a rather confusing operation at that) so unless you want to pony up $500 or so for a license, don't bother.
https://www.bjoernbojahr.de/session-2-wav.html
Wavelab Pro is the only version that does auto-splitting (and it is still a rather confusing operation at that) so unless you want to pony up $500 or so for a license, don't bother.
- KVRist
- 276 posts since 12 Apr, 2010 from Bologna, Italy
viewtopic.php?p=8598351#p8598351
This guy replied to me some times ago, and i think his stuffs are good for you (i didn't use it myself 'cause i have too many short samples that the program ignores)
EDIT
Lol, i've just reinforced the previous post suggestions
Did'nt realized that was the same program, sorry
This guy replied to me some times ago, and i think his stuffs are good for you (i didn't use it myself 'cause i have too many short samples that the program ignores)
EDIT
Lol, i've just reinforced the previous post suggestions
Did'nt realized that was the same program, sorry
Ensoniq SQ1, Korg Wavestation A/D
- KVRAF
- 9453 posts since 17 Sep, 2002 from Gothenburg Sweden
Surely you can make Audacity do that?
-
- KVRist
- 106 posts since 12 May, 2006
Hi there,
a while ago I made a software for this purpose.
Look @ www.pulpoaudio.com , it's called SamplingSession.
Should do everything you described.
Cheers
Rudi
a while ago I made a software for this purpose.
Look @ www.pulpoaudio.com , it's called SamplingSession.
Should do everything you described.
Cheers
Rudi
- KVRist
- 494 posts since 9 Feb, 2019
I´d suggest MRecorder for and simply! record the drums individually with ist. You just have to hit record and stop afterwards. It´ll cut and name the filtes automatically.
And furthermore there are samplers (Halion, MPC, ...) with a slice mode that can be helpful. But at the end of the day Wavelab.
And furthermore there are samplers (Halion, MPC, ...) with a slice mode that can be helpful. But at the end of the day Wavelab.
-
- KVRist
- 239 posts since 5 May, 2020
Reaper is an inexpensive, full-featured DAW that has this function.
-
- KVRAF
- Topic Starter
- 4844 posts since 17 Aug, 2004
I revived the thread because I had to reread something and found some real gems.DukeRoodee wrote: ↑Thu Jun 01, 2023 1:12 pm Hi there,
a while ago I made a software for this purpose.
Look @ www.pulpoaudio.com , it's called SamplingSession.
Should do everything you described.
Cheers
Rudi
I just wanted to say again thank you, everyone! You are all awesome.
-
- KVRist
- 277 posts since 23 Feb, 2023
Cantabile Performer has VOX operation where it cuts sample when db drops to certain level, rinse/repeat. I have made many a sample lib this way especially good for sustain sounds without internal loop points>>>
-
- KVRist
- 239 posts since 5 May, 2020
I have custom python scripts that do this; it's nerdware command-line (and you have to have python installed.)
Look at jCutSamps.py in https://github.com/jlearman/jSfzTools . I was in the process of updating the documentation when my laptop hard drive died (ugh.)
My script assumes you have one audio file per velocity layer. That affects the layer part of the filenames. It works best when each velocity layer file is normalized. It does not normalize the chopped samples.
My script cuts and trims each sample, ignores any samples shorter than some duration (a constant in the code, IIRC), detects pitch, and names each sample file based on the detected pitch. It handles round robins (if multiple samples have the same pitch it names them sequentially.)
When trimming samples, it detects the note start based on a threshold (again, based on a constant in the code.) You can specify (constant in the code) how much audio to keep before this transition; in my experience it's best to keep this short (say, a few milliseconds.) It does a short fade-in so that the start of the sample is never a click. Using the first big transition helps keep samples phase-aligned, which helps for velocity crossfading.
My toolkit also has a mapper that builds the SFZ based on a small text control file and the chopped sample files. The documentation for this control file was what I was updating, so new features like automatically creating velocity crossfadesg isn't documented.
It's a bit fiddly to use, but does a pretty good job of avoiding lots of note-taking manual work needed when creating a large sampleset.
Alternatively, a lot of people use Reaper to do this. I don't know the details but you could google for it, and probably search this forum for tips.
Look at jCutSamps.py in https://github.com/jlearman/jSfzTools . I was in the process of updating the documentation when my laptop hard drive died (ugh.)
My script assumes you have one audio file per velocity layer. That affects the layer part of the filenames. It works best when each velocity layer file is normalized. It does not normalize the chopped samples.
My script cuts and trims each sample, ignores any samples shorter than some duration (a constant in the code, IIRC), detects pitch, and names each sample file based on the detected pitch. It handles round robins (if multiple samples have the same pitch it names them sequentially.)
When trimming samples, it detects the note start based on a threshold (again, based on a constant in the code.) You can specify (constant in the code) how much audio to keep before this transition; in my experience it's best to keep this short (say, a few milliseconds.) It does a short fade-in so that the start of the sample is never a click. Using the first big transition helps keep samples phase-aligned, which helps for velocity crossfading.
My toolkit also has a mapper that builds the SFZ based on a small text control file and the chopped sample files. The documentation for this control file was what I was updating, so new features like automatically creating velocity crossfadesg isn't documented.
It's a bit fiddly to use, but does a pretty good job of avoiding lots of note-taking manual work needed when creating a large sampleset.
Alternatively, a lot of people use Reaper to do this. I don't know the details but you could google for it, and probably search this forum for tips.