On Friday 27 July 2007 00:03, Alessandro Preziosi wrote: > Tuning belonging to composition is a good thing most of the times, but I > don't know... anyway it toggles the possibility of having different tunings > in a song, am I right? Mybe it was better as property of each track, that's
Composition owns the tabTunings, but Track gets an id. It's similar to how Composition owns Track, and Segment gets an id. There can be many tabTunings in Composition. Each Track can pick whichever one it wants to use. > As for the menu you proposed in the previous message it seems a very good > idea to me. For a more intuitive creation of tracks with different notation > types I think there could be a menu for the draw tool (like in the photo I > attached). Then once you wrote in a track, for example, a piano segment, if > you try to put a guitar segment in that track it will show an error message > or do automatic translation to the different kind of score. If I understood At present, I have StaffType in the Track but not in the Segment. I want to leave it this way for the time being because I'm a lazy programmer and want to see how the tablature editing mechanism will work. StaffType in Segment (as well as in Track) sounds good in order to move Segments across Tracks and have the tablature auto-generation routines "do the right thing." At present, those routines are very primitive, so it doesn't matter yet. > well it seems to me that the notation-editor (didn't already take a look at > the code) is much directly related to events, mmm I think it would be > preferable to have it just "exporting" the notes as raw events, but using > internally things like repeats, go to... Segment holds the actual Events. Staff creates a wrapper around each Event so that it can hold display info (pixmap and such). The wrapped Event is called a ViewElement. NotationElement inherits from ViewElement, and provides some extra stuff for NotationView. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
