FS#1644 - Redzone on Peak Meter

Attached to Project: Rockbox
Opened by Zakk Roberts (midkay) - Thursday, 21 August 2003, 03:53 GMT
Last edited by Platoche (platoche) - Friday, 18 November 2005, 18:18 GMT
Task Type Patches
Category LCD
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This patch puts a "red-zone" on the peak meter for both
recording and playing back. It basically indicates when
you are reaching into the redzone by inverthing the
peak meter for the last 34 pixels or so of the peak
meter. This is a fix for tracktheripper's request.

To do:
Work correctly with dBfs (adjust for dbfs so the redzone
is shorter - 10 pixels?)

Suggestions appreciated. redzone.patch applies to
peakmeter.c in apps/recorder.
This task depends upon

Closed by  Zakk Roberts (midkay)
Tuesday, 27 June 2006, 23:21 GMT
Reason for closing:  Out of Date
Additional comments about closing:  Out of date, pretty useless (doesn\'t respect scaling).. maybe a new version later.
Comment by Anonymous Submitter - Monday, 05 January 2004, 13:02 GMT

Hi Blue
This patch disregards the scaling of the peak values. Thus
depending on the settings linear / logarithmic / min / max
the red zone marks different ranges. A red zone could be
useful if it really marked e.g. the range of 0db .. -6db.
Thus it would be better to calculate the lower limit of the
red zone each time the scale / min / max value changes.

Comment by Zakk Roberts (midkay) - Thursday, 08 January 2004, 20:20 GMT

Hi there!
Right off the bat, I'm not Blue[chip]... :)

But for the real reply:
This is planned. I plan to make it customizable, auto sizable,
Comment by Platoche (platoche) - Friday, 18 November 2005, 18:18 GMT

Is this patch work with Iriver Ihp140 ? and how to apply
this patch in RockBox ?

Comment by fabrice dussapt (gaston) - Sunday, 02 April 2006, 18:13 GMT
is this task dead ?
will it work with peakmeter bars that respect X margins ?