Re: [Alsa-user] No sound in bash
Brought to you by:
perex
From: <li...@ph...> - 2006-02-01 11:19:22
|
mi...@al... writes: > On alsamixer the channels Master PCM Wave are open > Nor > 'cat musik.wav > /dev/audio' > neither > 'cat musik.wav > /dev/dsp' > sounds like music. It's like a datadisk in a CD-Player. Of course, this is not expected to work. /dev/dsp does not understand WAV Format you should convert it to raw with the correct format and rate. AFAIK /dev/dsp uses a default format of 8bit unsigned linear (I dont know the correct rate). Or try something like (using sox) sox musik.wav -t ossdsp /dev/dsp Or best, try aplay which uses native ALSA Transfer. Regards, Matthias |