Details

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.

TO DO:
- 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.