Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] speaker

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

[SOLVED] speaker

#1 Post by shogun1234 »

I need to use microphone/ speaker recently but when testing with

Code: Select all

arecord -d 10 /tmp/test-mic.wav

But play the sound with following command

Code: Select all

aplay /tmp/test-mic.wav
doesn't find any sound is recorded.

Also pavucontrol and alsamixer show the setting like https://imgur.com/a/xcJzVKA

That looks all fine to me. But I just can't get microphone/ speaker working. What else should I check for this problem?

My sound card info is as below

Code: Select all

$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0x1ff3018000 irq 137

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX8200 Analog [CX8200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Also

Code: Select all

$ uname -r 
4.19.0-4-amd64
and

Code: Select all

$cat /etc/debian_version 
buster/sid
Last edited by shogun1234 on 2019-05-13 17:47, edited 1 time in total.

tynman
Posts: 131
Joined: 2016-05-03 19:48
Location: British Columbia, Canada
Been thanked: 1 time

Re: speaker

#2 Post by tynman »

You can test the output part of a computer's audio setup without a microphone. But it's more difficult to test the microphone input part of the setup without the speaker part working first. So test the output setup first.

Have you verified the speaker is working with the computer?

One way to do that would be to run the speaker-test command.

Code: Select all

$ speaker-test
Without any parameters, it defaults to playing pink noise through only one of the speakers.

shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

Re: speaker

#3 Post by shogun1234 »

Thanks. Test with command

Code: Select all

speaker-test
I can hear noisy coming through headset. Also

Code: Select all

speaker-test -t wav -c 6
produces clearly front left, front right, center sound and so on.

But is there any ways to test my own voice? One problem is when
skype was installed testing using skype's call test can't hear my own
voice, which got recorded through speaker. So would like to check
if it's my problem (misconfiguration or something) or skype's issue.

Thanks.

shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

Re: speaker

#4 Post by shogun1234 »

Oh I seems to find the solution

Basically to use the commands (https://askubuntu.com/questions/123798/ ... with-a-mic#)

Code: Select all

pactl load-module module-loopback latency_msec=1
With this command I can hear the sound when typing on my own keyboard. To stop this command, execute this command

Code: Select all

pactl unload-module module-loopback
Testing to hear my own voice

Code: Select all

arecord -f cd - | aplay -

This does exactly echo back my own voice. I suppose my problem is solved now. Thanks!

Post Reply