My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
RealTimeLADSPAPlugins  
Apply real-time LADSPA plugins with ALSA
Updated Jan 24, 2010 by tokland@gmail.com

Introduction

Apply real-time LADSPA plugins to your soundcard output using ALSA.

Install

  • Install alsaequal.
  • Edit your $HOME/.asoundrc to set up the equal plug. The following example introduces a line delay up to 60 seconds (you'll need cmt plugins also):
ctl.equal {
  type equal;
  library "/usr/lib/ladspa/cmt.so";
  module "delay_60s";
}

pcm.plugequal {
  type equal;
  slave.pcm "dsp0";
  library "/usr/lib/ladspa/cmt.so";
  module "delay_60s";
}

pcm.equal {
   type plug;
   slave.pcm plugequal;
}

pcm.dsp0 {
    type plug
    slave.pcm "dmix"
    hint {
         show on
         description "My dmix dsp0"
    }
}

Usage

Instruct your multimedia application to use ALSA and the equal device, for example:

$ mplayer -ao alsa:device=equal video.avi 

And now you can finally modify setting real-time with alsamixer:

$ alsamixer -D equal

Sign in to add a comment
Powered by Google Project Hosting