Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

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

Attached to Project: Rockbox
Opened by Antoni (slash14) - Tuesday, 04 December 2007, 00:00 GMT+2
Last edited by Alex Parker (BigBambi) - Sunday, 06 June 2010, 11:57 GMT+2
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Player Type Iriver H100 series
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

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.

Discussion in the forums about this plugin is here:
http://forums.rockbox.org/index.php?topic=14170.0
This task depends upon

Closed by  Alex Parker (BigBambi)
Sunday, 06 June 2010, 11:57 GMT+2
Reason for closing:  Out of Date
Comment by Antoni (slash14) - Tuesday, 04 December 2007, 00:05 GMT+2
Seems that my files were not uploaded with my previous message.
Here they are.
Comment by Antoni (slash14) - Tuesday, 04 December 2007, 00:06 GMT+2
Here they are FINALLY (sorry, first time I use this interface and it's getting late for me.
Comment by Peter D'Hoye (petur) - Sunday, 09 December 2007, 19:43 GMT+2

Loading...