[LIVE] Bass redirection using ALSA audio?
#1
Hi guys,

does anybody know how could I set a bass redirection for audio using ALSA (or an additional plugin).

The main goal is to extract bass (<120Hz ie.) from C/SL/SR channels and mix this bass signals with the LFE channel.

Thanks,

Seb.
Reply
#2
After more reading about XBMC/Linux & Co ... it appear that I will need to use pulseaudio wich is used by XBMC as sound server ...

> First : Is that right ? Huh
(does XBMC Live 9.11-repack installed on HDD use pulseaudio ? )

But it looks like XBMC don't use pulseaudio as a Daemon ...
... all tutorials from the WWW are for PulseAudio Daemon ("/etc/pulse/daemon.conf" doesn't exist on my system) ... I'm lost Confused

Does nobody have to redirect bass (from small speakers) to LFE Huh ... Sad
Reply
#3
Pulse is crap, I don't think Live uses it. Your question would be better suited for the alsa-users' list.
Reply
#4
althekiller Wrote:Pulse is crap, I don't think Live uses it. Your question would be better suited for the alsa-users' list.

( Yes, I've read that "Linux World" doesn't like PulseAudio very much ... Blush )

...

So you think that "XBMC Live" don't use it ? ... Huh

in that case, does it use ALSA directly ? ... another server ?

I've found a ".pulse" folder on my HDD ... so I was thinking pulseaudio was used ...

Is there somewhere a document that describe XBMC Live system ?!? Nerd ...

Maybe could I launch a video in XBMC, and in the same time look process list ?! ... Eek

Code:
sebState = allState.FullyLost; // Arrggghhhhh
Sad
Reply
#5
You're looking for a low-pass filter.

Try this one:
http://alsa.opensrc.org/index.php/Low-pa...28HOWTO%29

You may have to alter it for your own configuration.
Reply
#6
If you ever get the lowpass working with a 5.1 setup, please let me know...

At the moment, I have a 4.1 setup (2 Stereo Amps, Active Subwoofer) and tried to implement a lowpass for 5.1 sound like this:

Code:
pcm.mix_lfe {
    type plug
    slave.pcm surround51
    slave.channels 6
    ttable {
        0.0 1     # front
        1.1 1     # front
        2.2 1     # rear
        3.3 1     # rear
        4.0 0.8   # center
        4.1 0.8   # center
        5.5 1     # sub
        # mix to sub
        0.5 1
        1.5 1
        2.5 1
        3.5 1
    }
}
pcm.lowpass_multichannel {
    type ladspa
    slave.pcm mix_lfe
#    slave.pcm surround51

    path "/usr/lib/ladspa"
    channels 6
    plugins {
        0 {
            id 1098 # Identity (Audio) (1098/identity_audio)
            policy duplicate
            input.bindings.0 "Input";
            output.bindings.0 "Output";
        }
        1 {
            id 1672 # 4 Pole Low-Pass Filter with Resonance (FCRCIA) (1672/lp4pole_fcrcia_oa)
            policy none
            input.bindings.5 "Input";
            output.bindings.5 "Output";
            input {
                controls [ 120 0 ]
            }
        }
    }
}
But I never got it working Sad
Reply
#7
OK, so the job have to be done in ALSA ?

... in that case, I'll look at LADSPA ...
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] Bass redirection using ALSA audio?0