我想在LilyPond中转录舒曼的Kreisleriana,Op16-7,但我不知道重现附图中红圈部分的源代码。我想知道相关部分的 LilyPond 源代码,或者是否有人知道注释的结构。预先感谢您。
注意:我是日本人,本文是使用 DeepL 从日语翻译而来,因为我不熟悉英语。
--LilyPond 的版本和语言--
版本:2.24.3
语言:英语
尝试一下。
1。如果你认为G的第16个音符和第32个三连音(装饰音)重叠
1-1。当使用“<<>>”时
源代码:
\version "2.24.3"
\language "english"
global = {
\time 2/4
\tempo "Sehr rasch" 4 = 144
\key c \minor
\numericTimeSignature
}
right = \relative c'' {
\global
\clef treble
<< { \stemUp g16 } { \grace { \stemDown g32 c d } } >>
}
left = \relative c {
\global
\clef bass
r16
}
\score {
\context PianoStaff <<
\new Staff {
\right
}
\new Staff {
\left
}
>>
\layout {
\override Score.Clef.break-visibility = #all-invisible
\override Score.KeySignature.break-visibility = #all-invisible
\override Score.SystemStartBar.collapse-height = #1
}
\midi {}
}
输出:
1-2。按原样描述时
在上面的源代码中,仅更改“right”,如下。
源代码(仅修正部分):
right = \relative c'' {
\global
\clef treble
\stemUp g16 \grace { \stemDown g32 c d }
}
输出:
在上面的尝试中,我以为G的第16个音符和第32个三连音(装饰音)重叠了,但是没有成功。 (我怀疑主音符和装饰音符是否一开始就重叠了......)也许音乐解释和源代码描述都存在错误。我对音乐一无所知,而且我是 LilyPond 的新手,所以这就是我得到的。我一直在浏览有关LilyPond和音乐的官方文档和网站,但一直没能解决问题。请帮助我!
这是您可以做到的一种方法:
\version "2.24.3"
\language "english"
global = {
\time 2/4
\tempo "Sehr rasch" 4 = 144
\key c \minor
\numericTimeSignature
}
right = \relative c'' {
\global
\clef treble
\partial 16
<<
{ g16 }
\\
{ \magnifyMusic #2/3 { \omit TupletNumber \tuplet 3/2 { g32 c d } } }
>>
ef16( fs, c' ef)
}
left = \relative c {
\global
\clef bass
\partial 16
r16
<g c a'>8->\arpeggio r
}
\score {
\context PianoStaff <<
\new Staff {
\right
}
\new Staff {
\left
}
>>
\layout {
\override Score.Clef.break-visibility = #all-invisible
\override Score.KeySignature.break-visibility = #all-invisible
\override Score.SystemStartBar.collapse-height = #1
}
\midi {}
}
这里发生的情况是,我们注意到装饰音实际上是测量的拾音音符(部分测量),并且它们应该与左手的第 16 个休止符对齐。这些拾音音符是三连音,但没有三连音数且更小,因此我们将音乐放大 2/3(即缩小)。此外,同时音符的结构是
<< { } \\ { } >>
。注意中间的两个反斜杠。 (这过于简单化了,请参阅https://lilypond.org/doc/v2.24/Documentation/notation/multiple-voices)
对于初学者来说需要了解的内容有很多,但就是这样。