Hi Demina,<br><br>I appreciate your reply, I am using the same alsaequal and was following the instruction on the site. Can you suggest me any alternative equalizers for alsa?<br><br>Also can you please guide me how to prevent the resampling?<br>

<br><div class="gmail_quote">On Sat, Feb 19, 2011 at 6:56 AM, Demian Martin <span dir="ltr"><<a href="mailto:demianm_1@yahoo.com">demianm_1@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
Navas:<br>
Looking at your results I suspect several things are going on behind the<br>
scenes. Most likely the new ALSA code for the equalizer may be working a<br>
high or very high precision which will really stress an Alix card. I know<br>
that the quality resamplers will cause the same problems on an alix. Are<br>
there options on the ALSA equalizer? I found this reference to it<br>
<a href="http://www.thedigitalmachine.net/alsaequal.html" target="_blank">http://www.thedigitalmachine.net/alsaequal.html</a> . Its not a core alsa<br>
component. If that reference is the one you are using there may be other<br>
less demanding equalizers. Its ability to use plugins is very interesting.<br>
Also make sure no resampling is going on in the background or it may be the<br>
core problem.<br>
             -Demian<br>
<br>
Date: Sat, 19 Feb 2011 06:05:39 +0530<br>
From: Navas Abubacker <<a href="mailto:navas@truebilling.com">navas@truebilling.com</a>><br>
Subject: Re: [Voyage-linux] Voyage MPD & alsaequal<br>
To: Punky Tse <<a href="mailto:punkytse@punknix.com">punkytse@punknix.com</a>><br>
Cc: <a href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a><br>
Message-ID:<br>
        <<a href="mailto:AANLkTin3-AW%2BxuG8N4x0gsFmHu8QOAKerUDsBjnL81dB@mail.gmail.com">AANLkTin3-AW+xuG8N4x0gsFmHu8QOAKerUDsBjnL81dB@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<div><div></div><div class="h5"><br>
Hi Punky,<br>
<br>
Thanks for your reply and yes you are right<br>
<br>
 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND<br>
 4644 mpd       20   0 73816  14m 6688 S 97.1  6.1   0:28.72 mpd<br>
<br>
mpd consumes 97% of CPU, but I was using alsaequal with MPD on Voyage 0.6.5<br>
with no problem. I have seen the CPU utilization before, it was in the range<br>
of 30-50%. I am not sure what caused this usage?<br>
<br>
<br>
This is while playing mp3 without alsaequal<br>
<br>
 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND<br>
 4697 mpd       20   0 72148  13m 6148 S 10.5  5.7   0:04.57 mpd<br>
<br>
and this one is for a flac without alsaequal<br>
<br>
 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND<br>
 4697 mpd       20   0 72148  13m 6252 S  8.2  5.8   0:12.72 mpd<br>
