百合池 : Adding lyrics into backslash temporary voices

标签 lilypond

对于 Lilypond 的详细信息,我还很陌生,但我遇到了一个问题。 每当我用反斜杠引入两个新的临时声音 <<{ }\\\\{ }>> ,歌词会跳过这些声音:

Lyrics = \lyricmode {Et lux per -- pe -- tu -- a }
\score {
  \new ChoirStaff
  <<
  \new Voice = "soprano"
  \relative c' {
    \clef treble
    c4 f8 f
    <<{a a}\\{f f}>>
    c'4
  }
  \new Lyrics \lyricsto "soprano" { \Lyrics }
  >>
}

这是文档:http://lilybin.com/xbi9lm/1

我尝试了很多事情,其中​​一个有趣的事情是:

Lyrics = \lyricmode {Et lux per a }
LyricsTwo = \lyricmode {pe -- tu }

\score {
  \new ChoirStaff
  <<
  \new Voice = "soprano"
  \relative c' {
    \clef treble
    c4 f8 f
    <<{a a}\\{f f}\new Lyrics \lyricsto "2" {\LyricsTwo}>>
    c'4
  }
  \new Lyrics \lyricsto "soprano" { \Lyrics }
  \new Voice = "alto"
  \relative c' {
    \clef treble
    c1
  }
  >>
}

这是文档:http://lilybin.com/xbi9lm/2

使用反斜杠作为临时声音会创建两个名为“1”和“2”的声音,这就是我尝试过的,但不知何故歌词低于整个乐谱?

我经常使用它们,但笔记/时间非常短。

我完全不知所措,所以如果有人有一个好的解决方案将歌词集成到临时的多个反斜杠声音中,我洗耳恭听!

最佳答案

对于键盘音乐,我也使用 << { … } \\ { … } >>记谱法很多,对于有歌词的音乐,我更喜欢给 Lilypond 一个声音来挂歌词。我遗漏了\\ ,Lilypond 将考虑 << … >> 的内部因为属于同一个声音。我们只希望两者之一属于其中,因此我们明确为另一个声明不同的声音。

Lyrics = \lyricmode { Et lux per -- pe -- tu -- a }

\score {
  \new ChoirStaff <<
    \new Voice = "soprano" \relative c' {
      \clef treble
      c4 f8 f
      <<
        { \voiceOne a a }
        \new Voice { \voiceTwo f f }
      >>
      \oneVoice c'4
    }
    \new Lyrics \lyricsto "soprano" { \Lyrics }
    \new Voice = "alto"
    \relative c' {
      \clef treble
      c1
    }
  >>
}

输出:

enter image description here

\voiceOne , \voiceTwo\oneVoice我所说的宏是双反斜杠符号在幕后调用的宏,以使声音看起来像声音 1 和 2(主要是词干方向)。我相信你能解决问题。

关于百合池 : Adding lyrics into backslash temporary voices,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68982513/

相关文章:

midi - 如何让lilypond在midi输出中产生滑音

lilypond - 如何将不同时间点的音符连接成和弦?

javascript - 如何从 bison 文件生成带有 JISON 的解析器

输出 a\score block 的 Lilypond 宏

dry - 在 LilyPond 中,你如何改变音乐表达?

Lilypond:同时生成 MIDI 和 PDF 输出

text - LilyPond:格式化长脚注

python - Music21 - 无法显示休止符

python - REGEX 解析来自 latex 行的命令 - Python

Lilypond 在每个小节上显示和弦