An openFrameworks addon for m4a/aac, mp3, wav, and other file loading.
Forks
Forks pushed to more recently than kylemcdonald/ofxAudioDecoder itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.
timredfern/ofxAudioDecoder
KANA10SKY/ofxAudioDecoder
leozimmerman/ofxAudioDecoder
thehandcoded/ofxAudioDecoder
markkorput/ofxAudioDecoder
GordeyChernyy/ofxAudioDecoder
andreasmuller/ofxAudioDecoder
Branches ahead of master
These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.
README
ofxAudioDecoder is an openFrameworks wrapper for libaudiodecoder
On OSX it can load .mp3, .m4a, .wav, and some other formats. Instead of being used for playback, it's meant for analysis. Because libaudiodecoder also supports Windows, with the addition of the Windows-specific sources and the creation of a Windows-specific project file ofxAudioDecoder should also run on windows.
Example
The example project loads a file
demo.mp3 from the data/ folder and draws the left and right channels into an ofMesh. You may drag and drop a file onto the OF app to load it and render the waveform.
ofxAddons