dijous, de novembre 23, 2006

A metronome. Something already related to the expected results

The next step has been to program a software metronom. At this moment I have succeeded in make a very simple metronome nearly without GUI.

I have used the Player class in the MMAPI (Multimedia API) and a little MIDI file to ensure a given tempo (in this case 60bpm).

For now the midlet plays the MIDI file continuosly and I can increase or rate the tempo (with RateControl) having a metronome effect which is quite effective. At the same time I write the bpms in the screen.

The next step will be to make a better GUI showing in some visual way the evolution of the metronome (like in a real one). And I have to arrange too the way in which the changes in tempo are made (not very exact till now).