[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tie & tag
From: |
Aaron Hill |
Subject: |
Re: tie & tag |
Date: |
Fri, 22 Nov 2019 14:08:54 -0800 |
User-agent: |
Roundcube Webmail/1.3.8 |
On 2019-11-22 12:49 pm, Gianmaria Lari wrote:
Your code surprise me, so probably I didn't understand how tag do work.
I thought that this
\pushToTag #'here c' \tag #'here { g' }
would be 'converted' to
c' { g' }
[ . . . ]
Could you please give me some hints?
In part, I think the \tag being named #'here is adding to the confusion.
A \tag is not a location per se, but rather it marks the following bit
of music with some identifier. It is then this marked music that may be
modified by subsequent commands. Consider:
%%%%
\version "2.19.83"
someMusic = \fixed c' {
%% pushTo --. .-- appendTo
%% v v
c4 d \tag #'first { e f g } a \tag #'second < b d' > c' d'
%% ^ ^
%% pushTo --' '-- appendTo
}
{
\cadenzaOn
\appendToTag #'second \tweak style #'harmonic f''4-2 %% Last
\appendToTag #'second \tweak style #'cross f''4-1 %% ^
\pushToTag #'second \tweak style #'harmonic g'4-2 %% | Order
\pushToTag #'second \tweak style #'cross g'4-1 %% | of
\appendToTag #'first \tweak style #'harmonic g'4-2 %% | Appli-
\appendToTag #'first \tweak style #'cross g'4-1 %% | cation
\pushToTag #'first \tweak style #'harmonic e'4-2 %% '
\pushToTag #'first \tweak style #'cross e'4-1 %% First
\someMusic
}
%%%%
Hopefully my crude ASCII-art above makes it through intact.
-- Aaron Hill
tags.cropped.png
Description: PNG image
- Re: tie & tag, (continued)
- Re: tie & tag, David Kastrup, 2019/11/21
- Re: tie & tag, Gianmaria Lari, 2019/11/21
- Re: tie & tag, Gianmaria Lari, 2019/11/21
- Re: tie & tag, Aaron Hill, 2019/11/21
- Re: tie & tag, Aaron Hill, 2019/11/21
- Re: tie & tag, Gianmaria Lari, 2019/11/22
- Re: tie & tag, Gianmaria Lari, 2019/11/22
- Re: tie & tag, Gianmaria Lari, 2019/11/22
- Re: tie & tag, Aaron Hill, 2019/11/22
- Re: tie & tag, Gianmaria Lari, 2019/11/22
- Re: tie & tag,
Aaron Hill <=
- Re: tie & tag, Gianmaria Lari, 2019/11/25
- Re: tie & tag, Gianmaria Lari, 2019/11/25