Compare commits
3 commits
6df4d4169f
...
05935ec4e0
Author | SHA1 | Date | |
---|---|---|---|
05935ec4e0 | |||
6716d255aa | |||
a84c7177fb |
4 changed files with 49 additions and 3 deletions
5
config/pipewire/pipewire.conf.d/10-clock-rates.conf
Normal file
5
config/pipewire/pipewire.conf.d/10-clock-rates.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
context.properties = {
|
||||||
|
# default.clock.rate = 48000
|
||||||
|
default.clock.allowed-rates = [ 44100 48000 ]
|
||||||
|
default.clock.min-quantum = 16
|
||||||
|
}
|
33
config/pipewire/pipewire.conf.d/99-input-denoising.conf
Normal file
33
config/pipewire/pipewire.conf.d/99-input-denoising.conf
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
context.modules = [
|
||||||
|
{ name = libpipewire-module-filter-chain
|
||||||
|
args = {
|
||||||
|
node.description = "Noise Canceling source"
|
||||||
|
media.name = "Noise Canceling source"
|
||||||
|
filter.graph = {
|
||||||
|
nodes = [
|
||||||
|
{
|
||||||
|
type = ladspa
|
||||||
|
name = rnnoise
|
||||||
|
plugin = /home/siina/.local/share/linux-rnnoise/ladspa/librnnoise_ladspa.so
|
||||||
|
label = noise_suppressor_mono
|
||||||
|
control = {
|
||||||
|
"VAD Threshold (%)" = 75.0
|
||||||
|
"VAD Grace Period (ms)" = 200
|
||||||
|
"Retroactive VAD Grace (ms)" = 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
capture.props = {
|
||||||
|
node.name = "capture.rnnoise_source"
|
||||||
|
node.passive = true
|
||||||
|
audio.rate = 48000
|
||||||
|
}
|
||||||
|
playback.props = {
|
||||||
|
node.name = "rnnoise_source"
|
||||||
|
media.class = Audio/Source
|
||||||
|
audio.rate = 48000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -1,8 +1,8 @@
|
||||||
XDG_DESKTOP_DIR="$HOME/Desktop"
|
XDG_DESKTOP_DIR="$HOME/Desktop"
|
||||||
XDG_DOCUMENTS_DIR="$HOME/Nextcloud/Documents"
|
XDG_DOCUMENTS_DIR="$HOME/Documents"
|
||||||
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
||||||
XDG_MUSIC_DIR="$HOME/Music"
|
XDG_MUSIC_DIR="$HOME/Music"
|
||||||
XDG_PICTURES_DIR="$HOME/Nextcloud/Pictures"
|
XDG_PICTURES_DIR="$HOME/Pictures"
|
||||||
XDG_PUBLICSHARE_DIR="$HOME/Nextcloud/Public"
|
XDG_PUBLICSHARE_DIR="$HOME/Public"
|
||||||
XDG_TEMPLATES_DIR="$HOME/Templates"
|
XDG_TEMPLATES_DIR="$HOME/Templates"
|
||||||
XDG_VIDEOS_DIR="$HOME/Videos"
|
XDG_VIDEOS_DIR="$HOME/Videos"
|
||||||
|
|
8
link.sh
8
link.sh
|
@ -21,3 +21,11 @@ ln -sf $PWD/zprompts/bunni.zsh $HOME/.config/zsh/zprompts/prompt_bunni_setup
|
||||||
|
|
||||||
git clone https://gitlab.com/code-stats/code-stats-zsh $localdir/code-stats-zsh
|
git clone https://gitlab.com/code-stats/code-stats-zsh $localdir/code-stats-zsh
|
||||||
ln -sf $localdir/code-stats-zsh/codestats.plugin.zsh $HOME/.config/zsh/plugins/codestats.zsh
|
ln -sf $localdir/code-stats-zsh/codestats.plugin.zsh $HOME/.config/zsh/plugins/codestats.zsh
|
||||||
|
|
||||||
|
# Pipewire rnnoise stuff
|
||||||
|
rnnver="v1.10"
|
||||||
|
cd $HOME/.local/share
|
||||||
|
curl -LO https://github.com/werman/noise-suppression-for-voice/releases/download/$rnnver/linux-rnnoise.zip -o /tmp/rnn/linux-rnnoise.zip
|
||||||
|
unzip linux-rnnoise.zip
|
||||||
|
rm linux-rnnoise.zip
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue