[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accessing absolute pitch data from within \relative?
From: |
Mark Polesky |
Subject: |
Re: accessing absolute pitch data from within \relative? |
Date: |
Mon, 15 Jun 2009 23:30:51 -0700 (PDT) |
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