Alsaequal scratches the itch

Thanks to Onyros for pointing out Alsaequal; my spontaneous desire to see an equalizer for the console seems to have been satisfied.

That’s running on Arch, just because there were already PKGBUILDs in AUR for it and its dependencies, and I wanted to get the chance to tinker with it before making the jump to Crux. If I get things working my way I’ll put Pkgfiles on here later.

Setting it up takes a quick configuration file that can (probably) be cut-and-pasted from the home page. Mine worked cleanly without any changes; depending on your card assignment, you might have to adjust a number or two.

Otherwise it seems to do what it claims to. The next step is to run it up against mocp and see if they play nice together. Pun intended. :P

About these ads

15 Responses to “Alsaequal scratches the itch”


  1. 1 Gen2ly 2009/08/01 at 1:43 PM

    Yeah, I tried this too and like it. I had trouble playing multiple sounds at once though but it does it job nicely. Also doesn’t work with Amarok2 (No surprise). Doesn’t matter been using Goggle’smm for a while not and am happy with it.

  2. 2 Onyros 2009/08/02 at 8:30 AM

    Glad to be of service, Sir :)

  3. 3 Ian Daniher 2009/08/20 at 1:37 PM

    Thanks a ton!
    I’ve been looking for something exactly like this, a system-wide alsa equalizer.

  4. 4 n2j3 2010/01/08 at 12:34 AM

    Any idea on how to make cmus use the equaliser “device”. i’m on ubuntu 9.10 server, it works fine with mpg123 but not in cmus. I’ve tried everything! help.

  5. 5 Robert 2010/04/06 at 6:18 PM

    Oh my subwoofer! Awesome.

    • 6 mardinemu 2010/05/31 at 2:00 PM

      @n2j3 Open cmus, hit 7 (for settings), go down to “dsp.alsa.device”. It should be set to “default” or something. Change it to “equal” and that should do it.

  6. 8 jinnstar 2010/07/01 at 1:54 PM

    I know i’m a late comer but thanks to both of you for this, made my day.

    After setting everything up and setting the Alsa output device in ~/.moc/config to “equal” I have what I’ve wanted forever.

  7. 9 Ikem 2011/01/20 at 6:15 AM

    Look what i’ve found:

    ALSA Application Mixer:
    http://forum.dug.net.pl/viewtopic.php?id=17368

  8. 12 Fbx 2011/03/21 at 11:35 PM

    Hi,

    just for the records, I paste here my final .asoundrc, using
    dmix, alsaequal and 96k upsampling. It took me some time to get to
    this point, and enjoy Spotify like never before. alsaequal is just genius!
    This also contains the ‘Skype trick’, that fixes the ‘warped voice’ issue under Kubuntu 64.

    fbx

    # —— Let’s set the good converter as a default
    # —— Moreover, it seems that the rate_converter option inside the plugs does not work

    defaults.pcm.rate_converter “samplerate_best”

    # —— Let’s use dmix as our main playback device,
    # —— and make sure that it opens the device at 96k
    # —— This also sets the device at 96k, visible in /proc/asound/….

    pcm.dmixed {
    ipc_key 1025
    type dmix
    slave {
    pcm “hw:0,0″
    format S32_LE
    rate 96000
    }
    }

    # —— The Skype magic, to make it work under x86_64, avoid the ‘warped voice’ problem
    # —— Never understood why it does not work without this thing

    #one called “dsnooped” for capturing
    pcm.dsnooped {
    ipc_key 1027
    type dsnoop
    slave {
    pcm “hw:0,0″
    rate 96000
    }
    }

    #and this is the real magic
    pcm.asymed {
    type asym
    playback.pcm “dmixed”
    capture.pcm “dsnooped”
    }

    # Final pcm device, for aoss or for normal apps, like skype
    pcm.dsp0 {
    type plug
    slave.pcm “asymed”

    # A hint is required for listing the device in some GUIs, e.g. Phonon configuration (KDE).
    hint {
    show on
    description “My asymed plug device”
    }

    }

    ctl.mixer0 {
    type hw
    card 0
    }

    # ——— End of the Skype magic

    # ——– My audiophile equalizing section

    # a small intermediate plug that points to the dmixed one
    # Never understood why nothing works without this
    pcm.postequal {
    type plug
    slave.pcm “dmixed”

    }

    # to control the equalizer with alsamixer -D equal
    ctl.equal {
    type equal;
    }

    # a plug that equalizes
    pcm.equal {
    type equal
    slave.pcm “postequal”
    }

    # a plug that upsamples everything at 96k before equalizing
    # so that we make the equalizer work always at 96k, much better sounding
    pcm.upequal {
    type plug
    slave {
    pcm “equal”
    rate 96000
    }
    # Alsa chokes if this is uncommented… bug in alsa?
    # Anyway the good converter was set as default
    #rate_converter “samplerate_best”

    # A hint is required for listing the device in some GUIs, e.g. Phonon configuration (KDE).
    hint {
    show on
    description “My upsampling equalized plug device”
    }

    }

    # ——— And now the ALSA default devices. Spotify wants these, at
    # ——— the end we’ll have an upsampled, equalized Spotify listening experience
    # ——— Any other player will work through these as well

    pcm.!default {
    type plug;
    slave {
    pcm “equal”
    rate 96000
    }
    # Alsa chokes if this is uncommented… bug in alsa?
    # Anyway the good converter was set as default
    #rate_converter “samplerate_best”
    }

    ctl.!default {
    type hw
    card 0
    }

  9. 13 Chris Kempson 2011/04/30 at 5:43 PM

    I’ve set this up on a 500MHz laptop, no X with cmus used to play music. With this plugin enabled the sound skips constantly, when disabled everything is fine.

    I don’t suppose anyone here might have come across such a problem and have an idea of how to fix it?


  1. 1 Three console audio mixers « Motho ke motho ka botho Trackback on 2010/01/05 at 8:35 AM
  2. 2 An assortment of Crux ports « Motho ke motho ka botho Trackback on 2010/01/13 at 8:46 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,959,958 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: