> So how does it cope when instrument.isPercussion() == true and the
> instrument
> is #13 or something?
>
> What I'm getting at is trying to find out whether it globs everything
> percussion together on channel 10 or not.

Oh, now I see.  I'm afraid it does put all percussion onto channel 10,
which undercuts our strategy of leaving the specialized stuff to fixed
channels.

That said, the fix is pretty obvious: as before, I'll use the instrument's
fixed channel if it has one.  I had been thinking of that as just an
optimization, implying that it shouldn't be done until everything works.

>> how each particular type of device treats percussion, that would be a
>> lot
>> of work, so in practice we were going to treat channel 10 as being
>> percussion and use fixed channels when more was required.
>
> Doesn't this magic already keep track of banks and programs?  Channel 12
> was
> used for some overlapping segment on some flute track, but we're done with
> it,
> and the channel is up for grabs.  When something else gets it, doesn't it
> send
> the bank and program before sending notes?

Yes.

> If so, it should deal with the XG/GM2 method of setting percussion mode
> automagically, in the normal course of events, with no need to fix the
> channel.  Right?

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.

        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

Reply via email to