I want to apply a filter, specifically SWH's glame-bandpass-iir, to only one of several output channels.
I'm still stumped after looking at the examples listed below. I'm quite sure that module-ladspa-sink
and module-remap-sink
are the solution to my needs. I cannot, however, understand the docs on module-remap-sink
. To keep things simple lets assume the goal is to have the front L/R soundcard jack
output unfiltered audio while the rear L/R soundcard jack
outputs filtered audio.
sink_name: The name for the new virtual sink.
master: The name of the sink of which channels you're remapping.
channels: Channel count of the new sink.
channel_map: List of the channels that this sink will accept.
master_channel_map: The channels in the master sink, where the channels listed in channel_map will be relayed to. channel_map and master_channel_map must have equal number of channels listed, because the channels will be mapped based on their position in the list, i.e. the first channel in channel_map will be relayed to the first channel in master_channel_map and so on.
remix: Allow remixing of the mono or stereo streams to multiple channels (default is yes; set to "no" if you don't want the stereo stream to be up-mixed to all channels except subwoofer and channels named aux0-aux15).
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules#module-remap-sink
The following is the filter sink that I want to use:
### LADSPA Sink
.ifexists module-ladspa-sink.so
.nofail
load-module module-ladspa-sink sink_name=ladspa_out master=alsa_out plugin=bandpass_iir_1892 label=bandpass_iir control=660.0,440.0,2
.fail
.endif
Could someone kindly explain how I accomplish source
-> ladspa_out
-> center jack on soundcard
. Specifically, how do I fill this in?
load-module module-remap-sink filt_sink <?> 2 <?left,?right> <?m_left,?m_right> <?yes>
In case it is relevant, I'm using i945 onboard sound: alsa.long_card_name = "Intel ICH7 with ALC850 at irq 17"
Edited after weeks of frustration...
I've tried just about every configuration of both /etc/pulse/default.pa
and ~/pulse/default.pa
that I can imagine without success. I have tried using various permutations of module-udev-detect
|module-alsa-sink
to setup alsa with 4 or 6 channels named front-left,front-right,left,right,aux0-4,rear-left,rear-right and module-remap-sink
and module-combine-sink
as well as the intended module-ladspa-sink
. Though the filter will work on one, two or four channels, it has been impossible to simultaneously get unfiltered output through any other channels.
I've asked on #pulseaudio on irc and been told that what I want is impossible with pulse alone. I'd really appreciate it if someone could point me to either a specific pulseaudio solution OR a solution with other tools.
Thanks.