Re: VU meters on LCD
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Thu, 26 Jan 2006 03:19:54 -0500
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/>
.
- References:
- VU meters on LCD
- From: Richard Sloan
- Re: VU meters on LCD
- From: cbarn24050
- VU meters on LCD
- Prev by Date: Re: JTAG and flash
- Next by Date: Re: What arch's do you look forward to in 2006?
- Previous by thread: Re: VU meters on LCD
- Next by thread: Re: VU meters on LCD
- Index(es):
Relevant Pages
|