What's the current recommended way to read and write audio files?
I don't need to play it on the speakers or deal with anything
real time - just read a file's data into an array, fiddle with
it, and write it out to a file.
I found some other threads about audio files, but none recent,
mentio
COn Friday, 7 November 2014 at 02:58:15 UTC, Daren Scot Wilson
wrote:
What's the current recommended way to read and write audio
files?
I don't need to play it on the speakers or deal with anything
real time - just read a file's data into an array, fiddle with
it, and write it out to a file.
On Friday, 7 November 2014 at 11:55:16 UTC, ponce wrote:
Pretty sure libsndfile can read .wav, .au, .ogg but not mp3
No commercial usage unless you pay a licence.
https://github.com/p0nce/DerelictSndFile.git
Not sure about the others, but you can use sndfile in a
commercial project for free a