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

Alexander Ehlert alexander.ehlert at uni-tuebingen.de
Fri Jun 13 06:53:00 UTC 2003


Or you can use glame to import it and resample it to 44kHz, 16bit

Cheers, Alex

Am Donnerstag, 12.06.03, um 23:11 Uhr (Europe/Berlin) schrieb Derrick:

> 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