Interweave slices of audio files together using sox
Go to file
mmcwilliams 4d6d4eabd6 Update README.md to contain relevant information about the project, matching frameloom. 2019-04-02 13:15:01 -04:00
src Fix references to "frame" from frameloom. Replace with "slice" in comments and variable names. This will help with the cognitive load as the projects diverge. 2019-04-02 13:14:28 -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 Update README.md to contain relevant information about the project, matching frameloom. 2019-04-02 13:15:01 -04:00
audioloom Fix references to "frame" from frameloom. Replace with "slice" in comments and variable names. This will help with the cognitive load as the projects diverge. 2019-04-02 13:14:28 -04:00
build.js Features cloned from https://github.com/sixteenmillimeter/frameloom.git. 2019-01-04 01:07:30 -05:00
package-lock.json Converted script to typescript. Replaced minimalistic shuffle function with a more readable fisher-yates implimentation (same algo, expanded syntax) 2019-03-28 10:05:09 -04:00
package.json Include ES2017 as only lib 2019-04-02 12:54:17 -04:00

README.md

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

  • Fix alternate sort pattern features
  • Check for sox before executing
  • Generate example audiofiles automatically
  • Publish example audio files