[linux-audio-dev] 8bit sound wav playing to a 16bit sound card...

Steve Harris S.W.Harris at ecs.soton.ac.uk
Thu Jun 12 13:44:00 UTC 2003

On Thu, Jun 12, 2003 at 09:42:40AM -0700, Tim Hockin wrote:
> > I'm new to OSS Programming, and I'm attempting to play some 8bit wav files.
> > However OSS is telling me that my sound card will not play 8bit , only 16bit.
> > If I force it. The sound changes pitch, and is very fast. ( obviously ).
> Bit-depth has nothing to do with pitch.  If it sounds fast, it is because
> the file is at a lower sample rate.

Not neccesarily, when you pack two adjacent 8bit samples into a 16bit
sample you will get something that resembles the oroginal but distorted
and at twice the pitch.

- Steve

More information about the Linux-audio-dev mailing list