Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

recording and noise

0 views
Skip to first unread message

antonio

unread,
May 8, 2008, 12:43:22 AM5/8/08
to
Hi, i have a problem using audio on linux

using this command:

cat < /dev/dsp > out

and then

cat < out > /dev/dsp

I obtain a very bad-quality sound with a lot of noise in background...
Using windows, this doesn't happened.

but using a prerecorded one, like

cat < /usr/share/sounds/ekiga/newmessage.wav > /dev/dsp

I obtain a perfect output.

dmesg | grep -i sound; dmesg | grep -i audio
does not output anything.


My PC is Compaq Armada
motherboard: Gamila/Giovani/Neon series
vendor: MICRO-STAR INTERNATIONAL CO., LTD

any idea?
thanks

Hactar

unread,
May 8, 2008, 3:07:41 AM5/8/08
to
In article <482284eb$0$35966$4faf...@reader2.news.tin.it>,

antonio <x...@xxx.xx> wrote:
> Hi, i have a problem using audio on linux
>
> using this command:
>
> cat < /dev/dsp > out
>
> and then
>
> cat < out > /dev/dsp
>
> I obtain a very bad-quality sound with a lot of noise in background...

Are you sure that recording and playback use the same default
parameters?

Tried using arecord and aplay?

--
-eben QebWe...@vTerYizUonI.nOetP http://royalty.mine.nu:81
"God does not play dice" -- Einstein
"Not only does God play dice, he sometimes throws
them where they can't be seen." -- Stephen Hawking

antonio

unread,
May 8, 2008, 4:41:19 AM5/8/08
to
>> I obtain a very bad-quality sound with a lot of noise in background...
>
> Are you sure that recording and playback use the same default
> parameters?
>
> Tried using arecord and aplay?
>

Yes! using arecord-aplay, and tuning its parameters, quality improves a lot!

thanks... but, can I get the same result using cat?
I mean.. can I set better quality as default?

(my /dev/dsp-defaults is 8000fps... very useless!)

Hactar

unread,
May 8, 2008, 2:07:43 PM5/8/08
to
In article <4822bcb0$0$29596$4faf...@reader1.news.tin.it>,

Might be modprobe-time (check /etc/modprobe.d/*) or compile-time setting
(check /lib/modules/`uname -r`/build/.config) settings. Dunno, never
tried to do that.

--
-eben QebWe...@vTerYizUonI.nOetP http://royalty.mine.nu:81

An ASCII character walks into a bar and orders a double. "Having a bad
day?" asks the barman. "Yeah, I have a parity error," replies the ASCII
chrcter. The barman says, "Yeah, I thought you looked a bit off." - Skud

0 new messages