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
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 running the following command:
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
To stop it running, run:
Simple solution
Just use:
If you wanna play while saving:
First install PulseAudio Volume Control/pavucontrol.
Either install via Software Manager.
Or run this below command in terminal:
To start Mic to Speaker working, run below command in terminal.
To stop the same, run below command in terminal.
I've packaged up other people's answers into 'listen', a Bash script. Run this to listen to your mic input. It sleeps forever. Kill it (e.g. Ctrl-C) to stop listening.
You can do it with
jackd
andqjackctl
.The program
jackd
is an audio sound server daemon for Linux, and its counterpartqjackctl
is a simple user interface that lets 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:
After installing it and running
qjackctl
, the connections mentioned will look like the following screenshot:Note, I am a professional audio editor and use it each week recordings sessions.
Just an update for 2018 if you use gnome. There's a gnome extension that you can use to achieve just that. Here is the link in case anyone wants to try it out https://extensions.gnome.org/extension/954/pulseaudio-loopback-device/
You can use audacity to amplify your voice by "playback while recording" feature. go to edit>preferences>recording> check software playthrough.
Mixxx is awesome! I'm using it on Ubuntu (Budgie) 18.04. Quick setup, just turn it on, set up your hardware (I only had to set up the input device) and turn on the mic. You're up and running in no time with no latency, plus the ability to do tons more if you want. I dowloaded it from the software store.
You can also use ffplay (part of ffmpeg) e.g. to listen to
ALSA
devicehw:1
and disabling ffplay's display feature (-nodisp
) so no X11 is needed:Note: You can list possible
ALSA
[input] sources using ffplay:simple script:
usage:
./arecord-mic <duration>
e.g
./arecord-mic 10
will record about 10 seconds and then plays it back.source https://wiki.gentoo.org/wiki/ALSA