Interweave slices of audio files together using sox
Go to file
Matt McWilliams c113f79450 Add image to audioloom 2025-02-28 00:22:15 -05:00
img Add image to audioloom 2025-02-28 00:22:15 -05:00
src Add altSort method for alternate patterns other than 1:1. AAAND check for sox before executing. 2019-05-31 17:46:24 -04:00
.gitignore Features cloned from https://github.com/sixteenmillimeter/frameloom.git. 2019-01-04 01:07:30 -05:00
LICENSE Initial commit 2019-01-03 21:25:37 -05:00
README.md Add image to audioloom 2025-02-28 00:22:15 -05:00
audioloom Add altSort method for alternate patterns other than 1:1. AAAND check for sox before executing. 2019-05-31 17:46:24 -04:00
build.js Features cloned from https://github.com/sixteenmillimeter/frameloom.git. 2019-01-04 01:07:30 -05:00
package-lock.json Add altSort method for alternate patterns other than 1:1. AAAND check for sox before executing. 2019-05-31 17:46:24 -04:00
package.json Add altSort method for alternate patterns other than 1:1. AAAND check for sox before executing. 2019-05-31 17:46:24 -04:00

README.md

audioloom

Image showing waveforms of two tracks interweaved together with audioloom

Interweave slices of audio files together using sox


Requirements

Node.js 0.8.x +

This script requires node.js as the runtime and sox to export and stitch audio back together.

Installation instructions for sox here: https://sourceforge.net/projects/sox/files/sox/

Installation

git clone https://github.com/sixteenmillimeter/audioloom.git
cd audioloom
npm install 
chmod +x audioloom

Basic Usage

./audioloom -i /path/to/audio1:/path/to/audio2 -o /path/to/output

Options

Run ./audioloom -h to display help screen.

Usage: audioloom [options]

Options:
  -V, --version            output the version number
  -i, --input [files]      Specify input audio files with paths seperated by colon
  -o, --output [file]      Specify output path of audio file
  -p, --pattern [pattern]  Specify a pattern for the alternating 1:1 is standard
  -r, --realtime           Specify if audio files should preserve realtime speed
  -t, --tmp [dir]          Specify tmp directory for exporting slices
  -m, --ms [ms]            Specify length of slices using length in milliseconds, will default to 1/24 sec
  -R, --random             Randomize slices. Ignores pattern if included
  -h, --help               output usage information

TODO

  • Generate example audiofiles automatically
  • Publish example audio files