Skip to content

rvhns/octasox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCTASOX

This tool will ingest Octatrack slices from .ot files and generate sox command line arguments that chop the original sample accordingly.

The .ot file loading code is based on OctaChainer.

To compile, any C++ 11 compliant compiler should work.

mkdir build
cd build
cmake ..
make

Test this by running

./octasox path/to/otfile.ot

The tool will print lines that look like this:

AmnKC.wav AmnKC00.wav trim 126s =8872s

Passing this as arguments to sox will load the sample AmnKC.wav, discard everything outside the range 126...8872 (measured in samples, not seconds), and store the result in AmnKC00.wav. Similarly for the other lines.

To go ahead with chopping the samples, you can use xarg to build command lines:

./octasox path/to/otfile.ot | xargs -n5 sox

This will pipe all of the output into xargs, which takes chunks of five elements and passes them to the sox command.

About

Generate sox command lines from Octatrack slices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published