A simple audio processing pipeline built around SoX and its python API.
229
A simple audio processing pipeline built around SoX and its python API.
Note: Only some of the SoX functionality is exposed here. If you want more functionality you can request it in Issues, or contribute. Adding a new transform is fairly easy: (1) copy an existing transform in the src/audio/transforms directory, (2) modify the copied class per pysox documentation (https://pysox.readthedocs.io/en/latest/api.html#) for whatever transform you want to add, (3) add a hydration function to src/audio/audio_factory.py, (4) add a working test to test-workspace.
Clone this repo and navigate into the project directory
To get a feel for how different transforms affect your sounds you can process the test samples by running the command below.
docker run \
-v $(pwd)/test-workspace:/workspace \
spiridonovpolytechnic/audio-pipe:latest
Put your input audio files in the workspace directory
Write your audio pipeline recipes (check test-workspace directory for some examples)
Run the container
docker run \
-v $(pwd)/workspace:/workspace \
spiridonovpolytechnic/audio-pipe:latest
docker build -t audio_pipe .
docker run -v $(pwd)/test-workspace:/workspace audio_pipe
Content type
Image
Digest
Size
434.5 MB
Last updated
over 5 years ago
docker pull spiridonovpolytechnic/audio-pipe