If you have a flac binary, and also the popenw mex extension, this routine allows you to write flac (free lossless audio coder)-format files as a drop-in replacement for wavwrite, accepting all the same syntax.
You can get popenw at http://www.mathworks.com/matlabcentral/fileexchange/13851
You can get the flac binary at
Dan Ellis (2021). flacwrite - write out a FLAC-encoded audio file using flac (https://www.mathworks.com/matlabcentral/fileexchange/30760-flacwrite-write-out-a-flac-encoded-audio-file-using-flac), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Fast FLAC reader
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!