On Monday 09 September 2013 21:44:05 D. Michael McIntyre wrote:
> On 09/09/2013 06:20 PM, Tom Breton (Tehom) wrote:
> >> This is relatively simple to implement. Create a XML file which defines
> >> the
> >> chords (like a major chord consists of a root, major 3rd and a 5th) so
> >> they
> >> are no longer hard coded).
> > 
> > You'd be doing it the hard way, re-inventing all that and debugging it.
> 
> Aye, he would Tom, but on the other hand the advantage of his scheme is
> selective translation of those elements.
> 
> As things normally run, translation is all or nothing, and that's how it
> would come out if we used tr() in the usual fashion for this.  If the
> user is running Rosegarden in Spanish, he gets "mi bemol" as his
> representation of an Eb major chord.  But what if he's working with an
> original score in English that he wants to rearrange, but his English
> kind of sucks?  To get the ability to work with chords in English, he's
> got to use the whole kit and kaboodle in English.
> 
> I like the idea of having this chord business translate independently of
> the overall GUI. 

There is no real relation between notation and chords and the language of the 
tool it self. Even if I'm running a Dutch version of Rosegarden, when the 
document uses chords in a French notation I don't want to change that. At 
least not always :-).

> I suggest getting the most mileage possible out of the guitar chord XML
> we already have.

In fact, that's where I got the idea.

> 
> Having suggested that, then looked at it, it probably makes more sense
> to implement something independently after all.  The scheme Niek came up
> with where you have one note for the bass, one note for the chord, and
> then all the other minor sus4 add9 nonsense tacked on appears to be
> quite at odds with the more limited system of the guitar fretboard
> mechanism, where a few of these bass notes are incorporated as part of
> the fingerings, but there is generally less flexibility. 

Because all notes of a chord are described transposing comes for free. Any 
major chord is a root, 3rd and a 5th. Creating a C major chord all three note 
names are generated and inserted at the correct positions (when needed).
This idea of relative notes opens a lot of interesting options I'm think of 
(generating a guitar part based on a leadsheet, generating a leadsheet, ...).

By the way, I use the QString replace for replacing the {x} patterns by the 
note name. But maybe I might simplify the code there.
For now I'm just exploring some idea's, the good news, it seems to be not that 
difficult!

Best regards,

Niek

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to