On Friday, September 30, 2016 5:06:01 PM EDT termtech wrote: > On Friday, September 30, 2016 4:10:31 PM EDT termtech wrote: > > * 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! > > In fact, switching can also actually rearrange the notes on the canvas ! > Interesting. Don't be alarmed, that's the way it is. > The same thing would happen in the 'old drum' tracks if a new map was > loaded. Except now it's gonna do it dynamically if multiple programmed > patch changes are encountered while playing a 'new drum' track. > > Since there's only one drum map on the left, /all/ the notes in the part > will rearrange. Technically I suppose the ideal solution would be to put > multiple Drum Lists - horizontally, one /before/ each programmed patch > change ! That way only the notes in a particular program section would > rearrange. > > T.
Duh. Or, if that bothers you, just use separate parts! That's why we got 'em. T. > > > 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
