Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a USB microphone that I can chat on Skype, record sound etc. But how can I make it so that when my mic is on and I speak, Ι hear it in speakers live without having to record my voice first and then play it back? What apps do I need or where can I enable this option?

I'm running Ubuntu 10.10

share|improve this question
1  
One thing to consider is that depending on your soundcard you might get latency (a slight delay between your speaking and the sound coming through your headphones). This is very disconcerting and is due to the processing and converting from Analog to Digital then back to Analog. I have heard that in Ubuntu you might need to install Jack audio libraries to reduce latency. superuser.com/questions/87571/… –  Colin Matheson Apr 20 '12 at 18:29
    
ok, but how do I get the sound coming out in first place? –  Martin Zeltin Apr 20 '12 at 18:30

3 Answers 3

Here is a solution that I've tested with Pulse Audio on Ubuntu 12.04.

  • Install PulseAudio Volume Control (pavucontrol)

  • Now we will route your microphone to your speakers. Do this by typing pactl load-module module-loopback latency_msec=1 at the shell prompt.

  • On the Recording tab of pavucontrol, you can show all streams (combobox at the bottom) and then configure which microphone (if you have more than one) should loopback into the built-in analog stereo

share|improve this answer
2  
The solution works fine, but how can I undo this setting? –  Ionică Bizău Dec 19 '13 at 11:31
1  
To undo it see this answer. –  Gramic Feb 8 at 9:43
    
When I do this sound comes out of the speakers, but it is only static, and no voice if I speak into the mic. Any ideas? I'm on 14.04 –  andrewmh20 Jun 10 at 17:07

You can do it with jackd and qjackctl.

The program jackd is an audio sound server daemon for Linux, and its counterpart qjackctl is a simple user interface that let you handle JACK audio server. From this you can virtually connect the output of your mic to your speakers.

You can install them from you terminal with:

sudo apt-get install jackd qjackctl

After installing it, and running qjackctl the connections mentioned will looks like the following screenshot.

qjackctl app in action

Note, I am a professional audio editor, I and use it each week recordings sesions.

HTH.

share|improve this answer
3  
what do I do if there's nothing under connections there.... I don't have that system - capture - playback thing.... there's nothing there.... –  Martin Zeltin Apr 21 '12 at 4:13
    
I think it's not working because i have a usb mic... –  Martin Zeltin Apr 21 '12 at 4:30
    
Strange... when you started qjackctl, dit it started without complaining? –  Rubens Mariuzzo Apr 21 '12 at 19:29
  1. First install PulseAudio Volume Control/pavucontrol.

    Either install via Software Manager.

    Or run this below command in terminal:

    sudo apt-get install pavucontrol
    
  2. To start Mic to Speaker working, run below command in terminal.

    pactl load-module module-loopback latency_msec=1
    
  3. To stop the same, run below command in terminal.

    pactl unload-module $(pactl list short modules | awk '$2 =="module-loopback" { print $1 }' - )
    
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.