Re: How to interpret WAV data?
- From: "Phil Frisbie, Jr." <phil@xxxxxxxxxxxx>
- Date: Wed, 18 May 2005 14:23:33 -0700
Iain wrote:
On Wed, 18 May 2005 18:42:59 +0200, Alessandro Angeli [MVP::DigitalMedia] wrote:
Iain wrote:
If you know that your data is 8 bit mono, it will be stored as a sequence of signed bytes.
UNSIGNED bytes, not signed :-)
If it were 16 bit stereo it would be stored as pairs of signed shorts.
Surely the values go +/- zero?
No. 8 bit PCM is unsigned, with 127 the 'zero' level.
So FF == -1 and so on. And if cast to a larger integer value the sign bit should be extended?
Iain
-- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com
.
- Follow-Ups:
- Re: How to interpret WAV data?
- From: Alessandro Angeli [MVP::DigitalMedia]
- Re: How to interpret WAV data?
- From: Peter Reichard
- Re: How to interpret WAV data?
- References:
- How to interpret WAV data?
- From: Peter Reichard
- Re: How to interpret WAV data?
- From: Iain
- Re: How to interpret WAV data?
- From: Alessandro Angeli [MVP::DigitalMedia]
- Re: How to interpret WAV data?
- From: Iain
- How to interpret WAV data?
- Prev by Date: Volume Control
- Next by Date: Parameq Effect Parameters
- Previous by thread: Re: How to interpret WAV data?
- Next by thread: Re: How to interpret WAV data?
- Index(es):