I’ve ask AI: split stereo channels at 80 Hz in ALSA so that the front channels play frequencies from 80 Hz and up and the rear channels play frequencies 80 Hz and below (creating a 4.0 configuration) and output audio over HDMI and get answer modify /etc/asound.conf, whitch not exits. Where I would like configure next lines:
High-pass filter (80 Hz and up) for front channels
pcm.highpass80 {
type ladspa
slave.pcm “hw:0,0” # Replace with your HDMI device if necessary
path “/usr/lib/ladspa”
plugins [
{
label “highpass_1”
input {
controls [80]
}
}
]
}
Low-pass filter (80 Hz and below) for rear channels
pcm.lowpass80 {
type ladspa
slave.pcm “hw:0,0” # Replace with your HDMI device if necessary
path “/usr/lib/ladspa”
plugins [
{
label “lowpass_1”
input {
controls [80]
}
}
]
}
Define 4.0 virtual device
pcm.split4ch {
type plug
slave.pcm {
type multi
slaves.a.pcm “highpass80”
slaves.b.pcm “lowpass80”
slaves.a.channels 2
slaves.b.channels 2
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}
}
Default to use split4ch configuration
pcm.!default {
type plug
slave.pcm “split4ch”
}