On Tuesday 11 July 2006 05:05 am, Jaakko Kyro wrote:
> > I was thinking track for this all along, but Chris's simple "Aren't these
> > instrument parameters?" got gears in my head turning, and I did a 180.
> > Yes, I think so.
>
> I discussed the same thing some time ago, and got the same answer.
> Still somehow I still have the feeling that this instrument is not the same
> as the MIDI or DSSI one. I think we're talking about a concept. of higher
> level of abstraction.

This is the way I think of it. I was calling for something like an InstDef 
that gets attached to a Track.

> > So color, clef, transposition, highest/lowest playable notes go into this
> > new dialog for use at segment creation time.  It makes sense.  
> > Especially when instruments can belong to segments individually.  So a
> > trumpet instrument is always device X channel Y color Z treble clef -2
> > etc., no matter where you assign that instrument.
>
> The problem I ran into with this is, that in the notation view most of
> these properties apply to a staff which again corresponds to a track. Is
> there a use case for say, changing the transposition in the middle of a
> staff? There clearly is for changing the MIDI patch.

Technically, a Staff has a one-to-one relationship with Segment. I don't like 
that, but I don't see that as likely to change. To get around that, I've 
attached a StaffType parameter to the Track, which forces all the staffs on 
that track to look the same. Changing from a StdStaff to a TabStaff for a 
Segment in the middle of a Track is undesirable. Ditto for things like 
transposition or the number of strings a TabStaff has. Conceptually, these 
are all track-wide (or greater in the case of InstDef) settings, so I think 
attaching them to Segment isn't profitable.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to