lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Syntax explanations


From: Carl D. Sorensen
Subject: RE: Syntax explanations
Date: Thu, 12 Jun 2008 12:30:43 -0600


> -----Original Message-----
> From: Reinhold Kainhofer [mailto:address@hidden
> Sent: Thursday, June 12, 2008 12:07 PM
> To: Carl D. Sorensen
> Cc: lily-devel
> Subject: Re: Syntax explanations
>
> > 4. LilyPond supports the first inversion in the form of
> added bass notes.
> > So the first inversion of C major would be c:/g.   To get the second
> > inversion of C major, you would need to do e:6-3-^5 or e:m6-^5.
> > However, both of these techniques require you to know the chord and
> > calculate either the fifth pitch (for the first inversion) or the
> > third pitch (for the second inversion) so they may not be
> helpful for musicxml2ly.
>
> Thanks for the hint. I already have the base pitch of the
> chord (the <root> element in MusicXML), so this would be
> possible in theory, but apparently quite some work.
>

While we're discussing it, I wonder if it would be possible to modify the 
parser to add a modifer "," after a step to drop it an octave.  If we could do 
that, we could notate the first inversion as "5," and the second inversion as 
"5,.3,"  I think it would only require making changes to the parser to allow , 
in addition to + and - as pitch alteration modifiers.

Carl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]