File Exchange

image thumbnail

Vorbis flac audio encoding/decoding

version 1.0.0.0 (151 KB) by Alfredo Fernandez
lossless audio encoding/decoding

1 Download

Updated 23 Feb 2006

View License

Includes 2 functions to write and read FLAC Vorbis files. It works like the commands WAVWRITE and WAVREAD.

1.- Just unpack in the toolbox folder under the MATLAB directory.
2.- Set the MATLAB search path to include that folder.

This version was made in MATLAB for WINDOWS only.

Comments and Ratings (2)

tag_info =
Please Help:

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

stat_2 =

1

raw_data =

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

??? Error using ==> flacread at 55
Error while decodong file. File may be corrupted

Error in ==> ReadFile at 26
[fileData, sampleFrequency] = flacread(fileName);

Error in ==> AudioComp at 14
[fileData, sampleFrequency] = ReadFile('flc', 'bl.flac');

Ryuji Suzuki

I would like to see this for other platforms.

I generate a lot of probe signals in raw waveforms, and save them in WAV format for experiments. I also record the observation data in WAV format. However, my data are very sparse and it could use flac encoding to a great advantage in saving disk space.

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Fast FLAC reader

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor