On Saturday, January 21, 2012, Tom Breton (Tehom) wrote: > channel set to 2." implying that (as I suspected) SoftSynth are not > playing on distinct channels as MIDI are.
Each one is basically a channel unto itself. I think you can safely just ignore plugin instruments for your purposes, and save some headaches. > I also added another example file with a fixed instrument, this one saved > with the new code. Not finding the new example files reminded me to run scripts/rebuild-qrc manually. On doing so, I found I've apparently been adding things for a long time without bothering to follow up and see that they showed up as expected. That embarrasses me. Oh well. It's fixed now. Some reactions... First, I'm not sure what cool thing the provided example files are supposed to be showing me. It isn't that apparent, since I don't know what controllers or whatever to look for, to watch what changing. I'm too lazy to dig around in the event list to try to figure it out. I set up an example of my own, with volume and pan controllers doing opposing things in segments on the same track. It works fine. I haven't really been able to break it, but then I haven't really been able to think up inventive ways to break it either. It's sort of an invisible feature that quietly does a whole lot of things to make something cool but subtle possible. I did try dinking around with some pitch bendy compositions and seeing what would happen when I jumped playback around randomly. I couldn't seem to shake it, but when I compared with standard Rosegarden, I didn't really notice any obvious difference, so I'm not convinced I actually accomplished anything with those tests. (The last time I thought your new stuff was bullet proof, it turned out you hadn't even committed it yet, and I was seeing differences that weren't even there! My powers of observation are, therefore, highly suspect!) I do see a big can of worms when it comes to percussion though. Try loading "Stormy Riders" or "Bogus Surf Jam" and the drums are coming out with a piano. I eventually managed to get percussion working by checking the percussion checkbox. I kind of hate to force everyone to go fiddle with that checkbox in order to get old files to play. Instrument #10 should probably default to being fixed on channel 10, and that would probably take care of it. Probably. As far as fixing channels, I think I'd favor just having a simple checkbox here, and while in fixed mode, the instrument uses whatever channel its instrument number is. (Actually, I think I'd do a combo box, with something like, "Channel: [auto | fixed]" instead of a checkbox.) Rosegarden used to have independent channel controls per instrument, and you could set instrument #3 to channel 6 if you wanted. This caused no end of confusion, and several recurring themes in the way of bug reports. It literally took me years to figure out the common denominator behind all of those problems, and that's why I removed the channel controls, imposed a fixed relationship between the instrument number and the channel number, and put in that whole "channels were remapped" thing that is now deprecated. I still think that was the right call. It would probably complicate your allocation logic a little bit, but I think you can probably deal with it. When this box is checked on instrument #4, find whatever instrument is using channel 4, switch it over to some other available channel, and switch instrument #4 to channel 4. Life just seems less complicated that way, and I can't now, as then, think of any reason why people should ever _have_ to have instrument #3 play on channel 12. It shouldn't constrain anybody's ability to achieve something. All in all though, it seems pretty solid, Tom. Nothing really jumps out as being different, you can move segments full of pitch bends and so forth around randomly without causing any obvious strange things to happen, and it doesn't seem possible to get the whole thing out of whack by jumping around. I don't notice some crazy amount of processing overhead either. I don't think I have a problem with the idea of merging this into mainline Rosegarden whenever you think it's had long enough to bake. -- D. Michael McIntyre ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
