On Tuesday, November 29, 2011, D. Michael McIntyre wrote: > I guess you could search back in time for the last thing Rosegarden actively > set it to, and assume that's the current value...
Don't forget that the last thing Rosegarden set that controller to could absolutely be outside the current segment you're looking at, and even outside the current track. You're going to have to pretty much iterate backwards through the entire composition looking for everything that plays through the instrument in question. If you encounter conflicting values due to someone making some kind of mistake (eg. they moved a part to play via a different instrument, not realizing it conflicted with controllers in some other part) then I guess you just have to pick something and make your best guess. It's pretty ugly, but if you want to wrestle with it, I certainly don't object to your having at it. I just expect what you'll wind up with will be something that works under certain conditions pretty well, but is very fragile, and easily broken. Really, it seems a lot more sensible for Rosegarden to do controllers on some "conductor track" at the global level, on a per instrument basis. Rosegarden definitely gives you the rope to hang yourself with in this respect, since you won't see controllers that are in some other segment, even though they definitely affect the MIDI channel you're using. I think some of the fundamental design decisions were really questionable in retrospect, but we've all inherited that legacy, myself included. -- D. Michael McIntyre ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel