> For everything else, just go by the percussion checkbox. If it's checked,
> you
> have another percussion instrument. If it's not, you don't.
Right, that boolean makes its way to the function I check,
Instrument::IsPercussion().
>> That stands to reason, and it doesn't seem too complicated. But I
>> wouldn't be able to test it, since my soundcard doesn't do GM2.
>
> Sure you can. Test it the same way I do. I'm using QSynth along with the
> "Fluid (R3) General MIDI SoundFont (GM)" which are both widely and freely
> available. I'm running Kubuntu 10.04 here, and installed both as distro
> packages. No fuss, no muss. It shouldn't take you 15 minutes to get set
> up
> with it.
I got qsynth when you mentioned it before, but when it didn't work for me
immediately, I decided to spend the time on debugging instead. I will
give it another go.
> Try it and it will really help you understand what the heck I'm talking
> about,
> and I think a lot of things will become more clear to you.
I will.
But there's another aspect that worries me: Presumably we want older cards
like mine to work right too, and they still think 10=percussion. If you
give them percussion on another channel, they won't play percussion, bank
change or no. That's why I seem to be focusing on fixed vs. automatic
channels.
Now the auto logic could support both ways, by being smarter about whether
10=percussion. That implies we'd need to distinguish whether a device
assumes 10=percussion or does percussion by banks (possibly derived from
other information like a GM/GM2 setting).
Using such a flag or enum is easy, getting it is not. I could add to the
device setup dialog. But that'd mean new user-visible strings, and it
seems inconvenient to the user. And I don't understand the types of MIDI
device well enough to do it right. I suppose I could put a temporary
checkbox in the MIDI device dialog for testing, but it wouldn't be a
long-term solution.
Tom Breton (Tehom)
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel