Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Deprecated: Function create_function() is deprecated in /sites/ on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /sites/ on line 845 Deprecated: Function create_function() is deprecated in /sites/ on line 111 FS#5021 : Recording Histogram



FS#5021 - Recording Histogram

Attached to Project: Rockbox
Opened by Jvo Studer (vinylivo) - Tuesday, 04 April 2006, 11:06 GMT
Last edited by Peter D'Hoye (petur) - Wednesday, 03 March 2010, 22:17 GMT
Task Type Patches
Category Recording
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


So here is a separated patch (from the agc_enhance_pack) for recording histogram, battery remain time and disk space.

It shows a graph of peak levels over time. A balance meter shows the actual stereo image position. The battery remain time and remaining disk space are shown in graphic and numeric values too.
Use -p1 for patching.
This task depends upon

Closed by  Peter D'Hoye (petur)
Wednesday, 03 March 2010, 22:17 GMT
Reason for closing:  Accepted
Additional comments about closing:  histogram accepted, balance, disk and battery parts not taken
Comment by Jvo Studer (vinylivo) - Sunday, 09 April 2006, 17:59 GMT
updated for new language format and added coulour support for histogramm.

see AGC patch for a version with AGC and Histogram feature because it's not so easy to apply both patches seperate.

this patch was done to daily-2006-04-08 and u need -p1 option for patching.
Comment by Paul van der Heu (paulheu) - Sunday, 18 June 2006, 12:00 GMT
Anyone heard anything from vinylIvo recently? I'd like to see and update to the histogram patch to go with the current AGC build.. I kinda miss the pretty pictures..
Comment by Paul van der Heu (paulheu) - Tuesday, 22 August 2006, 15:05 GMT
I synced the histogram patch against current CVS (060822). As far as I can see it works fine..
Comment by Paul van der Heu (paulheu) - Tuesday, 22 August 2006, 18:17 GMT
Using the patch together with the Peakmeter margin and heights patch ( does not work.. so some works needs to be done there..
Comment by Martin Scarratt (mmmm-) - Wednesday, 23 August 2006, 10:41 GMT
Just because one patch isn't compatible with another doesn't mean that work needs to be done.
Work only needs doing if either patch isn't compatible with CVS.
If one of them got committed, then work would need to be done on the other to make them compatible.
Comment by Jonas Häggqvist (rasher) - Wednesday, 23 August 2006, 11:31 GMT
In fact, patches should not be adapted to work with other patches, as this makes them harder to test and incorporate into CVS. As Martin said, the only thing that matters is that the patch applies against CVS.
Comment by Paul van der Heu (paulheu) - Wednesday, 23 August 2006, 11:46 GMT
I know and understand, it was 'just' a remark..;) As far as I can see the histogram patch I synced works fine against current CVS..

so there! B)
Comment by Peter D'Hoye (petur) - Friday, 03 August 2007, 20:53 GMT
*marker* part of REP
Comment by Sanggon, Lee (isanggon) - Thursday, 24 July 2008, 02:11 GMT
re-synced incompletely. Almost successful, but histogram printed wrong position. My lack of understanding this patch, I cound not completed this patch. I attach patch files here. Is any one can complete this, please help. I think there remains small, but big step.

I didn't worked saparetely with contdown patch. Attached patch is histogram patch + countdown patch.
When apply these patch, rec_button patch first. rec_button was done by kugel, but you should fix for hxxx series. you can easily fix keymap file, compare with attached keymap file.

rec button patch is here.
Comment by Sanggon, Lee (isanggon) - Thursday, 24 July 2008, 06:23 GMT
Now, solved histogram positon problem. This problem was related with statusbar issue.
Remaining works is two.

1. remove last blank line upper of histogram
2. filename printing issue : when goes in recording, filename is missing.
Comment by Peter D'Hoye (petur) - Sunday, 19 October 2008, 21:14 GMT
I'm looking at getting the remainders of the REP. Your updated patch contains two files that do not belong there and I think some other stuff that was already committed. I'm basing my work on an earlier patch, unless you tell me you fixed some bugs in there...
Comment by Peter D'Hoye (petur) - Thursday, 11 February 2010, 23:20 GMT
YAY... histogram patch - next generation.
This patch does histogram only, no battery, diskspace or balance

Only tested briefly on h300
Comment by Peter D'Hoye (petur) - Saturday, 13 February 2010, 00:22 GMT
Also (briefly) tested on h1x0, enabled for h1x0 and a small cosmetic fix
Comment by Jonathan Gordon (jdgordon) - Saturday, 13 February 2010, 00:37 GMT
can you please change it so its drawn like a widget or something our of recording.c? move all its logic out into apps/histogram.c or something? if it uses the peak values does that mean it could be used on the wps also?

please please please just change (at least) the drawing code to just draw the historgram in a given viewport on the screen.
Comment by Peter D'Hoye (petur) - Friday, 19 February 2010, 23:45 GMT
code cleanup
Comment by Peter D'Hoye (petur) - Monday, 01 March 2010, 23:41 GMT
code cleanup, RC