Any good audio file decoding lib?

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

Is there any file decoding library that supports wav, mp3 and aac file formats and that is not GPL? What are you using for file decoding?

I have found this too libs so far:
https://github.com/asantoni/libaudiodecoder
https://github.com/dr-soft/mini_al

Post

FFMPEG can be compiled with the LGPL license: https://ffmpeg.org/doxygen/4.1/md_LICENSE.html
~stratum~

Post

stratum wrote: Mon Dec 17, 2018 3:56 pm FFMPEG can be compiled with the LGPL license: https://ffmpeg.org/doxygen/4.1/md_LICENSE.html
Thanks Stratum. That lib is too heavy and LGPL is not the option too.

Post

Under such cases often the best option is to use what the operating system provides and you can find example code in the web.

Like https://github.com/asantoni/libaudiodecoder (didn't try).
~stratum~

Post

stratum wrote: Mon Dec 17, 2018 4:39 pm Under such cases often the best option is to use what the operating system provides and you can find example code in the web.
That has the downside that end users are going to be annoyed that the software won't then necessarily support the same formats on each platform. There may even be differences between OS versions. (For example Mac Os got native support for FLAC-files only in the recent versions.)

Post

https://github.com/mackron/dr_libs decodes WAV and MP3, but be sure to test compatibility with the zoo of WAV and MP3 files in the wild. (And send a PR if you can fix it!)

I don't know of a commercially free AAC decoder.
VCV Rack, the Eurorack simulator

Post

vortico wrote: Mon Dec 17, 2018 9:52 pm https://github.com/mackron/dr_libs decodes WAV and MP3, but be sure to test compatibility with the zoo of WAV and MP3 files in the wild. (And send a PR if you can fix it!)

I don't know of a commercially free AAC decoder.
Thanks. I will take a look!

Post Reply

Return to “DSP and Plugin Development”