* A fix for 'New drum' tracks!:
- Drum maps were not being updated according to track's current port
and channel, and current state of program controller.
So a hook into the global heartbeat timer was added and all drum maps
are updated if necessary. Tested OK so far with multiple parts open
in Drum Editor, and changing various ports, channels, and patches.
NOTE: This means the Drum List can, and will, CHANGE DYNAMICALLY
for example with more than one program change in a part, or simply
dialing in a new port, channel or patch numer!
TODO: Test + fix/improve/optimize more, and remove debugging messages.
Please test and watch for excessive or continuous (!) debugging messages,
or unusual behaviour or slowness etc.
It is a somewhat slightly more costly graphics maneuver to do these
drum map updates, so watch for stuff...
It will be normal to see a small group of messages /whenever/ a
port, channel, or patch changes value. Like this:
MidiTrack::auto_update_drummap: maps not equal
DrumCanvas::rebuildOurDrumMap
DrumCanvas::rebuildOurDrumMap appending:0x4a54bf0
Normally most people will not be switching port, channel, or patch
dozen of times a second, even programmatically, so you should be OK :-)
Tim.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer