Lee Michaels "NadaSpam" wrote: > > On Friday 04 February 2005 07:59 pm, William wrote: >> NadaSpam wrote: >> > If you have a generic Staff, the way I see it is that some derived >> > classes might be CommonStaff, PianoStaff, TabStaff, PercussionStaff, >> > ChordStaff. >> >> Why not work from RG's existing classes LinedStaff -> NotationStaff? > > See the "thoughts on tablature" thread.
Yes, I saw it already but in that thread you only discuss Rosegarden's *View classes whereas it was in this thread you discussed new Staff classes. Rosegarden's *Staff classes would surely be the best place to start adding tablature staff support. I think it would be preferable to build on the existing classes unless you can show something is wrong with the design. As for Rosegarden's NotationView being a rather large class, I think that reflects both the complexity of supporting Western musical notation and a preference for keeping logically related components together in one class. >> Although piano music is usually written on 2 staves >> it can also be written on 1, 3 or more staves. > > Then I suppose you could have a MultiStaff class that contains a list of > single staffs. PianoStaff could be a specialization of this, having 2 staves. > Calling it PianoStaff wouldn't mean you'd have to use it for piano tracks. > Just a name of convenience for its most common use. What would PianoStaff have that Rosegarden's NotationStaff does not? > Just sleepiness I guess. It was only 5pm when you emailed that one to the list :) By the way, your ISP is rejecting any emails I try to send you as spam. William "UberSpam" ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
