Re: VU meters on LCD



cbarn24050@xxxxxxx wrote:
> Richard Sloan wrote:
>
.... snip ...
>>
>> Now the issue is the bars and very jumpy, either showing a couple
>> or all of them....
>>
>> I sample the audio every 1/10s and display the bars, I can sample
>> more, but refreshing the display at a high rate is hard due to
>> the fact I need to keep streaming MP3 data and can not miss any.
>>
.... snip ...
>>
>> Any thoughts?
>
> I agree with Hans, you need to do some signal conditioning before
> you sample. Try searching for audio circuits you should find
> something somewhere.

All he needs is a digital filter. A moving average will require
some storage for the sampling period. However the equivalent of a
RC filter will only require one value.

value = (value + sample) / 2.0

for example. Changing the weighting of value and sample will
change the time constant.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>


.



Relevant Pages

  • Re: Name change
    ... (application icons displayed on the dock often display information). ... slows down Windoze) - four CPU cores in two chips. ... It's displayed by the Temperature Monitor app, ...
    (uk.people.support.depression)
  • Re: openSUSE 11.1, nvidia 9600 KO - resolution problems....again!
    ... to the "monitor" section of the xorg.conf file? ... This option forces the X driver to use the EDID specified in a file ... list of display names and filename pairs. ...
    (alt.os.linux.suse)
  • Re: Wowee!!!!
    ... There are various Settings, which all have an effect on ... If you Chhose the Option to "Display all Messages ... But you can always (as shaz mentioned) change the Size in the Font ...
    (uk.people.silversurfers)
  • Re: Printing in Project
    ... Visit http://project.mvps.org/ for the FAQs and additional information ... about Microsoft Project ... We have tried disabling the 3d view for the bars but still no joy. ... print wont display them. ...
    (microsoft.public.project)
  • Re: Democrats Need to Vote in Repub Primaries
    ... The Badlands ran into problems last year for requiring ... There's probably less trouble in gay bars than in straight bars, ... Christian, and Obama has never said he was anything but ...
    (soc.retirement)