How to stream microphone audio to laptop speaker on Linux / Ubuntu

If you have a microphone with 2.5mm audio jack and dont have a mixer which can play the voice streams to speaker, the best way is to try and use ubuntu laptop which can help us with redirecting the microphone audio to laptop speaker OR if you connect an external speaker to 2.5mm audio out jack, it will also be able to play on larger sounds.

For this connect your microphone to laptop audio in, and type below two commands,

 $ sudo apt install pavucontrol 
 $ pactl load-module module-loopback latency_msec=1 
 $ pavucontrol 

Once you start pavucontrol command, you will see the settings window opened as below, where you can control the volume levels, input and output devices etc as required.

To stop the routing of audio from Microphone to Speaker, use below command

 $ pactl exit 
Android Android Commands Android Java Applications Application Libraries Bash / Shell Scripts Bluetooth driver Build Frameworks Commands and Packages Content Management System - CMS Core Kernel C Programs Development Environment Setup Errors & Failures File Systems git Go Language Programs Hardware Platforms Home HTML JAVA Programs Kernel & Device Drivers Kernel Booting and Porting Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL NDK / Middleware / HAL Network Driver OS Concepts PHP Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Userspace Utilities Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply