Search code examples
pythoncpcmflac

PCM data in array from flac file


I have a flac file and I need to analize its waveform, so I need to have the pcm data in an array. Is there some library which does this for me without converting the file with commandline tools? I can use both Python and C.


Solution

  • I suggest you use libFLAC to decode. http://flac.sourceforge.net/