Giter VIP home page Giter VIP logo

au's Introduction

au

au is a little script to make ffmpeg and sox 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 and sox (Linux users may need to install PHP 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

au's People

Contributors

jbroadway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.