Page 1 of 1

FLAC (Free Lossless Audio Codec,) WAV, MP3

Posted: Tue Nov 17, 2020 2:21 pm
by stefan.erni
Hi Ben

With Flowcode8 it is comfortable and easy to write wav files.
Would it also be possible to write or read FLAC files in the next version of FC?
FlAC files are compressed audio files but not like MP3.
The FLAC files are lossless and the codecs are open source. The practical thing for me, is that MATLAB already supports this and Audacity too. So a FLAC File file is about 5times smaller than a WAV File.
Can You have a look?

regards

Stefan

https://xiph.org/flac/developers.html

https://en.wikipedia.org/wiki/List_of_h ... ports_FLAC

Re: FLAC (Free Lossless Audio Codec,) WAV, MP3

Posted: Wed Nov 18, 2020 3:19 pm
by Benj
Hi Stefan,

I've had a look for you and it looks like it might be possible, the current blocking factor is the on the fly compression and decompression. I've not quite found out how this is done yet but it looks like all the information should be there so I'll try and keep chipping away at it.

Re: FLAC (Free Lossless Audio Codec,) WAV, MP3

Posted: Thu Nov 19, 2020 6:24 pm
by stefan.erni
Thank you Ben, this is a very good information.
a small wish.
The DSP components are a huge advantage of Flowcode.
I used the high and low pass filter DSP components. For 8 channels at the same time. And that works without any problems. Maybe the FLAC codec could be built in there? And pull a thread to the FAT with a connecting arrow?
I hope the FLAC Codec can also be used for sending / receiving, for example via Bluetooth.
I am always ready to test it....
regards

Stefan