Kieren MacMillan wrote:
> How's this?
>
> relativeMusic = \relative
> {
>     c' d e f g g, a b c1
> }
> 
> \displayLilyMusic \relativeMusic

Kieren,
The \displayLilyMusic is not within the \relative block.
So it's the same situation; the command works fine
outside the \relative block, but not within:

\displayLilyMusic \relative { c' d e f g g, a b c1 }
==>
{
  c''4 d'' e'' f'' g'' g' a' b' c''1 
}

but...

\relative { \displayLilyMusic { c' d e f g g, a b c1 } }
==>
{
  c'4 d e f g g, a b c1
}
..which doesn't help because the octaves are all wrong.

Besides, the console display is not the issue; I want to
be able to access the pitch data from within a macro.

But thanks!
- Mark



      


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to