<br>
Please help<br>
<br>
<br>
On Fri, Feb 18, 2011 at 10:38 PM, Punky Tse <<a href="mailto:punkytse@punknix.com">punkytse@punknix.com</a>> wrote:<br>
<br>
> Hi Navas,<br>
><br>
> Take a look to top or load avg. to see if it is CPU bound.<br>
><br>
> Regards,<br>
> Punky<br>
><br>
><br>
><br>
> On 18/2/2011 23:42, Navas Abubacker wrote:<br>
><br>
>> Hi,<br>
>><br>
>> I am trying to get the equalizer with Voyage MPD on a alix3 box. But for<br>
>> some reason the sound is breaking up,<br>
>><br>
>> I can see "alsamixer -D equal" working and when I debug the mpd I am<br>
>> getting the output like this<br>
>><br>
>> root@voyage:~# mpd --no-daemon --stderr -v /etc/mpd.conf<br>
>> config: loading file /etc/mpd.conf<br>
>> path: path_set_fs_charset: fs charset is: UTF-8<br>
>> database: reading DB<br>
>> disabling the <a href="http://last.fm" target="_blank">last.fm</a> <<a href="http://last.fm" target="_blank">http://last.fm</a>> playlist plugin because account is<br>
>> not configured<br>
>><br>
>> daemon: opening pid file<br>
>> daemon: writing pid file<br>
>> state_file: Loading state file /var/lib/mpd/state<br>
>> database: get song: En Jannal Vandha - TamilLatestMusic.blogspot.com.mp3<br>
>> playlist: play 0:"En Jannal Vandha - TamilLatestMusic.blogspot.com.mp3"<br>
>> decoder_thread: clearing mixramp tags<br>
>> decoder_control: mixramp_start = NULL<br>
>> decoder_control: mixramp_prev_end = NULL<br>
>> mad: detected LAME version 3.99 ("LAME3.99a")<br>
>> mad: LAME peak found: 0.000000<br>
>> mad: LAME track gain found: -10.600000<br>
>> mad: encoder delay is 576, encoder padding is 324<br>
>> decoder: audio_format=44100:24:2, seekable=true<br>
>> alsa: buffer: size=1881..15052 time=42653..341316<br>
>> alsa: period: size=940..941 time=21333..21334<br>
>> alsa: default period_time = buffer_time/4 = 341315/4 = 85328<br>
>> alsa: buffer_size=15052 period_size=940<br>
>> output: opened plugin=alsa name="equal" audio_format=44100:24:2<br>
>> alsa: Underrun on ALSA device "plug:plugequal"<br>
>> alsa: Underrun on ALSA device "plug:plugequal"<br>
>> alsa: Underrun on ALSA device "plug:plugequal"<br>
>> alsa: Underrun on ALSA device "plug:plugequal"<br>
>> alsa: Underrun on ALSA device "plug:plugequal"<br>
>> alsa: Underrun on ALSA device "plug:plugequal"<br>
>><br>
>><br>
>> for every alsa: Underrun on ALSA device "plug:plugequal" it is breaking<br>
>> up.<br>
>><br>
>> here are my configurations<br>
>><br>
>> root@voyage:~# dmesg | grep usb<br>
>> [    5.723640] input: C-Media USB Audio Device    as<br>
>> /devices/pci0000:00/0000:00:0f.4/usb2/2-3/2-3:1.3/input/input1<br>
>> [    5.724435] generic-usb 0003:0D8C:000C.0001: input,hidraw0: USB HID<br>
>> v1.00 Device [C-Media USB Audio Device   ] on usb-0000:00:0f.4-3/input3<br>
>> [    5.725529] usbcore: registered new interface driver usbhid<br>
>> [    5.725617] usbhid: USB HID core driver<br>
>> [   10.824108] usbcore: registered new interface driver snd-usb-audio<br>
>><br>
>><br>
>> root@voyage:~# lsusb<br>
>> Bus 002 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter<br>
>><br>
>><br>
>> root@voyage:~# nano /etc/asound.conf<br>
>> ctl.equal {<br>
>>  type equal;<br>
>> }<br>
>><br>
>> pcm.plugequal {<br>
>>  type equal;<br>
>>  slave.pcm "plug:dmix";<br>
>> }<br>
>><br>
>> #pcm.equal {<br>
>>  # Or if you want the equalizer to be your<br>
>>  # default soundcard uncomment the following<br>
>>  # line and comment the above line.<br>
>>  pcm.!default {<br>
>>  type plug;<br>
>>  slave.pcm plugequal;<br>
>> }<br>
>><br>
>> root@voyage:~# nano /etc/mpd.conf<br>
>> ..............................<br>
>> audio_output {<br>
>>  type    "alsa"<br>
>>  name    "equal"<br>
>>  device  "plug:plugequal"<br>
>> }<br>
>> ........................<br>
>><br>
>><br>
>> Please help<br>
>><br>
>> --<br>
>> Thanks<br>
>> Navas<br>
>><br>
><br>
><br>
<br>
<br>
--<br>
Thanks<br>
Navas<br>
</div></div>********************************************<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks<br>Navas<br>