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

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] 8bit sound wav playing to a 16bit sound card...
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Thu Jun 12 2003 - 20:31:08 EEST


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Jun 12 2003 - 20:47:55 EEST