4.0

4.0 | 2 ratings Rate this file 9 Downloads (last 30 days) File Size: 279.57 KB File ID: #10061

Vorbis ogg audio encoding/decoding

by Alfredo Fernandez

 

19 Feb 2006 (Updated 21 Feb 2006)

ogg audio encoding/decoding

| Watch this File

File Information
Description

Includes 2 functions to write and read OGG 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.

MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
25 Sep 2006 Joris Gillis

Oggread fails with exception "Error while decodong file. File may be corrupted" when the 'install' folder contains spaces.

Add double quotes on lines 41 and 64 to solve this problem.

02 Dec 2009 Peter O'Connor

I was also getting a "Error while decodong file. File may be corrupted", but the quotes thing wasn't the issue. I just commented out the error message on line 66 and now it works like a charm.

14 Dec 2009 Pedro Velez

I keep getting this message

??? Error using ==> wavread
Cannot open file.

Error in ==> oggread at 68
[Y,FS,NBITS] = wavread(tmpfile); % Load the data and delete temporary file

I think that it has to do something with an error creating the temp.wav file

16 Dec 2011 Maxime

Hi all,

It works fine with mono files.
However, it seems that there is a problem with stereo files.

I have data collected from a stereo WAV file and stored in a matrix with two columns. But, the created OGG file is not readable (5ko).

Any solutions?

Thanks

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
audio processing Alfredo Fernandez 22 Oct 2008 08:16:12
video processing Alfredo Fernandez 22 Oct 2008 08:16:12
ogg audio encodingdecoding Alfredo Fernandez 22 Oct 2008 08:16:12
ogg audio encodingdecoding Falke 20 Oct 2011 10:34:35

Contact us at files@mathworks.com