Merge pull request #1740 from aarron-lee/ally_x_convolver

feat(ally x): add convolver for Ally X
This commit is contained in:
HikariKnight 2024-10-17 15:00:46 +02:00 committed by GitHub
commit 2794a7a8cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,54 @@
# Convolver Configuration for Pipewire
#
# This configuration applies separate left and right convolver effects using the corresponding impulse response files
# to the entire system audio output.
#
# thanks to @adolfotregosa for creating the convolver for the Ally X
context.modules = [
{ name = libpipewire-module-filter-chain
args = {
node.description = "ROG Ally X"
media.name = "ROG Ally X"
filter.graph = {
nodes = [
{
type = builtin
label = convolver
name = convFL
config = {
filename = "/usr/share/pipewire/hardware-profiles/asustek computer inc.-rog ally x rc72la_rc72la/Cor1S48.wav"
channel = 0
}
}
{
type = builtin
label = convolver
name = convFR
config = {
filename = "/usr/share/pipewire/hardware-profiles/asustek computer inc.-rog ally x rc72la_rc72la/Cor1S48.wav"
channel = 1
}
}
]
inputs = [ "convFL:In" "convFR:In" ]
outputs = [ "convFL:Out" "convFR:Out" ]
}
capture.props = {
node.name = "ROG Ally X"
media.class = "Audio/Sink"
priority.driver = 1000
priority.session = 1000
audio.channels = 2
audio.position = [ FL FR ]
}
playback.props = {
node.name = "ROG Ally X corrected"
node.passive = true
audio.channels = 2
audio.position = [ FL FR ]
node.target = "alsa_output.pci-0000_64_00.6.analog-stereo"
}
}
}
]