Cantabile Development Blog

Follow the development of music software Cantabile

Articles | Full Index | RSS Feed


New transport mechanism and updated status bar

I've now almost finished re-integrating the MIDI file player.

In the process of doing this I decided to re-write the way Cantabile's transport controls, metronome and sequencer all integrate:

  • The metronome is now implemented internally as two separate objects - a metronome sounds object and a metronome sequencer object. One makes the sounds, the other generates the beat signals as integrates with the master transport object
  • A new master transport object that centralises everything related to transport controls, current play position, tempo, clock sync etc...
  • Changes to the MIDI sequencer to integrate with the master transport and the metronome sounds object.

Internally, this means everything related to tranport control now goes through a single central place and should simplify things when I get around to doing a VST version of Cantabile.

Outwardly, these changes don't affect alot although there are some minor changes:

  • There is no longer an option on the metronome to sync with the sequencer. This is now automatic when a MIDI file is loaded. To use the metronome unsynced (ie: as a typical metronome) you must unload any the MIDI file.

  • More information displayed on the status bar:

images/StatusBar2_small.png

(Also note, new memory usage indicator which displays physical memory usage, working set size and number of page faults)

So I still a little work left on cleaning up the sequencer which I'm going to try and finish off now.

Posted on April 9, 2008

Share This

Leave A Comment

All comments will be reviewed for spam before being displayed.