Tuesday, 22 October 2019

With Python, how can I convert a flac stream to a wav stream?

I know that I can use PyAudio to convert a .flac file to a .wav file. But I'm wondering if I can somehow do it as a stream and not have to save the .wav file?

Currently, I have:

stream = open('84-121123-0000.flac', 'rb')

But I want to convert that stream to a wav file. Any help would be greatly appreciated. Just to be clear, I don't want to save a .wav file. Instead, I want to keep a stream of the wav converted content.



from With Python, how can I convert a flac stream to a wav stream?

No comments:

Post a Comment