Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

reading a RIFF wav file 16 tracks with matlab

79 views
Skip to first unread message

João Rodrigues

unread,
Jan 24, 2003, 6:27:03 AM1/24/03
to
Braguy,


RIFF wave files are composed of several parts called "chunks". I
believe that Matlab's wavread only reads the 'fmt' chunk which
contains the sampling rate, number of chennels, etc; and the 'data'
chunk which contains the actual samples. The calibration factors you
mention are probably stored in a separate chunk, possibly between the
'fmt' and 'data' chunks. You'll have to find out how these are stored
and change a copy of wavread.m to extract that information.


There are good documents about the WAVE and other audio file formats
on the web; try a google search. I don't recall ever seeing a
descrition of a calibration factors chunk though, it may not be a
standard chunk, but proprietary to some program you use. In that case
you'll have to look at a couple of files created with different
calibration factors to figure it out.


Tell me if you need some more help.


Good luck,


João


braguy cyril wrote:
>
>
> Hello,
>
> I try to read a RIFF waf file with matlab.
>
> wavread function works to read my files, but it doesn t read the
> calibration factors of the file to put the good scale on tracks...
>
> has anybody help ??
>

braguy cyril

unread,
Jan 24, 2003, 6:08:02 AM1/24/03
to
0 new messages