Skip to content

Instantly share code, notes, and snippets.

View juniorcl's full-sized avatar
🏠
Working from home

Clébio de Oliveira Júnior juniorcl

🏠
Working from home
View GitHub Profile
@juniorcl
juniorcl / remove_noise.sh
Last active November 18, 2024 16:19
Code to remove microphone noise.
pactl load-module module-echo-cancel aec_method=webrtc sink_properties=device.description="Noise_Reduction" aec_args="analog_gain_control=0\ digital_gain_control=0"
@juniorcl
juniorcl / micfeedback.sh
Created September 18, 2023 19:19 — forked from KmolYuan/micfeedback.sh
Microphone feedback on Linux.
#!/usr/bin/env bash
# Directs audio input (e.g. mic) to audio output (e.g. speakers),
# then sleeps forever. Stops audio redirection when it is killed.
# So, for example, plug your phone into the PC's mic, run 'listen',
# and listen to phone audio through your computer's speakers.
set -e
module=$(pactl load-module module-loopback latency_msec=50)