lilypond-user
[Top][All Lists]
Advanced

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

Re: Chapter 3 of "LilyPond Extending" document


From: David Nalesnik
Subject: Re: Chapter 3 of "LilyPond Extending" document
Date: Thu, 27 Nov 2014 14:53:23 -0600

Hi again,

On Thu, Nov 27, 2014 at 2:39 PM, David Nalesnik <address@hidden> wrote:


You could search the music _expression_ for context modifications.
 
Try running this to see what kind of information would be accessible to you from the music _expression_ you'd be running \naturalizeMusic on:

\displayMusic {
  \key e \major
  cis''1
  \key c \major
  c''1
}

Comparing the output you can see (thankfully) that the 'KeyChangeEvent reflects the transposition:

\displayMusic {
  \transpose c d {
    \key e \major
    cis''1
    \key c \major
    c''1
  }
}

You'd have to make sure that the _expression_ on which you run \naturalizeMusic contains the initial key, though.

HTH,
David

reply via email to

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