On Sunday 25 July 2004 03:54 pm, William wrote:

> > To be fully functional, the program change event needs to be able to
> > include a bank change.
>
> It would be a useful start to have the program names for program-change
> events.

I guess, but I don't really feel like it's worth it.  In of itself, it 
wouldn't go very far toward furthering the real goal, and it would not be 
especially trivial to do.  I can't find any clean way to tell what the bank 
is supposed to be, so there's no way to display the correct program changes 
in a combo box anyway.  It could be done through some hackery maybe, but that 
would be hackery ultimately going in the wrong direction for nothing.  Effort 
would be better invested doing all of this right from the ground up.

> > Currently what amounts to a "program change" as far as I'm
> > concerned involves a MIDI_CONTROLLER_BANK_MSB controller, a
> > MIDI_CONTROLLER_BANK_LSB controller, and a ProgramChange.  Being able to

> How about a widget with a list organised into different instrument
> categories of all program-names across all banks that have been loaded with
> soundfont data?

A widget associated with which event?  That's the whole problem.  Regardless 
of how pretty or ugly the widget is, there's nothing to associate it with.  
The infrastructure doesn't exist.  It would either have to be a widget 
associated with three events (which just isn't how any of this at the 
editview level is built to work), or a widget associated with some entirely 
new event class.  I have a lot of ideas about the latter approach, but none 
of them are last minute trivial cut and paste fixups.

> > As for how to provide some interface for creating these things from the
> > notation view, the easy thing is probably a new program ruler that allows
> > numerical selection of program only. [...]

> An alternative is a popup menu of program names for each stave.

Associated with what event?  It's exactly the same problem as in the event 
list editor.   The only event we have to associate it with is fundamentally 
broken for this purpose.  (You just *can't* have program names without the 
bank.  Even if all you can change at this level is the program, there's no 
way to display the correct programs unless the bank is known.)  The only 
short-term thing worth considering IMHO is a numerical program ruler, but 
that would be a short term ugly hack to be obliterated and forgotten ASAP.  
It's a lot of effort to do, and it's garbage, so I think it's a waste of 
time.

> > If we're settling for that, a program ruler is the logical, fast way to
> > provide it from notation.

> Do you have plan for how a program-by-number ruler in the notation editor
> might work with multiple staves?

Not really, no, but I suppose it would work the same way the other 
controller/properties rulers work with multiple staves.  Which is what?  
They're only active on whichever segments are on the currently active track, 
I think.  I'd have to go look to be sure.

Anyway, providing a fully functional mid-composition program change 
infrastructure is a tall order.  I certainly can't do this before 1.0 no 
matter who thinks what is or isn't a good idea.  As far as I'm concerned, 
it's completely out of scope for 1.0.  If someone else develops it, fine.  I 
don't think any of this is a bad idea so much as that it's just too much 
effort too late in the game.  We need to get 1.0 released.  If someone else 
disagrees and wants to code and test all of this, and can do it before 1.0, 
then fine.  I can't.

-- 
Michael McIntyre  ----   Silvan <[EMAIL PROTECTED]>
Linux fanatic, and certified Geek;  registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/
http://rosegarden.sourceforge.net/tutorial/


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to