Skip to content

Instantly share code, notes, and snippets.

@YellowOnion
Created May 12, 2025 03:22
Show Gist options
  • Save YellowOnion/ba78ae2db57db939f0ff3200fdb882e3 to your computer and use it in GitHub Desktop.
Save YellowOnion/ba78ae2db57db939f0ff3200fdb882e3 to your computer and use it in GitHub Desktop.
"context.modules" = [
{ name = libpipewire-module-filter-chain
args = {
node.description = "AKG K702 Headphones"
node.link-group = "group-sink"
filter.graph = {
nodes = [{
type = builtin
label = convolver
name = convL
config = {
filename = "/home/daniel/.config/pipewire/K702-48kHz.wav"
channel = 0
gain = 1
}
}
{
type = builtin
label = convolver
name = convR
config = {
filename = "/home/daniel/.config/pipewire/K702-48kHz.wav"
channel = 0
gain = 1
}
}]
inputs = [ "convL:In" "convR:In" ]
outputs = [ "convL:Out" "convR:Out" ]
}
capture.props = {
node.virtual = false
node.name = "alsa-remap.headphones"
media.class = "Audio/Sink"
audio.channels = 2
audio.position = [ FL FR ]
}
playback.props = {
node.name = "output.headphones"
audio.channels = 2
audio.position = [ FL FR ]
stream.dont-remix = true
node.passive = true
target.object = "alsa_output.pci-0000_0a_00.4.analog-surround-40"
}
}
},
{ name = libpipewire-module-filter-chain
args = {
node.description = "Mee M6 Pro Headphones"
node.link-group = "group-sink"
filter.graph = {
nodes = [{
type = builtin
label = convolver
name = convL
config = {
filename = "/home/daniel/.config/pipewire/M6-48kHz.wav"
channel = 0
gain = 1
}
}
{
type = builtin
label = convolver
name = convR
config = {
filename = "/home/daniel/.config/pipewire/M6-48kHz.wav"
channel = 0
gain = 1
}
}]
inputs = [ "convL:In" "convR:In" ]
outputs = [ "convL:Out" "convR:Out" ]
}
capture.props = {
node.virtual = false
node.name = "alsa-remap.headphones-2"
media.class = "Audio/Sink"
audio.channels = 2
audio.position = [ FL FR ]
}
playback.props = {
node.name = "output.headphones"
audio.channels = 2
audio.position = [ FL FR ]
stream.dont-remix = true
node.passive = true
target.object = "alsa_output.pci-0000_0a_00.4.analog-surround-40"
}
}
}
]
"context.modules" = [
{ name = libpipewire-module-filter-chain
args = {
node.description = "EQ Speakers"
node.link-group = "group-sink"
filter.graph = {
nodes = [{
type = builtin
label = convolver
name = convL
config = {
filename = "/home/daniel/.config/pipewire/SpeakerEQ-48k.wav"
channel = 0
gain = 1
}
}
{
type = builtin
label = convolver
name = convR
config = {
filename = "/home/daniel/.config/pipewire/SpeakerEQ-48k.wav"
channel = 1
gain = 1
}
}]
inputs = [ "convL:In" "convR:In" ]
outputs = [ "convL:Out" "convR:Out" ]
}
capture.props = {
node.name = "alsa-remap.speakers"
media.class = "Audio/Sink"
audio.position = [ FL FR ]
audio.channels = 2
node.virtual = false
}
playback.props = {
node.name = "output.speakers"
audio.channels = 2
audio.position = [ RL RR ]
stream.dont-remix = true
node.passive = true
target.object = "alsa_output.pci-0000_0a_00.4.analog-surround-40"
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment