• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Plugins
  • Assigned To No-one
  • Operating System Iriver H100 series
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by slash14 - 2007-12-03
Last edited by BigBambi - 2010-06-06

FS#8266 - New features for the metronome plugin with source code.

I modified this source code a while ago and didn’t had the time to produce some clean coding so I’m posting it here so people may get this plugin one step further.

The sad news before: the following modification solely concerns the metronome plugin for HP120 as it is the only hardware I have. For this reason and because I’m not a very good coder, I have deeply modified (if not removed) all source code relating to other players and their remote controller (just to make the code clearer for me Wink ). Anyway, I’m sure that good coders should be able to clean the crappy code I added and bring compatibility with all other platforms while keeping the following new functions.

So here is the thing. The good news: I took a rather old metronome source code and added the following features for my own purpose but this might interest other people I guess:
- possibility to change time signature (only number of beats per measure)
- two sounds to identify the first beat from the others
- some kind of graphical representation of beat within the measure.

- bring compatibility with other platforms (ipod and such)
- provide another sound to identify the first beat. The one I used is simply playing in the reverse the samples from the original source code. For this reason, the sound of the first beat in this plugin really sucks (only my opinion Wink )
- add other features ?

So here it is, just my two cents, I hope some of you guys will enjoy those new features and get involved in producing nice code compatible with every hardware Rockbox runs on.
I’m afraid I do not have much time to get involved in going further in the development of this plugin, nor I’m a good coder. I simply hope that my contribution will inspire good coders willing to provide a more complete metronome plugin. Good luck everyone.

A final word: all credits go to the original writer of the metronome plugin (can’t remember its name right now, sorry). I simply added two pieces of code in a nice existing plugin.

Discussion in the forums about this plugin is here:

Closed by  BigBambi
2010-06-06 09:57
Reason for closing:  Out of Date

Seems that my files were not uploaded with my previous message.
Here they are.

Here they are FINALLY (sorry, first time I use this interface and it’s getting late for me.

petur commented on 2007-12-09 18:43

please only provide diffs (patches), see


Available keyboard shortcuts


Task Details

Task Editing