🎙️ How to Setup NoiseTorch AI Mic on Ubuntu
NoiseTorch is a free AI tool that removes background noise from your mic in real time. It works system-wide, so Zoom, Discord, OBS, or any app using your mic gets clean audio.
1. Download the latest release
Go to the official releases page:
https://github.com/noisetorch/NoiseTorch/releases
Download the x64 .tgz file (e.g., NoiseTorch_x64_v0.12.2.tgz) to your Downloads folder.
2. Extract the files
Open a terminal and run:
tar -xvzf $HOME/Downloads/NoiseTorch_x64_v0.12.2.tgz
This automatically extracts all files into the correct locations under your user directory ($HOME/.config/NoiseTorch). No moving is needed.
3. Check available microphones
Before running NoiseTorch, you can see all detected microphones:
pactl list short sources
- Look at the second column, which is the mic name.
- Take the starting part of the name (e.g.,
alsa_input.usb-MU900) for later use in the script.
4. Create the startup script
Save the following as $HOME/.config/noisetorch.sh:
#!/bin/bash
# NoiseTorch startup script with dynamic mic search and 75% noise suppression
# Set the starting string of your mic name here:
MIC_SEARCH="alsa_input.usb-MU900" # <-- edit this to match your mic
VIRTUAL_MIC="NoiseTorch Microphone"
# Wait until PulseAudio is ready
until pactl info >/dev/null 2>&1; do
sleep 1
done
# Dynamically find the mic that matches the search string
REAL_MIC=$(pactl list short sources | awk '{print $2}' | grep "^$MIC_SEARCH" | head -n 1)
if [ -z "$REAL_MIC" ]; then
echo "No microphone found matching '$MIC_SEARCH'."
exit 1
fi
echo "Found mic: $REAL_MIC"
# Start NoiseTorch in the background
$HOME/.config/NoiseTorch/noisetorch -i "$REAL_MIC" -s 75 &
# Wait for the virtual mic to appear and set as default
while ! pactl list short sources | grep -q "$VIRTUAL_MIC"; do
sleep 1
done
pactl set-default-source "$VIRTUAL_MIC"
echo "NoiseTorch started with 75% suppression and set as default mic."
Make it executable:
chmod +x $HOME/.config/noisetorch.sh
5. Auto-start on login (Option A)
Add this line at the end of $HOME/.profile:
(sleep 5 && $HOME/.config/noisetorch.sh) &
- The sleep 5 gives PulseAudio a few seconds to start.
- The & runs the script in the background so login isn’t blocked.
6. How It Works
- Waits for PulseAudio to start.
- Finds the microphone that matches the search string you set.
- Starts NoiseTorch with 75% AI-based noise suppression.
- Creates a virtual mic and sets it as the default source for all apps.
✅ Works with any USB or built-in microphone, just update MIC_SEARCH to match your mic’s name.

تعليقات
إرسال تعليق