3 ms·
This is pretty neat. One frustrating thing I found while doing some audio programming recently is how hard it was working with different audio formats. Most of
by jeffreyrogers 9y ago
This is pretty neat. One frustrating thing I found while doing some audio programming recently is how hard it was working with different audio formats. Most of the libraries I found for doing so were GPL or required a commercial license.
- Atrix256 9y agoDoes this source code help you much with that? It only deals with wave files but can read / write 8, 16, 24 or 32 bit wave files, at whatever sample rate, with however many channels. I really wish someone would make a header only C++ audio library, that would be soooo nice.
- jeffreyrogers 9y agoWave files are pretty easy to deal with because the format is simple and the data isn't usually compressed. It's all the other formats that make this hard. Actually, it's probably not that hard, but parsing file formats isn't really a fun programming task (for me at least).
- radarsat1 9y agolibsndfile is LGPL
- jeffreyrogers 9y agoThanks. I actually came across libsndfile, but for some reason thought it was GPL instead of LGPL. Ideally there'd be a BSD licensed library, but LGPL is usable.