Last active
August 6, 2018 18:31
-
-
Save JanChec/5f97bf874cffb9b0a90755828f76314f to your computer and use it in GitHub Desktop.
Setup system wide DSP sink for Chord Mojo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eu | |
pacmd list-sinks > /dev/null || pulseaudio -D | |
pacmd unload-module module-ladspa-sink || true | |
DEVICE_NAME=$(pacmd list-sinks | grep name: | egrep -o '<[^<>]+Chord[^<>]+>' | egrep -o '[^<>]+') | |
echo "Setting up PulseAudio to route into: $DEVICE_NAME..." | |
pacmd load-module module-ladspa-sink sink_name=dsp master=$DEVICE_NAME plugin=ladspa_dsp label=ladspa_dsp | |
echo "Done." | |
pacmd set-default-sink dsp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DSP: https://github.com/bmc0/dsp + installation: https://github.com/bmc0/dsp/wiki/System-Wide-DSP-Guide
Mojo is on USB, so we can't use loading by default from: https://github.com/bmc0/dsp/wiki/System-Wide-DSP-Guide - it has different name on every port, can't hardcode that.
In
~/.config/pulse/daemon.conf
:Effects. In
~/.config/ladspa_dsp/config
:Then
effects.txt
:^ can use any effects from https://github.com/bmc0/dsp, I use convolver only with all my effects on it.