AudioHit is a Rust-based CLI (command-line interface aka terminal app) designed to batch process samples in many different ways in order to create better workflows for hardware and software samplers.
It can perform many different tasks such as:
- Process single or an entire folder of samples (including sub-folders)
- Automatically trimming and fading samples
- Split long recordings into separate files (aka a simple silent strip)
- Speed up or slow down samples
- Automatically create an Octatrack sample chain (concatenated wav + .ot file) with generated samples
- Create chains by selecting random files from folder
- Create equally-spaced chains
- Create transposed copies of a sample
- Add reference tone to sample
What’s cool about AudioHit is that many of these features can be used together. For example, it’s possible to split a single recording of multiple one-shots into separate files, automatically trim and fade each one of them, speed each one up by 4x, and group them back together into a single .wav file using the command:
audiohit --ot_file true --split true --speedup 4 --folder /path/to/folder
This can significantly speed up the process of preparing samples to use in samplers such as the Octatrack, MPC, Circuit, etc. It also has the side benefit of reducing RAM usage due to the automatic trimmming.
AudioHit currently only works with 44.1 / 16 / mono wav files (but it will auto-convert wav samples in other formats).
I wrote AudioHit for my personal use so it’s definitely not bug-free but I hope to keep improving it as I go.
I’m always open to suggestions as well!
- macOS (binaries for other OSes can be compiled by following the instructions on the repo)
Please refer to the GitHub repository for complete documentation.