Re: VU meters on LCD





"Richard Sloan" <rsloan2003@xxxxxxxxxxx> wrote in message
news:sJPBf.20343$ve.346276@xxxxxxxxxxxxxxxxxxxxxxxx
>I am having difficulty displaying nice VU meter on a character display,
>right now I have allowed for 8 segments per channel, which I may make into
>40 as you get 5 dots across per character.
>
> 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.
>
> I also know audio is more logrithmic than what I am doing...
>
> The difference from the softest to loudest on the ADC right now is 80
> counts.
>
> I would think I could make a nicer looking VU meter that "follows" the
> music better.
>
> Any thoughts?

I thought VU meters used some sort of fast attack system (ie rise time <
fall time). So

Take sample (could be average of a few readings)
if sample > displayed value
Displayed Value = Sample
else
Displayed Value = ( (Denominator-n)* Dsiplayed Value + n * Sample )
/Denominator

NB Denominator and n are to make for easier arithmetic. Perhaps Denominator
= 256 and n= 4, but values will need to be tuned for your sampling rate to
achieve a visually attractive decay time.

And then you need some way of making Displayed Value logarithmic. With so
few bars, perhaps a table holding the display threshold for each bar.

But that is just guess work. Still, it may pass as a thought.

Bill
>
> Thanks,
> Richard.
>


.



Relevant Pages

  • Re: Power supply question for Gottlieb Countdown
    ... with it is the player displays were dim... ... play display does NOT work at all. ... I put my meter onto the 42 V ... but are dim like I said earlier. ...
    (rec.games.pinball)
  • Re: Sky Quality Meter - first impressions
    ... The SQM uses a Texas ... > photographic light meter. ... Having the display on the same end ... > for comparing sky quality even if it's only used for relative readings. ...
    (sci.astro.amateur)
  • Sky Quality Meter - first impressions
    ... I received a Sky Quality Meter (SQM) from Unihedron last week and have a few comments after using it several times. ... Having the display on the same end as the light sensor seemed at first like a dumb idea, but since the display is always off during a measurement, it doesn't really affect the operation of the SQM. ... While I can't verify any of the claims for precision or absolute calibration, it seems it would be a useful tool for comparing sky quality even if it's only used for relative readings. ...
    (sci.astro.amateur)
  • Re: How many boaters still use analog gauges
    ... the brain to decipher display. ... sensor, you really need the analog meter or O'scope display, digital as ... allow you to tweak the circuit in the same manner. ...
    (rec.boats)
  • Re: How many boaters still use analog gauges
    ... the brain to decipher display. ... sensor, you really need the analog meter or O'scope display, digital as ... Wafa free since 2009 ...
    (rec.boats)