[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how close are we to having an "addAt" or "insertAt" feature?
From: |
Kieren MacMillan |
Subject: |
Re: how close are we to having an "addAt" or "insertAt" feature? |
Date: |
Fri, 28 Feb 2014 10:53:03 -0500 |
Hi Jan-Peter,
> now my family had to leave me here alone …
Sorry to hear that…
On the bright side, that means more uninterrupted Lilypond time! ;)
>> So the ‘test’ in '\addEdition test’ is not related to the ‘test’ in
>> ‘my.test’?
> I am going to produce examples with more meaningful names.
No need. I’m on it! =)
\version "2.18.0"
\include "edition-engraver.ly"
\addEdition edition-engraver-name
% color the notehead red on the second quarter in the second measure
\editionMod edition-engraver-name 2 1/4 edition-name.Staff.A \once \override
NoteHead #'color = #red
% destroy edition-name slur starting on the second quarter in the first measure
\editionMod edition-engraver-name 1 2/4 edition-name.Staff.B \shape #'((0 .
0)(0 . 1)(0 . -1)(0 . 0)) Slur
\layout {
\context {
\Voice
\consists \editionEngraver ##f
}
\context {
\Score
\consists \editionEngraver edition-name
}
}
music = \relative c'' { c4 bes a( g) f e d c }
\score {
<<
\new StaffGroup <<
\new Staff \with { \consists \editionEngraver edition-name } << \music >>
\new Staff \with { \consists \editionEngraver edition-name } << \music >>
>>
>>
}
This seems to work well, and clarifies (at least for me) what the different
references are.
(n.b., I only added the StaffGroup to confirm that it doesn’t mess up the Staff
counter A,B,…)
Now that I’ve gotten my head around it, I will be putting together a
“real-world” example.
Thanks,
Kieren.
- Re: how close are we to having an "addAt" or "insertAt" feature?, David Kastrup, 2014/02/02
- Re: how close are we to having an "addAt" or "insertAt" feature?, Kieren MacMillan, 2014/02/26
- Re: how close are we to having an "addAt" or "insertAt" feature?, Jan-Peter Voigt, 2014/02/27
- Re: how close are we to having an "addAt" or "insertAt" feature?, Jan-Peter Voigt, 2014/02/28
- Re: how close are we to having an "addAt" or "insertAt" feature?,
Kieren MacMillan <=
- Re: how close are we to having an "addAt" or "insertAt" feature?, Kieren MacMillan, 2014/02/28
- Re: how close are we to having an "addAt" or "insertAt" feature?, Jan-Peter Voigt, 2014/02/28
- Re: how close are we to having an "addAt" or "insertAt" feature?, Kieren MacMillan, 2014/02/28
- Re: how close are we to having an "addAt" or "insertAt" feature?, Kieren MacMillan, 2014/02/28