[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: II.Sound and .wav files
Simon Williams <email@luddite.ca> wrote:
> Sounds like stereo or 16-bit files...
Also, some .wav files are compressed which sounds pretty funky in
II.Sound.
The header on a .wav file is 44 bytes in length and contains the
following pertinent info:
00 - 52 49 46 46 (RIFF)
08 - 57 41 56 45 (WAVE)
...
14 - COMPRESSION (01 if uncompressed)
16 - # CHANNELS
18 - SAMPLE RATE (low byte first)
...
22 - BIT RATE
2C - START AUDIO DATA
Some time ago I built a quick and dirty Applesoft program that stripped
the headers and reduced stereo to mono, though I had some problems going
from 16-bit to 8-bit, so I never quite finished it.
-s