home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / sb / programm / 429 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.6 KB  |  54 lines

  1. Newsgroups: alt.sb.programmer
  2. Path: sparky!uunet!nevada.edu!tamsun.tamu.edu!scm3775
  3. From: scm3775@tamsun.tamu.edu (Sean Malloy)
  4. Subject: Re: HELP: .wav or .voc file formats
  5. Message-ID: <1992Nov9.090603.11706@tamsun.tamu.edu>
  6. Keywords: WAVE format
  7. Organization: Texas A&M University, College Station
  8. References: <1dk4poINNqlv@shrike.und.ac.za>
  9. Date: Mon, 9 Nov 1992 09:06:03 GMT
  10. Lines: 42
  11.  
  12. This is from MediaVision's BBS, so I'm not responsible for the accuracy.
  13. MediaVision has, by the way, started charging $15 for it's developer's
  14. kit, which is still a damn sight better than the $75 that Creative Lab's
  15. wants.
  16.  
  17. The MediaVision people was also more willing to help me than Creative Labs
  18. was.  I know who I'm buying my next sound board from...
  19.  
  20.  
  21.  
  22.     
  23.     //----====< ".WAV" file format >====----
  24.     //
  25.     //     4 bytes 'RIFF'
  26.     //     4 bytes <length>
  27.     //     4 bytes 'WAVE'
  28.     //     4 bytes 'fmt '
  29.     //     4 bytes  <length>        ; 10h - length of 'data' block
  30.     //     2 bytes  01         ; format tag
  31.     //     2 bytes  01         ; channels (1=mono, 2=stereo)
  32.     //     4 bytes  xxxx            ; samples per second
  33.     //     4 bytes  xxxx            ; average samples per second
  34.     //     2 bytes  01         ; block alignment
  35.     //     2 bytes  08         ; bits per sample
  36.     //     4 bytes 'data'
  37.     //     4 bytes <length>
  38.     //       bytes <sample data>
  39.     //
  40.     //     Note: the sample data must end on an even byte boundary.
  41.     //           All numeric data fields are in the Intel format
  42.     //           of low-high byte ordering.
  43.     //
  44.  
  45. Hope this helps...
  46.  
  47. -Sean
  48.  
  49.  
  50.  
  51. -- 
  52.  
  53.   Sean C. Malloy  -  Texas A&M University  -  scm@tamu.edu
  54.