Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aacc --with-opus
Project: Aspen Dental - A Taste of the Future Landing Page microsite | |
Url: https://www.aspendental.com/promotions/a-taste-of-the-future?ref=ATOFHP | |
Role: Front-End Developer | |
Project: Nature’s Recipe - Make it Real campaign microsite | |
Url: http://makeitreal.naturesrecipe.com/ | |
Role: Front-End Developer, Technical Lead | |
var async = require('async'); | |
var lame = require('lame'); | |
var fs = require('fs'); | |
var Speaker = require('speaker'); | |
var volume = require("pcm-volume"); | |
var audioOptions = { | |
channels: 2, | |
bitDepth: 16, | |
sampleRate: 44100, |