lilypond-user
[Top][All Lists]
Advanced

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

Re: Editing notes in a separate file


From: Kieren MacMillan
Subject: Re: Editing notes in a separate file
Date: Sat, 2 Jan 2010 23:55:47 -0500

Hi Michael,

> Unfortunately, editorial changes to note durations are particularly 
> problematic, since they change all of the time values downstream.

Agreed.

> adjustments that went above the level of a single tweak-voice would hit the 
> full staff context.

If the Scheme function took a context [name?] parameter, that would solve any 
problem in this regard.

> a voice full of adjustments can attach them to particular voices even within 
> a single staff context.

Mostly, that's already possible now:

\version "2.13.9"
ms = \relative e'' {
   << { \voiceOne e4 e c d } \context Voice = "2" { \voiceTwo g,1 } >> 
\oneVoice  |
   << { \voiceOne e'4 } \context Voice = "2" { \voiceTwo g, } >> \oneVoice e' 
e2   |
   << { \voiceOne e4 g g2  } \context Voice = "2" { \voiceTwo g,2 r } >> 
\oneVoice  |
}
\markup { ORIGINAL: }
\score { \new Staff \ms }
editionATweaks = {
  s1
  \override Voice.NoteHead #'color = #red s1
  \override Voice.NoteHead #'font-size = #4 s1
}
\markup { TWEAKED: }
\score {
  \new Staff <<
    \ms
    \context Voice = "2" \editionATweaks
  >>
}

> I suspect that you will eventually want a general way to specify any context, 
> not just one enclosing the current one.

Agreed: a more surgical approach would be superior.

Cheers,
Kieren.



reply via email to

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