home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.sb.programmer
- Path: sparky!uunet!nevada.edu!tamsun.tamu.edu!scm3775
- From: scm3775@tamsun.tamu.edu (Sean Malloy)
- Subject: Re: HELP: .wav or .voc file formats
- Message-ID: <1992Nov9.090603.11706@tamsun.tamu.edu>
- Keywords: WAVE format
- Organization: Texas A&M University, College Station
- References: <1dk4poINNqlv@shrike.und.ac.za>
- Date: Mon, 9 Nov 1992 09:06:03 GMT
- Lines: 42
-
- This is from MediaVision's BBS, so I'm not responsible for the accuracy.
- MediaVision has, by the way, started charging $15 for it's developer's
- kit, which is still a damn sight better than the $75 that Creative Lab's
- wants.
-
- The MediaVision people was also more willing to help me than Creative Labs
- was. I know who I'm buying my next sound board from...
-
-
-
-
- //----====< ".WAV" file format >====----
- //
- // 4 bytes 'RIFF'
- // 4 bytes <length>
- // 4 bytes 'WAVE'
- // 4 bytes 'fmt '
- // 4 bytes <length> ; 10h - length of 'data' block
- // 2 bytes 01 ; format tag
- // 2 bytes 01 ; channels (1=mono, 2=stereo)
- // 4 bytes xxxx ; samples per second
- // 4 bytes xxxx ; average samples per second
- // 2 bytes 01 ; block alignment
- // 2 bytes 08 ; bits per sample
- // 4 bytes 'data'
- // 4 bytes <length>
- // bytes <sample data>
- //
- // Note: the sample data must end on an even byte boundary.
- // All numeric data fields are in the Intel format
- // of low-high byte ordering.
- //
-
- Hope this helps...
-
- -Sean
-
-
-
- --
-
- Sean C. Malloy - Texas A&M University - scm@tamu.edu
-