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 Application Stack / User Interface Bash / Shell Scripts Commands and Packages Compilation Content Management System - CMS Core Kernel C Programs Development & Build Development Environment Setup Errors & Failures Flutter git Go Language Programs Hardware Platforms HTML JAVA Programs Kernel & Device Drivers Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Monetization / Google AdSense Multimedia - Audio, Video, Images NDK / Middleware / HAL 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 User Interface Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply / Ask Question