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

Derrick derrick at logicalsi.com
Thu Jun 12 17:28:00 UTC 2003


I'm playing the file at the Sample rate that is in the header of the wav 
file.. when I play the file in gnome recorder it reports a Sample Rate of 
11025, My program also reads it as 11025 and sets the  SNDCTL_DSP_SPEED 
accordingly... 

Let me restate.. The sound that does play is so fast that it sounds almost 
like noise. If you didn't know that the sound bite actually was.



On Thursday 12 June 2003 12:42, 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.

-- 
What's another word for "thesaurus"?
		-- Steven Wright




More information about the Linux-audio-dev mailing list