Giter VIP home page Giter VIP logo

alsaequal's Introduction

NOTE: This is the original alsaequal, but I haven't worked on it in sometime. You may find more useful versions elsewhere.

Alsaequal is a real-time adjustable equalizer plugin for ALSA. It can
be adjusted using any ALSA compatible mixer, e.g. alsamixergui.

Alsaequal uses the Eq CAPS LADSPA Plugin for audio processing, actually
alsaequal is a generic LADSPA plugin interface with real-time access to
the LADSPA controls (the LADSPA plugin included with alsa doesn't allow
for real-time controls) but it was developed for and only tested with
Eq CAPS LADSPA plugin. You are welcome to try it with other plugins, it
may work. Let me know how it goes, you can reach me at
<[email protected]>.

INSTALL:
Download the latest version of the plugin and:

tar xvjf alsaequal-x.x.tar.bz2
cd alsaequal-x.x
make
sudo make install

DEPENDANCIES:
- CAPS LADSPA Package -- <http://quitte.de/dsp/caps.html>, it's
available as a package in Ubuntu, i.e. "sudo apt-get install caps"
- ALSA Development headers and alsa-lib -- you may already have it
as part of your linux distro, you can install in Ubuntu with
"sudo apt-get install libasound2-dev"


USAGE:
After installing you will have to modify your local .asoundrc alsa
configuration file, adding something like this. If you're not using
sound card 0 modify "plughw:0,0" accordingly.

ctl.equal {
	type equal;
}

pcm.plugequal {
    type equal;
	slave.pcm "plughw:0,0";
}

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

You can play audio through alsaequal by addressing the plugin by name, e.g.:
mpg123 -a equal 06.Back_In_Black.mp3

You can adjust the frequency response of the equalizer by using any alsa
mixer, e.g.:  alsamixer -D equal

HELP:
If you need any help just let me know, you can reach me at:
<[email protected]>. Please keep in mind that this is
a development release and may have bugs.

More Advanced Stuff:
If you want to try out alsaequal with other plugins the configuration
(asoundrd) structure follows:

ctl.<name_equal> {
	type equal;
	controls -- filename used to store the equalizer settings,
					the default is $HOME/.alsaequal.bin
	library -- location of the LADSPA library, the default is
					"/usr/lib/ladspa/caps.so"
	module -- module name within the LADSPA library, the deafault
					is "Eq"
	channels -- number of channels, the default is 2
}

pcm.<name_pcm> {
	type equal;
	slave.pcm -- sound card to output to, will probably have to
					be a plug since alsaequal only supports
					floating point numbers, a "plug" will convert
					the data type, outputig directly to hw won't;
	controls -- filename used to store the equalizer settings,
					the default is $HOME/.alsaequal.bin
	library -- location of the LADSPA library, the default is
					"/usr/lib/ladspa/caps.so"
	module -- module name within the LADSPA library, the deafault
					is "Eq"
	channels -- number of channels, the default is 2
}

You will also probably need to pump the data through a plug to change
the format to float, which is all alsaequal supports.

pcm.<name_pcm_plug>{
    type plug;
    slave.pcm <name_pcm>;
}

alsaequal's People

Contributors

charleseidsness avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.