9 posts / 0 new
Last post
mackemint
mackemint's picture
Offline
Joined: 01/05/2015 - 13:29
Sample slicing/zipping tool for PCMsynth

 

I wanted a simple sample slicing tool that's easy to use and couldn't find anything.

This script will take an audio file, chop it up into the amount of slices you want, name them to be easily imported and mapped chromatically in PCM synth. Add a fourth argument if you want to preview the files before creating a .zip package for importing in PCM synth.

 

This was a quick and dirty hack, didn't spend any time on error handling and I'm sure there are bugs if you try hard to find them. Usage examples in the script:

https://github.com/mackemint/sample_slicer_caustic3

edit:updated link to repo

El Cjadaldiaul
El Cjadaldiaul's picture
Offline
Joined: 05/29/2017 - 09:37
nice one :-)

nice one :-)

I use this super simple script on Linux (which basically just calls sox, that you have to have installed of course) to do more or less the same:

https://gist.github.com/dada/9fcd1839edaacc42d7a492e06d317893

it's totally brutal and not very user friendly, but works for me. the idea is to split the file, given the BPM, in slices of exactly 8 bars. why 8 bars? because they're easy to create as patterns and use in the sequencer.

hope this helps.

 

cheers,

Aldo

mackemint
mackemint's picture
Offline
Joined: 01/05/2015 - 13:29
Cool, thanks!

Cool, thanks!

With my script you can set the amount of slices, in case you want every drum hit of a drum loop for example. It also zips the files and names them for easy import as a preset in PCMsynth.

Found a bug already- starting octave was 0, which ended up not assigning the first 12 slices to notes on the keyboard. Fixed now  

I'll be pushing updates here in the future, probably will throw in sample packs there too as it's easy to download from Github and import via FTP through the app FE File Explorer:

https://github.com/mackemint/sample_slicer_caustic3

D.J.FAWX
D.J.FAWX's picture
Offline
Joined: 09/01/2018 - 03:28
I know nothing about using

I know nothing about using any of this stuff....I wish I did....I'm an avid android user and wondering how to apply this seems super useful

mackemint
mackemint's picture
Offline
Joined: 01/05/2015 - 13:29
If you want to make your own

If you want to make your own sliced breaks, all you need to do is install python 3 (internet has plenty of instructions for the OS of your preference=)
I've written examples in the readme if you're terminal-curious. If you're not comfortable with getting used to running commands in Terminal, please feel free to download the packages I've already added. If you're on Android, you can go to my repo and download the zips an place in your Caustic folder on your device :)

mike
mike's picture
Offline
Joined: 12/18/2011 - 15:53
Cool. :)

Cool. :)

pquenin
pquenin's picture
Offline
Joined: 07/30/2013 - 17:47
I cant't believe it. The

I cant't believe it. The script is very short. I had no idea that you can do that so easily with python.

Can you add GUI to python scripts ?

Thank you for this tool, it's great.

D.J.FAWX
D.J.FAWX's picture
Offline
Joined: 09/01/2018 - 03:28
Cool yes I'm on android I

Cool yes I'm on android I would love to try that whats a /your repo

mackemint
mackemint's picture
Offline
Joined: 01/05/2015 - 13:29
@pquenin

@pquenin
Yeah, Python is good stuff =)
GUI is fully possible, feel free to fork and add any functionality you want. ;)

@D.J.FAWX Link in original post.