slitaz-doc-wiki-data view pages/en/guides/alsaequal.txt @ rev 7

Add pages/en folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 26 12:17:18 2011 +0000 (2011-02-26)
parents
children
line source
1 ====== Alsaequal ======
3 ===== Installation (cooking only) =====
5 First download alsaequal:
7 <code># tazpkg get-install alsaequal</code>
9 Then create a /home/tux/.asoundrc file:
11 <file>
12 ctl.equal {
13 type equal;
14 }
16 pcm.plugequal {
17 type equal;
18 # Modify the line below if you don't
19 # want to use sound card 0.
20 # slave.pcm "plughw:0,0";
21 # or if you want to use with multiple applications output to dmix
22 slave.pcm "plug:dmix"
23 }
25 pcm.equal {
26 # Or if you want the equalizer to be your
27 # default soundcard uncomment the following
28 # line and comment the above line.
29 # pcm.!default {
30 type plug;
31 slave.pcm plugequal;
32 }
33 </file>
35 ===== mpg123 =====
37 Change (cd) into your music directory and then run:
39 <code>$ mpg123 -a equal *</code>
41 Or
43 <code>$ mpg123 -a equal track1</code>
45 Now you should be able to open up a separate terminal and use:
47 <code>$ alsamixer -D equal</code>
49 ===== mpd =====
51 Just edit the audio_output section of your /etc/mpd.conf:
53 <file>
54 audio_output {
55 type "alsa"
56 name "equal"
57 device "plug:plugequal"
58 ## format "44100:16:2" # optional
59 ## mixer_device "default" # optional
60 ## mixer_control "PCM" # optional
61 ## mixer_index "0" # optional
62 }
63 </file>
65 And start/restart mpd and you should be able to use //$ alsamixer -D equal//
67 ===== moc =====
69 Copy the config.example file in /usr/share/doc/moc to your ~/.moc folder:
71 <code>$ cp /usr/share/doc/moc/config.example ~/.moc/config</code>
73 Then change the alsa output device line to:
75 <file>
76 # ALSA output device
77 AlsaDevice = equal
78 </file>
80 And then start/restart moc.
82 ===== References =====
84 http://www.thedigitalmachine.net/alsaequal.html