bmc0 / dsp

An audio processing program with an interactive mode.
ISC License
222 stars 31 forks source link

Use pulse as input #13

Closed AndrewBelt closed 8 years ago

AndrewBelt commented 8 years ago

Is it possible to use pulseaudio as an input while also using pulseaudio as an output? I don't understand the input type syntax. Would something like dsp -t pulse <effects> work?

bmc0 commented 8 years ago

You have to give a source name too. "default" selects the server default, so dsp -t pulse default <effects> should work.

bmc0 commented 8 years ago

You'll also need to set the number of channels to 2 if you want stereo: dsp -t pulse -c 2 default <effects>.

AndrewBelt commented 8 years ago

Fantastic! I didn't think this was possible, but it works perfectly. It is much easier to use dsp as a background daemon and Pulseaudio/pavucontrol to route audio through dsp's inputs/outputs than load Pulseaudio's LADSPA module for dsp's plugin form in my opinion.

This makes dsp a key component in FIR filtering of audio output for room correction.