Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jbroadway/au
Easy audio manipulation on the command line.
https://github.com/jbroadway/au
audio conversion ffmpeg looping sox
Last synced: 3 months ago
JSON representation
Easy audio manipulation on the command line.
- Host: GitHub
- URL: https://github.com/jbroadway/au
- Owner: jbroadway
- License: mit
- Created: 2014-01-13T20:58:28.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-11-22T01:14:48.000Z (about 5 years ago)
- Last Synced: 2023-04-10T08:42:46.474Z (almost 2 years ago)
- Topics: audio, conversion, ffmpeg, looping, sox
- Language: PHP
- Homepage: http://jbroadway.github.io/au
- Size: 34.2 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# au
[au](http://jbroadway.github.io/au/) is a little script to make [ffmpeg](http://www.ffmpeg.org/) and [sox](http://sox.sourceforge.net/) easier to use for common audio manipulations like cutting to a specific number of beats at a set BPM, volume adjustments, joining files together, and converting between file formats or between mono and stereo. I made this to automate the job of preparing files for various audio hardware that I use in my live shows.
### Setup
1. install [ffmpeg](http://www.ffmpeg.org/) and [sox](http://sox.sourceforge.net/) (Linux users may need to install [PHP](http://php.net/) too)
2. save the `au` file to your `~/bin` folder
3. chmod the file to be executable:chmod u+x ~/bin/au
You're all set, now run:
au help
### Available commands
au cut input.wav 120 16 ouput.wav # cut file to specified bpm*beats for making loops
au join file1.wav file2.wav [...file3.wav] output.wav # join files together to make one audio file
au pad input.wav end 2.0 padded.wav # pad start or end of file with silence
au vol input.wav 0.5 output.wav # adjust the volume of a file
au mp3 input.wav output.mp3 # convert to an mp3 of the same name
au wav input.aif output.wav # convert to a wav of the same name
au mono stereo.wav mono.wav # convert stereo to mono
au stereo mono.wav stereo.wav # convert mono to stereo### Examples
# cut verses.wav to 4 bars at 132bpm
au cut verses.wav 132 16 verses-cut.wav
# convert aif to wav (saves to verses.wav)
au wav verses.aif
# halve the volume of a clip (overwrites verses.aif)
au vol verses.aif 0.5
# join some files together as song.wav
au join verse.wav chorus.wav verse.wav song.wav
# pad a file with 2 seconds of silence at the end
au pad song.wav end 2.0 padded.wav### Author
Aband*nthecar / Johnny Broadway
http://www.abandonthecar.com
http://www.johnnybroadway.com