0.1.1 • Published 7 years ago

export-web-audio v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

export-web-audio

Export clean samples to avoid crackling sounds with the WebAudioAPI on iOS

Requirements

  • Node version >= 4
  • npm cersion >= 2
  • ffmpeg CLI installed
    • On OSX you can use brew to install it easily with brew install ffmpeg

CLI Usage

installation

npm install -g export-web-audio

usage

export-web-audio
export-web-audio INPUT
export-web-audio INPUT -o <output>
export-web-audio INPUT -b <bitrate> --quiet --overwrite

Options:
  -h, --help        Show this screen.
  -o, --output      Output file or directory
  -b, --bitrate     Encoding bitrate (default: 128kbps)
  -q, --quiet       Suppress log messages
  -y, --overwrite   Overwrite output files if they already exist

Node.js Usage

installation

npm install -S export-web-audio

usage

var exportWebAudio = require('export-web-audio')
exportWebAudio(options)

options

  • options.input

    • Input file or directory
    • default process.cwd()
  • options.output

    • Output file or directory
    • default process.cwd()
  • options.bitrate

    • Set the encoding bitrate
    • default 128
  • options.overwrite

    • Overwrite output files if they already exist
    • default false
  • options.quiet

    • Don't display any log messages
    • default false

License

MIT.