| [ << Text ] | [トップ][目次] | [ Chords >> ] |
| [ < Text: repeatCommands を用いて入れ替え部分のテキストにマークアップを使用する ] | [ 上へ : Top ] | [ Vocal music: 音域をボイスごとに追加する > ] |
Vocal music
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music ] | [ 上へ : Vocal music ] | [ Vocal music: 改行後に分かれる譜について、指示を表示する > ] |
音域をボイスごとに追加する
音域をボイスごとに追加することができます。この場合、衝突を避けるために
Ambitus を手動で移動する必要があります。
\new Staff <<
\new Voice \with {
\consists "Ambitus_engraver"
} \relative c'' {
\override Ambitus.X-offset = #2.0
\voiceOne
c4 a d e
f1
}
\new Voice \with {
\consists "Ambitus_engraver"
} \relative c' {
\voiceTwo
es4 f g as
b1
}
>>
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 音域をボイスごとに追加する ] | [ 上へ : Vocal music ] | [ Vocal music: ボーカル譜にオーケストラの合図音符を追加する > ] |
改行後に分かれる譜について、指示を表示する
このスニペットは \splitStaffBarLine, \convUpStaffBarLine,
\convDownStaffBarLine コマンドを追加します。これらは小節線に矢印を追加し、譜を共有するボイスが次のシステムで譜を分ける場合、あるいは再度合流する場合の指示を表示します。
#(define-markup-command (arrow-at-angle layout props angle-deg length fill)
(number? number? boolean?)
(let* (
(PI-OVER-180 (/ (atan 1 1) 34))
(degrees->radians (lambda (degrees) (* degrees PI-OVER-180)))
(angle-rad (degrees->radians angle-deg))
(target-x (* length (cos angle-rad)))
(target-y (* length (sin angle-rad))))
(interpret-markup layout props
(markup
#:translate (cons (/ target-x 2) (/ target-y 2))
#:rotate angle-deg
#:translate (cons (/ length -2) 0)
#:concat (#:draw-line (cons length 0)
#:arrow-head X RIGHT fill)))))
splitStaffBarLineMarkup = \markup \with-dimensions #'(0 . 0) #'(0 . 0) {
\combine
\arrow-at-angle #45 #(sqrt 8) ##t
\arrow-at-angle #-45 #(sqrt 8) ##t
}
splitStaffBarLine = {
\once \override Staff.BarLine.stencil =
#(lambda (grob)
(ly:stencil-combine-at-edge
(ly:bar-line::print grob)
X RIGHT
(grob-interpret-markup grob splitStaffBarLineMarkup)
0))
\break
}
convDownStaffBarLine = {
\once \override Staff.BarLine.stencil =
#(lambda (grob)
(ly:stencil-combine-at-edge
(ly:bar-line::print grob)
X RIGHT
(grob-interpret-markup grob #{
\markup\with-dimensions #'(0 . 0) #'(0 . 0) {
\translate #'(0 . -.13)\arrow-at-angle #-45 #(sqrt 8) ##t
}#})
0))
\break
}
convUpStaffBarLine = {
\once \override Staff.BarLine.stencil =
#(lambda (grob)
(ly:stencil-combine-at-edge
(ly:bar-line::print grob)
X RIGHT
(grob-interpret-markup grob #{
\markup\with-dimensions #'(0 . 0) #'(0 . 0) {
\translate #'(0 . .14)\arrow-at-angle #45 #(sqrt 8) ##t
}#})
0))
\break
}
\paper {
ragged-right = ##t
short-indent = 10\mm
}
separateSopranos = {
\set Staff.instrumentName = "AI AII"
\set Staff.shortInstrumentName = "AI AII"
\splitStaffBarLine
\change Staff = "up"
}
convSopranos = {
\convDownStaffBarLine
\change Staff = "shared"
\set Staff.instrumentName = "S A"
\set Staff.shortInstrumentName = "S A"
}
sI = {
\voiceOne
\repeat unfold 4 f''2
\separateSopranos
\repeat unfold 4 g''2
\convSopranos
\repeat unfold 4 c''2
}
sII = {
s1*2
\voiceTwo
\change Staff = "up"
\repeat unfold 4 d''2
}
aI = {
\voiceTwo
\repeat unfold 4 a'2
\voiceOne
\repeat unfold 4 b'2
\convUpStaffBarLine
\voiceTwo
\repeat unfold 4 g'2
}
aII = {
s1*2
\voiceTwo
\repeat unfold 4 g'2
}
ten = {
\voiceOne
\repeat unfold 4 c'2
\repeat unfold 4 d'2
\repeat unfold 4 c'2
}
bas = {
\voiceTwo
\repeat unfold 4 f2
\repeat unfold 4 g2
\repeat unfold 4 c2
}
\score {
<<
\new ChoirStaff <<
\new Staff = up \with {
instrumentName = "SI SII"
shortInstrumentName = "SI SII"
} {
s1*4
}
\new Staff = shared \with {
instrumentName = "S A"
shortInstrumentName = "S A"
} <<
\new Voice = sopI \sI
\new Voice = sopII \sII
\new Voice = altI \aI
\new Voice = altII \aII
>>
\new Lyrics \with {
alignBelowContext = up
}
\lyricsto sopII { e f g h }
\new Lyrics \lyricsto altI { a b c d e f g h i j k l }
\new Staff = men \with {
instrumentName = "T B"
shortInstrumentName = "T B"
} <<
\clef F
\new Voice = ten \ten
\new Voice = bas \bas
>>
\new Lyrics \lyricsto bas { a b c d e f g h i j k l }
>>
>>
\layout {
\context {
\Staff \RemoveEmptyStaves
\override VerticalAxisGroup.remove-first = ##t
}
}
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 改行後に分かれる譜について、指示を表示する ] | [ 上へ : Vocal music ] | [ Vocal music: 歌詞の垂直方向のスペースを調整する > ] |
ボーカル譜にオーケストラの合図音符を追加する
これは、ボーカル譜に添えられるピアノ リダクションに多くのオーケストラの合図音符を追加しやすくするためのスニペットです。音楽関数 \cueWhile は 4 つの引数を取ります:
1 つ目は、\addQuote と同様の、合図音符の引用元となる音楽です。2 つ目は、合図音符の前に表示される名前です。3 つ目は、音符を \voiceOne で表示して名前を譜の上に表示するか、
音符を \voiceTwo で表示して名前を譜の下に表示するかを決定する
#UP または #DOWN です。4 つ目は、合図音符が出現する部分のピアノの音楽です。合図音符の前に表示される名前は、音符の左端に揃えられます。様々な楽節を合図音符として表示することができますが、一度に複数個重ねることはできません。
cueWhile =
#(define-music-function
(instrument name dir music)
(string? string? ly:dir? ly:music?)
#{
\cueDuring $instrument #dir {
\once \override TextScript.self-alignment-X = #RIGHT
\once \override TextScript.direction = $dir
<>-\markup { \tiny #name }
$music
}
#})
flute = \relative c'' {
\transposition c'
s4 s4 e g
}
\addQuote "flute" { \flute }
clarinet = \relative c' {
\transposition bes
fis4 d d c
}
\addQuote "clarinet" { \clarinet }
singer = \relative c'' { c4. g8 g4 bes4 }
words = \lyricmode { here's the lyr -- ics }
pianoRH = \relative c'' {
\transposition c'
\cueWhile "clarinet" "Clar." #DOWN { c4. g8 }
\cueWhile "flute" "Flute" #UP { g4 bes4 }
}
pianoLH = \relative c { c4 <c' e> e, <g c> }
\score {
<<
\new Staff {
\new Voice = "singer" {
\singer
}
}
\new Lyrics {
\lyricsto "singer"
\words
}
\new PianoStaff <<
\new Staff {
\new Voice {
\pianoRH
}
}
\new Staff {
\clef "bass"
\pianoLH
}
>>
>>
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: ボーカル譜にオーケストラの合図音符を追加する ] | [ 上へ : Vocal music ] | [ Vocal music: 歌詞音節をメリスマに揃える > ] |
歌詞の垂直方向のスペースを調整する
このスニペットは、歌詞をより譜に近づける方法を示しています。
% Default layout:
<<
\new Staff \new Voice = melody \relative c' {
c4 d e f
g4 f e d
c1
}
\new Lyrics \lyricsto melody { aa aa aa aa aa aa aa aa aa }
\new Staff {
\new Voice = melody \relative c' {
c4 d e f
g4 f e d
c1
}
}
% Reducing the minimum space below the staff and above the lyrics:
\new Lyrics \with {
\override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
#'((basic-distance . 1))
}
\lyricsto melody { aa aa aa aa aa aa aa aa aa }
>>
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 歌詞の垂直方向のスペースを調整する ] | [ 上へ : Vocal music ] | [ Vocal music: Ambitus after key signature > ] |
歌詞音節をメリスマに揃える
デフォルトでは、メリスマの頭の歌詞音節は音符に左揃えされます。これは lyricMelismaAlignment プロパティで変更することができます。
\score {
<<
\new Staff {
\relative c''
\new Voice = "vocal" {
c d~^\markup default d e
c d~^\markup "right aligned" d e
c d~^\markup "center aligned" d e
c d~^\markup "reset to default" d e
}
}
\new Lyrics \lyricsto "vocal" {
word word word
\set lyricMelismaAlignment = #RIGHT
word word word
\set lyricMelismaAlignment = #CENTER
word word word
\unset lyricMelismaAlignment
word word word
}
>>
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 歌詞音節をメリスマに揃える ] | [ 上へ : Vocal music ] | [ Vocal music: 複数のボイスを持つ譜での音域 > ] |
Ambitus after key signature
By default, ambitus are positioned at the left of the clef. The
\ambitusAfter function allows for changing this placement. Syntax is
\ambitusAfter grob-interface (see
Interfaces
Graphical Object Interfaces for a list of possible values for grob-interface).
A common use case is printing the ambitus between key signature and time
signature.
\new Staff \with {
\consists Ambitus_engraver
} \relative {
\ambitusAfter key-signature
\key d \major
es'8 g bes cis d2
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: Ambitus after key signature ] | [ 上へ : Vocal music ] | [ Vocal music: 音域 > ] |
複数のボイスを持つ譜での音域
Staff コンテキストに Ambitus_engraver を追加すると、譜にボイスが複数ある場合でも、譜ごとに音域を表示します。
\new Staff \with {
\consists "Ambitus_engraver"
}
<<
\new Voice \relative c'' {
\voiceOne
c4 a d e
f1
}
\new Voice \relative c' {
\voiceTwo
es4 f g as
b1
}
>>
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 複数のボイスを持つ譜での音域 ] | [ 上へ : Vocal music ] | [ Vocal music: 古代の記譜法のテンプレート -- グレゴリオ聖歌の転写譜 > ] |
音域
音域を表示します。
最高音や最低音が調号に含まれない場合には臨時記号が表示されます。Grob AmbitusNoteHead には加線を含みます。
\layout {
\context {
\Voice
\consists "Ambitus_engraver"
}
}
<<
\new Staff {
\relative c' {
\time 2/4
c4 f'
}
}
\new Staff {
\relative c' {
\time 2/4
\key d \major
cis4 as'
}
}
>>
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 音域 ] | [ 上へ : Vocal music ] | [ Vocal music: アングリカン チャントのテンプレート > ] |
古代の記譜法のテンプレート – グレゴリオ聖歌の転写譜
この例は、グレゴリオ聖歌の転写譜を作成する方法を示しています。グレゴリオ聖歌は小節を持たず、符幹もありません。2 分音符と 4 分音符の符頭と、異なる長さの休符を表示するための特殊な記号しか用いません。
\include "gregorian.ly"
chant = \relative c' {
\set Score.timing = ##f
f4 a2 \divisioMinima
g4 b a2 f2 \divisioMaior
g4( f) f( g) a2 \finalis
}
verba = \lyricmode {
Lo -- rem ip -- sum do -- lor sit a -- met
}
\score {
\new Staff <<
\new Voice = "melody" \chant
\new Lyrics = "one" \lyricsto melody \verba
>>
\layout {
\context {
\Staff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
\hide Stem
}
\context {
\Voice
\override Stem.length = #0
}
\context {
\Score
barAlways = ##t
}
}
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 古代の記譜法のテンプレート -- グレゴリオ聖歌の転写譜 ] | [ 上へ : Vocal music ] | [ Vocal music: 異なる歌詞を同じ行に表示する > ] |
アングリカン チャントのテンプレート
このテンプレートは、詩篇のアングリカン チャントを譜刻する 1 つの方法を示しています。また、詞を音楽の下に独立して追加する方法も示しています。2 つの詞はそれぞれ別の方法で作られています。
SopranoMusic = \relative g' {
g1 | c2 b | a1 | \bar "||"
a1 | d2 c | c b | c1 | \bar "||"
}
AltoMusic = \relative c' {
e1 | g2 g | f1 |
f1 | f2 e | d d | e1 |
}
TenorMusic = \relative a {
c1 | c2 c | c1 |
d1 | g,2 g | g g | g1 |
}
BassMusic = \relative c {
c1 | e2 e | f1 |
d1 | b2 c | g' g | c,1 |
}
global = {
\time 2/2
}
dot = \markup {
\raise #0.7 \musicglyph "dots.dot"
}
tick = \markup {
\raise #1 \fontsize #-5 \musicglyph "scripts.rvarcomma"
}
% Use markup to center the chant on the page
\markup {
\fill-line {
\score { % centered
<<
\new ChoirStaff <<
\new Staff <<
\global
\clef "treble"
\new Voice = "Soprano" <<
\voiceOne
\SopranoMusic
>>
\new Voice = "Alto" <<
\voiceTwo
\AltoMusic
>>
>>
\new Staff <<
\clef "bass"
\global
\new Voice = "Tenor" <<
\voiceOne
\TenorMusic
>>
\new Voice = "Bass" <<
\voiceTwo
\BassMusic
>>
>>
>>
>>
\layout {
\context {
\Score
\override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/2)
}
\context {
\Staff
\remove "Time_signature_engraver"
}
}
} % End score
}
} % End markup
\markup {
\fill-line {
\column {
\left-align {
\null \null \null
\line {
\fontsize #5 O
\fontsize #3 come
let us \bold sing | unto \dot the | Lord : let
}
\line {
us heartily
\concat { re \bold joice }
in the | strength of | our
}
\line {
sal | vation.
}
\null
\line {
\hspace #2.5 8. Today if ye will hear his voice *
}
\line {
\concat { \bold hard en }
\tick not your \tick hearts : as in the pro-
}
\line {
vocation * and as in the \bold day of tempt- \tick
}
\line {
-ation \tick in the \tick wilderness.
}
}
}
}
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: アングリカン チャントのテンプレート ] | [ 上へ : Vocal music ] | [ Vocal music: 歌詞の節のフォントを変更する > ] |
異なる歌詞を同じ行に表示する
例えば演者が頻繁に入れ替わるような歌曲の場合などに、異なる演者の歌詞を 1 行で表示したい場合があります。このスニペットは
\override
VerticalAxisGroup.nonstaff-nonstaff-spacing.minimum-distance = ##f
を用いて、それを実現する方法を示しています。
\layout {
\context {
\Lyrics
\override VerticalAxisGroup.nonstaff-nonstaff-spacing.minimum-distance = ##f
}
}
aliceSings = \markup { \smallCaps "Alice" }
eveSings = \markup { \smallCaps "Eve" }
<<
\new Staff <<
\new Voice = "alice" {
f'4^\aliceSings g' r2 |
s1 |
f'4^\aliceSings g' r2 |
s1 | \break
% ...
\voiceOne
s2 a'8^\aliceSings a' b'4 |
\oneVoice
g'1
}
\new Voice = "eve" {
s1 |
a'2^\eveSings g' |
s1 |
a'2^\eveSings g'
% ...
\voiceTwo
f'4^\eveSings a'8 g' f'4 e' |
\oneVoice
s1
}
>>
\new Lyrics \lyricsto "alice" {
may -- be
sec -- ond
% ...
Shut up, you fool!
}
\new Lyrics \lyricsto "eve" {
that the
words are
% ...
…and then I was like–
}
>>
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 異なる歌詞を同じ行に表示する ] | [ 上へ : Vocal music ] | [ Vocal music: チャントまたは詩編の記譜法 > ] |
歌詞の節のフォントを変更する
歌詞の節ごとにフォントを変更することができます。歌詞番号のフォントも同様です。
\relative c'' {
\time 3/4
g2 e4
a2 f4
g2.
}
\addlyrics {
\set stanza = #"1. "
Hi, my name is Bert.
}
\addlyrics {
\override StanzaNumber.font-name = #"DejaVu Sans"
\set stanza = #"2. "
\override LyricText.font-family = #'typewriter
Oh, ché -- ri, je t'aime
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 歌詞の節のフォントを変更する ] | [ 上へ : Vocal music ] | [ Vocal music: ハイフンを強制的に表示する > ] |
チャントまたは詩編の記譜法
以下のような記譜は、詞が必ずしも同じ長さではない詩編のチャントなどで用いられます。
stemOff = \hide Staff.Stem
stemOn = \undo \stemOff
\score {
\new Staff \with { \remove "Time_signature_engraver" }
{
\key g \minor
\cadenzaOn
\stemOff a'\breve bes'4 g'4
\stemOn a'2 \bar "||"
\stemOff a'\breve g'4 a'4
\stemOn f'2 \bar "||"
\stemOff a'\breve^\markup { \italic flexe }
\stemOn g'2 \bar "||"
}
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: チャントまたは詩編の記譜法 ] | [ 上へ : Vocal music ] | [ Vocal music: 歌詞音節をフォーマットする > ] |
ハイフンを強制的に表示する
ハイフンを挿入するスペースが無いと LilyPond が判断した場合にはデフォルトで省略されますが、この挙動は LyricHyphen の
minimum-distance プロパティでオーバライドすることができます。
\relative c'' {
c32 c c c
c32 c c c
c32 c c c
c32 c c c
}
\addlyrics {
syl -- lab word word
\override LyricHyphen.minimum-distance = #1.0
syl -- lab word word
\override LyricHyphen.minimum-distance = #2.0
syl -- lab word word
\revert LyricHyphen.minimum-distance
syl -- lab word word
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: ハイフンを強制的に表示する ] | [ 上へ : Vocal music ] | [ Vocal music: 歌詞音節の間にタイを入力する > ] |
歌詞音節をフォーマットする
単一の歌詞音節にマークアップ モードを使用することができます。
mel = \relative c'' { c4 c c c }
lyr = \lyricmode {
Lyrics \markup { \italic can } \markup { \with-color #red contain }
\markup { \fontsize #8 \bold Markup! }
}
<<
\new Voice = melody \mel
\new Lyrics \lyricsto melody \lyr
>>
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 歌詞音節をフォーマットする ] | [ 上へ : Vocal music ] | [ Vocal music: 賛美歌のテンプレート > ] |
歌詞音節の間にタイを入力する
これは、音節をチルダで分割することで得ることができます。
\lyrics {
wa~o~a
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 歌詞音節の間にタイを入力する ] | [ 上へ : Vocal music ] | [ Vocal music: 歌詞の揃え位置 > ] |
賛美歌のテンプレート
このテンプレートは、それぞれの行が部分小節で開始し終了する賛美歌を作成する方法を示しています。また、詞を音楽の下に単独で表示する方法も示しています。
Timeline = {
\time 4/4
\tempo 4=96
\partial 2
s2 | s1 | s2 \breathe s2 | s1 | s2 \bar "||" \break
s2 | s1 | s2 \breathe s2 | s1 | s2 \bar "||"
}
SopranoMusic = \relative g' {
g4 g | g g g g | g g g g | g g g g | g2
g4 g | g g g g | g g g g | g g g g | g2
}
AltoMusic = \relative c' {
d4 d | d d d d | d d d d | d d d d | d2
d4 d | d d d d | d d d d | d d d d | d2
}
TenorMusic = \relative a {
b4 b | b b b b | b b b b | b b b b | b2
b4 b | b b b b | b b b b | b b b b | b2
}
BassMusic = \relative g {
g4 g | g g g g | g g g g | g g g g | g2
g4 g | g g g g | g g g g | g g g g | g2
}
global = {
\key g \major
}
\score { % Start score
<<
\new PianoStaff << % Start pianostaff
\new Staff << % Start Staff = RH
\global
\clef "treble"
\new Voice = "Soprano" << % Start Voice = "Soprano"
\Timeline
\voiceOne
\SopranoMusic
>> % End Voice = "Soprano"
\new Voice = "Alto" << % Start Voice = "Alto"
\Timeline
\voiceTwo
\AltoMusic
>> % End Voice = "Alto"
>> % End Staff = RH
\new Staff << % Start Staff = LH
\global
\clef "bass"
\new Voice = "Tenor" << % Start Voice = "Tenor"
\Timeline
\voiceOne
\TenorMusic
>> % End Voice = "Tenor"
\new Voice = "Bass" << % Start Voice = "Bass"
\Timeline
\voiceTwo
\BassMusic
>> % End Voice = "Bass"
>> % End Staff = LH
>> % End pianostaff
>>
} % End score
\markup {
\fill-line {
""
{
\column {
\left-align {
"This is line one of the first verse"
"This is line two of the same"
"And here's line three of the first verse"
"And the last line of the same"
}
}
}
""
}
}
\paper { % Start paper block
indent = 0 % don't indent first system
line-width = 130 % shorten line length to suit music
} % End paper block
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 賛美歌のテンプレート ] | [ 上へ : Vocal music ] | [ Vocal music: 符幹にクロス記号を表示して話の部分を示す > ] |
歌詞の揃え位置
歌詞の水平方向の揃え位置は、LyricText オブジェクトの
self-alignment-X プロパティをオーバライドすることで設定できます。-1 が左、0 が中央、1 が右になります。#LEFT, #CENTER, #RIGHT を用いることもできます。
\layout { ragged-right = ##f }
\relative c'' {
c1
c1
c1
}
\addlyrics {
\once \override LyricText.self-alignment-X = #LEFT
"This is left-aligned"
\once \override LyricText.self-alignment-X = #CENTER
"This is centered"
\once \override LyricText.self-alignment-X = #1
"This is right-aligned"
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 歌詞の揃え位置 ] | [ 上へ : Vocal music ] | [ Vocal music: 2.12 の歌詞のスペーシングを新しいバージョンで得る > ] |
符幹にクロス記号を表示して話の部分を示す
この例は、符幹にクロス記号を表示します。話 (訳注: Sprechgesang と呼ばれます) のセクションの始まりを \speakOn コマンドで、終わりを \speakOff コマンドで示します。
speakOn = {
\override Stem.stencil =
#(lambda (grob)
(let* ((x-parent (ly:grob-parent grob X))
(is-rest? (ly:grob? (ly:grob-object x-parent 'rest))))
(if is-rest?
empty-stencil
(ly:stencil-combine-at-edge
(ly:stem::print grob)
Y
(- (ly:grob-property grob 'direction))
(grob-interpret-markup grob
(markup #:center-align #:fontsize -4
#:musicglyph "noteheads.s2cross"))
-2.3))))
}
speakOff = {
\revert Stem.stencil
\revert Flag.stencil
}
\score {
\new Staff {
\relative c'' {
a4 b a c
\speakOn
g4 f r g
b4 r d e
\speakOff
c4 a g f
}
}
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 符幹にクロス記号を表示して話の部分を示す ] | [ 上へ : Vocal music ] | [ Vocal music: オーケストラ、コーラス、ピアノのテンプレート > ] |
2.12 の歌詞のスペーシングを新しいバージョンで得る
縦方向のスペーシング エンジンはバージョン 2.14 で変更されました。そのため、歌詞が異なってスペーシングされます。
Lyric と Staff コンテキストに対して、スペーシング エンジンがバージョン 2.12 と同様に振る舞うようなプロパティをセットすることができます。
global = {
\key d \major
\time 3/4
}
sopMusic = \relative c' {
% VERSE ONE
fis4 fis fis | \break
fis4. e8 e4
}
altoMusic = \relative c' {
% VERSE ONE
d4 d d |
d4. b8 b4 |
}
tenorMusic = \relative c' {
a4 a a |
b4. g8 g4 |
}
bassMusic = \relative c {
d4 d d |
g,4. g8 g4 |
}
words = \lyricmode {
Great is Thy faith -- ful -- ness,
}
\score {
\new ChoirStaff <<
\new Lyrics = sopranos
\new Staff = women <<
\new Voice = "sopranos" {
\voiceOne
\global \sopMusic
}
\new Voice = "altos" {
\voiceTwo
\global \altoMusic
}
>>
\new Lyrics = "altos"
\new Lyrics = "tenors"
\new Staff = men <<
\clef bass
\new Voice = "tenors" {
\voiceOne
\global \tenorMusic
}
\new Voice = "basses" {
\voiceTwo \global \bassMusic
}
>>
\new Lyrics = basses
\context Lyrics = sopranos \lyricsto sopranos \words
\context Lyrics = altos \lyricsto altos \words
\context Lyrics = tenors \lyricsto tenors \words
\context Lyrics = basses \lyricsto basses \words
>>
\layout {
\context {
\Lyrics
\override VerticalAxisGroup.staff-affinity = ##f
\override VerticalAxisGroup.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 2)
(padding . 2))
}
\context {
\Staff
\override VerticalAxisGroup.staff-staff-spacing =
#'((basic-distance . 0)
(minimum-distance . 2)
(padding . 2))
}
}
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 2.12 の歌詞のスペーシングを新しいバージョンで得る ] | [ 上へ : Vocal music ] | [ Vocal music: 旋律と歌詞を持つピアノ テンプレート > ] |
オーケストラ、コーラス、ピアノのテンプレート
このテンプレートは StaffGroup と GrandStaff コンテキストをネストさせて用いることで、楽器のサブ グループを表示しています。また、\transpose を使用して、移調楽器の音符をコンサート ピッチの状態で変数に格納しています。
#(set-global-staff-size 17)
\paper {
indent = 3.0\cm % add space for instrumentName
short-indent = 1.5\cm % add less space for shortInstrumentName
}
fluteMusic = \relative c' { \key g \major g'1 b }
% Pitches as written on a manuscript for Clarinet in A
% are transposed to concert pitch.
clarinetMusic = \transpose c' a
\relative c'' { \key bes \major bes1 d }
trumpetMusic = \relative c { \key g \major g''1 b }
% Key signature is often omitted for horns
hornMusic = \transpose c' f
\relative c { d'1 fis }
percussionMusic = \relative c { \key g \major g1 b }
sopranoMusic = \relative c'' { \key g \major g'1 b }
sopranoLyrics = \lyricmode { Lyr -- ics }
altoIMusic = \relative c' { \key g \major g'1 b }
altoIIMusic = \relative c' { \key g \major g'1 b }
altoILyrics = \sopranoLyrics
altoIILyrics = \lyricmode { Ah -- ah }
tenorMusic = \relative c' { \clef "treble_8" \key g \major g1 b }
tenorLyrics = \sopranoLyrics
pianoRHMusic = \relative c { \key g \major g''1 b }
pianoLHMusic = \relative c { \clef bass \key g \major g1 b }
violinIMusic = \relative c' { \key g \major g'1 b }
violinIIMusic = \relative c' { \key g \major g'1 b }
violaMusic = \relative c { \clef alto \key g \major g'1 b }
celloMusic = \relative c { \clef bass \key g \major g1 b }
bassMusic = \relative c { \clef "bass_8" \key g \major g,1 b }
\score {
<<
\new StaffGroup = "StaffGroup_woodwinds" <<
\new Staff = "Staff_flute" \with { instrumentName = "Flute" }
\fluteMusic
\new Staff = "Staff_clarinet" \with {
instrumentName = \markup { \concat { "Clarinet in B" \flat } }
}
% Declare that written Middle C in the music
% to follow sounds a concert B flat, for
% output using sounded pitches such as MIDI.
%\transposition bes
% Print music for a B-flat clarinet
\transpose bes c' \clarinetMusic
>>
\new StaffGroup = "StaffGroup_brass" <<
\new Staff = "Staff_hornI" \with { instrumentName = "Horn in F" }
% \transposition f
\transpose f c' \hornMusic
\new Staff = "Staff_trumpet" \with { instrumentName = "Trumpet in C" }
\trumpetMusic
>>
\new RhythmicStaff = "RhythmicStaff_percussion"
\with { instrumentName = "Percussion" }
<<
\percussionMusic
>>
\new PianoStaff \with { instrumentName = "Piano" }
<<
\new Staff { \pianoRHMusic }
\new Staff { \pianoLHMusic }
>>
\new ChoirStaff = "ChoirStaff_choir" <<
\new Staff = "Staff_soprano" \with { instrumentName = "Soprano" }
\new Voice = "soprano"
\sopranoMusic
\new Lyrics \lyricsto "soprano" { \sopranoLyrics }
\new GrandStaff = "GrandStaff_altos"
\with { \accepts Lyrics } <<
\new Staff = "Staff_altoI" \with { instrumentName = "Alto I" }
\new Voice = "altoI"
\altoIMusic
\new Lyrics \lyricsto "altoI" { \altoILyrics }
\new Staff = "Staff_altoII" \with { instrumentName = "Alto II" }
\new Voice = "altoII"
\altoIIMusic
\new Lyrics \lyricsto "altoII" { \altoIILyrics }
>>
\new Staff = "Staff_tenor" \with { instrumentName = "Tenor" }
\new Voice = "tenor"
\tenorMusic
\new Lyrics \lyricsto "tenor" { \tenorLyrics }
>>
\new StaffGroup = "StaffGroup_strings" <<
\new GrandStaff = "GrandStaff_violins" <<
\new Staff = "Staff_violinI" \with { instrumentName = "Violin I" }
\violinIMusic
\new Staff = "Staff_violinII" \with { instrumentName = "Violin II" }
\violinIIMusic
>>
\new Staff = "Staff_viola" \with { instrumentName = "Viola" }
\violaMusic
\new Staff = "Staff_cello" \with { instrumentName = "Cello" }
\celloMusic
\new Staff = "Staff_bass" \with { instrumentName = "Double Bass" }
\bassMusic
>>
>>
\layout { }
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: オーケストラ、コーラス、ピアノのテンプレート ] | [ 上へ : Vocal music ] | [ Vocal music: 歌詞を譜の内部に表示する > ] |
旋律と歌詞を持つピアノ テンプレート
これは一般的な歌曲のフォーマットです: 旋律と歌詞を持つ譜と、その下にピアノ伴奏譜があります。
melody = \relative c'' {
\clef treble
\key c \major
\time 4/4
a b c d
}
text = \lyricmode {
Aaa Bee Cee Dee
}
upper = \relative c'' {
\clef treble
\key c \major
\time 4/4
a4 b c d
}
lower = \relative c {
\clef bass
\key c \major
\time 4/4
a2 c
}
\score {
<<
\new Voice = "mel" { \autoBeamOff \melody }
\new Lyrics \lyricsto mel \text
\new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
>>
\layout {
\context { \Staff \RemoveEmptyStaves }
}
\midi { }
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 旋律と歌詞を持つピアノ テンプレート ] | [ 上へ : Vocal music ] | [ Vocal music: SATB 合唱譜テンプレート - 4 譜 > ] |
歌詞を譜の内部に表示する
歌詞の垂直方向の位置を移動し、譜の内部に表示させることができます。歌詞は
\override LyricText.extra-offset = #'(0 . dy) で移動し、延長線やハイフンを移動する同様のコマンドも必要です。必要な移動量は試行錯誤によって決定します。
<<
\new Staff <<
\new Voice = "voc" \relative c' { \stemDown a bes c8 b c4 }
>>
\new Lyrics \with {
\override LyricText.extra-offset = #'(0 . 8.6)
\override LyricExtender.extra-offset = #'(0 . 8.6)
\override LyricHyphen.extra-offset = #'(0 . 8.6)
} \lyricsto "voc" { La la -- la __ _ la }
>>
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 歌詞を譜の内部に表示する ] | [ 上へ : Vocal music ] | [ Vocal music: 音符、歌詞、コードを持つ単一譜のテンプレート > ] |
SATB 合唱譜テンプレート - 4 譜
SATB 合唱譜テンプレート (4 譜)
global = {
\key c \major
\time 4/4
\dynamicUp
}
sopranonotes = \relative c'' {
c2 \p \< d c d \f
}
sopranowords = \lyricmode { do do do do }
altonotes = \relative c'' {
c2\p d c d
}
altowords = \lyricmode { re re re re }
tenornotes = {
\clef "G_8"
c2\mp d c d
}
tenorwords = \lyricmode { mi mi mi mi }
bassnotes = {
\clef bass
c2\mf d c d
}
basswords = \lyricmode { mi mi mi mi }
\score {
\new ChoirStaff <<
\new Staff <<
\new Voice = "soprano" <<
\global
\sopranonotes
>>
\new Lyrics \lyricsto "soprano" \sopranowords
>>
\new Staff <<
\new Voice = "alto" <<
\global
\altonotes
>>
\new Lyrics \lyricsto "alto" \altowords
>>
\new Staff <<
\new Voice = "tenor" <<
\global
\tenornotes
>>
\new Lyrics \lyricsto "tenor" \tenorwords
>>
\new Staff <<
\new Voice = "bass" <<
\global
\bassnotes
>>
\new Lyrics \lyricsto "bass" \basswords
>>
>>
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: SATB 合唱譜テンプレート - 4 譜 ] | [ 上へ : Vocal music ] | [ Vocal music: 音符、歌詞、コード ネーム、フレット図からなる単一譜のテンプレート > ] |
音符、歌詞、コードを持つ単一譜のテンプレート
これは旋律、歌詞、コードを持つ歌曲の楽譜のためのテンプレートです。
melody = \relative c' {
\clef treble
\key c \major
\time 4/4
a4 b c d
}
text = \lyricmode {
Aaa Bee Cee Dee
}
harmonies = \chordmode {
a2 c
}
\score {
<<
\new ChordNames {
\set chordChanges = ##t
\harmonies
}
\new Voice = "one" { \autoBeamOff \melody }
\new Lyrics \lyricsto "one" \text
>>
\layout { }
\midi { }
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 音符、歌詞、コードを持つ単一譜のテンプレート ] | [ 上へ : Vocal music ] | [ Vocal music: 音符と歌詞を持つ単一譜のテンプレート > ] |
音符、歌詞、コード ネーム、フレット図からなる単一譜のテンプレート
メロディ、歌詞、コード ネーム、フレット図からなるシンプルなリード シートのテンプレートです。
verseI = \lyricmode {
\set stanza = #"1."
This is the first verse
}
verseII = \lyricmode {
\set stanza = #"2."
This is the second verse.
}
theChords = \chordmode {
% insert chords for chordnames and fretboards here
c2 g4 c
}
staffMelody = \relative c' {
\key c \major
\clef treble
% Type notes for melody here
c4 d8 e f4 g
\bar "|."
}
\score {
<<
\context ChordNames { \theChords }
\context FretBoards { \theChords }
\new Staff {
\context Voice = "voiceMelody" { \staffMelody }
}
\new Lyrics = "lyricsI" {
\lyricsto "voiceMelody" \verseI
}
\new Lyrics = "lyricsII" {
\lyricsto "voiceMelody" \verseII
}
>>
\layout { }
\midi { }
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 音符、歌詞、コード ネーム、フレット図からなる単一譜のテンプレート ] | [ 上へ : Vocal music ] | [ Vocal music: 歌詞モードでのスキップ (2) > ] |
音符と歌詞を持つ単一譜のテンプレート
この小さなテンプレートは歌詞を持つ簡単な旋律を表しています。カット&ペーストして、音符を付け加えて、それから歌詞の単語を付け加えてください。この例は自動ビームを off にしています。これはボーカル パートでは一般的なことです。自動ビームを使用するには、対応する行を変更するか、コメント アウトしてください。
melody = \relative c' {
\clef treble
\key c \major
\time 4/4
a4 b c d
}
text = \lyricmode {
Aaa Bee Cee Dee
}
\score{
<<
\new Voice = "one" {
\autoBeamOff
\melody
}
\new Lyrics \lyricsto "one" \text
>>
\layout { }
\midi { }
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 音符と歌詞を持つ単一譜のテンプレート ] | [ 上へ : Vocal music ] | [ Vocal music: 歌詞モードでのスキップ > ] |
歌詞モードでのスキップ (2)
s は \lyricmode では使用できません
(“s” という歌詞が入力されるだけです) が、ダブルクォート ("")
やアンダースコア (_) を使用することができます。例:
<<
\relative c'' { a4 b c d }
\new Lyrics \lyricmode { a4 "" _ gap }
>>
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 歌詞モードでのスキップ (2) ] | [ 上へ : Vocal music ] | [ Vocal music: ディビジを見やすくするために arpeggioBracket を使用する > ] |
歌詞モードでのスキップ
s によるスキップは音符モードや和音モードのみで有効です。歌詞モードなどの他の場合では、\skip コマンドを使用することが推奨されます。
<<
\relative c'' { a1 | a }
\new Lyrics \lyricmode { \skip 1 bla1 }
>>
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 歌詞モードでのスキップ ] | [ 上へ : Vocal music ] | [ Vocal music: タグを使用して同じソースから計量音楽譜と現代譜を生成する > ] |
ディビジを見やすくするために arpeggioBracket を使用する
符幹が存在しないため情報がない場合に、ボイスの分割を arpeggioBracket
で表すことができます。これは合唱曲によく見られます。
\include "english.ly"
\score {
\relative c'' {
\key a \major
\time 2/2
<<
\new Voice = "upper"
<<
{ \voiceOne \arpeggioBracket
a2( b2
<b d>1\arpeggio)
<cs e>\arpeggio ~
<cs e>4
}
\addlyrics { \lyricmode { A -- men. } }
>>
\new Voice = "lower"
{ \voiceTwo
a1 ~
a
a ~
a4 \bar "|."
}
>>
}
\layout { ragged-right = ##t }
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: ディビジを見やすくするために arpeggioBracket を使用する ] | [ 上へ : Vocal music ] | [ Vocal music: オッシアと歌詞の縦方向の揃え位置 > ] |
タグを使用して同じソースから計量音楽譜と現代譜を生成する
タグを使用して、同じ音楽に対して計量音楽譜と現代譜の両方を生成することができます。このスニペットでは、menrest 関数が定義されており、計量音楽における休符の位置は維持しながら、現代譜における休符は通常の位置に配置しています。タグは曲の終わりにある小節線を 2 つの楽譜で異なるものにするために使用していますが、区別が必要な他の場面でも用いることができます:
例えば、現代譜では “全休符” (R1, R\breve など) を使用したいが、計量音楽譜では通常の休符 (r1, r\breve など) を使用したい場合です。計量音楽を現代音楽に変換する作業は通常 “転写 (transcription)” と呼ばれます。
menrest = #(define-music-function (note)
(ly:music?)
#{
\tag #'mens $(make-music 'RestEvent note)
\tag #'mod $(make-music 'RestEvent note 'pitch '())
#})
MensStyle = {
\autoBeamOff
\override NoteHead.style = #'petrucci
\override Score.BarNumber.transparent = ##t
\override Stem.neutral-direction = #up
}
finalis = {
\once \override BreathingSign.stencil = #ly:breathing-sign::finalis
\once \override BreathingSign.Y-offset = #0
\once \override BreathingSign.minimum-X-extent = #'(-1.0 . 0.0)
\once \override BreathingSign.minimum-Y-extent = #'(-2.5 . 2.5)
\breathe
}
Music = \relative c'' {
\set Score.tempoHideNote = ##t
\key f \major
\time 4/4
g1 d'2 \menrest bes4 bes2 a2 r4 g4 fis2.
\tag #'mens { \finalis }
\tag #'mod { \bar "||" }
}
MenLyr = \lyricmode { So farre, deere life, deare life }
ModLyr = \lyricmode { So far, dear life, dear life }
\score {
\keepWithTag #'mens {
<<
\new MensuralStaff
{
\new MensuralVoice = Cantus
\clef "mensural-c1" \MensStyle \Music
}
\new Lyrics \lyricsto Cantus \MenLyr
>>
}
}
\score {
\keepWithTag #'mod {
\new ChoirStaff <<
\new Staff
{
\new Voice = Sop \with {
\remove "Note_heads_engraver"
\consists "Completion_heads_engraver"
\remove "Rest_engraver"
\consists "Completion_rest_engraver" }
{
\shiftDurations #1 #0 { \autoBeamOff \Music }
}
}
\new Lyrics \lyricsto Sop \ModLyr
>>
}
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: タグを使用して同じソースから計量音楽譜と現代譜を生成する ] | [ 上へ : Vocal music ] | [ Vocal music: 共通な歌詞を縦方向に中央揃えする > ] |
オッシアと歌詞の縦方向の揃え位置
このスニペットは、歌詞とオッシアの位置を調整するために
alignBelowContext と alignAboveContext コンテキスト
プロパティを使用する方法を示しています。
\paper {
ragged-right = ##t
}
\relative c' <<
\new Staff = "1" { c4 c s2 }
\new Staff = "2" { c4 c s2 }
\new Staff = "3" { c4 c s2 }
{ \skip 2
<<
\lyrics {
\set alignBelowContext = #"1"
lyrics4 below
}
\new Staff \with {
alignAboveContext = #"3"
fontSize = #-2
\override StaffSymbol.staff-space = #(magstep -2)
\remove "Time_signature_engraver"
} {
\tuplet 6/4 {
\override TextScript.padding = #3
c8[^"ossia above" d e d e f]
}
}
>>
}
>>
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: オッシアと歌詞の縦方向の揃え位置 ] | [ 上へ : Vocal music ] | [ Vocal music: 自動ピアノ伴奏譜を持つ合唱譜 > ] |
共通な歌詞を縦方向に中央揃えする
歌曲では、複数行 (2 行, 4 行あるいはそれ以上) の歌詞があり、全てのボイスに共通な歌詞はどこかにまとめられます。共通な歌詞は次の例のように、縦方向に中央揃えされるように配置されます:
dropLyrics = {
\override LyricText.extra-offset = #'(0 . -4.5)
\override LyricHyphen.extra-offset = #'(0 . -4.5)
\override LyricExtender.extra-offset = #'(0 . -4.5)
\override StanzaNumber.extra-offset = #'(0 . -4.5)
}
raiseLyrics = {
\revert LyricText.extra-offset
\revert LyricHyphen.extra-offset
\revert LyricExtender.extra-offset
\revert StanzaNumber.extra-offset
}
skipFour = \repeat unfold 4 { \skip 8 }
lyricsA = \lyricmode {
The first verse has
\dropLyrics
\set stanza = #" All:"
the com -- mon __ words
\raiseLyrics
used in all four.
}
lyricsB = \lyricmode { In stan -- za two, \skipFour al -- so ap -- pear. }
lyricsC = \lyricmode { By the third verse, \skipFour are get -- ting dull. }
lyricsD = \lyricmode { Last stan -- za, and \skipFour get used once more. }
melody = \relative c' {
c4 d e f |
g f e8( e f) d |
c4 e d c |
}
\score {
<<
\new Voice = m \melody
\new Lyrics \lyricsto m \lyricsA
\new Lyrics \lyricsto m \lyricsB
\new Lyrics \lyricsto m \lyricsC
\new Lyrics \lyricsto m \lyricsD
>>
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 共通な歌詞を縦方向に中央揃えする ] | [ 上へ : Vocal music ] | [ Vocal music: 上下に歌詞を配置した合唱譜テンプレート > ] |
自動ピアノ伴奏譜を持つ合唱譜
このテンプレートは、“合唱テンプレート” で示した標準の SATB ボーカル譜に自動ピアノ譜を付け加えています。これは LilyPond の強みの 1 つを示しています - 音楽定義を何回も使用することができます。ボーカルの音符 (例えば、tenorMusic
の音符) に変更が加えられた場合、その変更はピアノ譜にも適用されます。
\paper {
top-system-spacing.basic-distance = #10
score-system-spacing.basic-distance = #20
system-system-spacing.basic-distance = #20
last-bottom-spacing.basic-distance = #10
}
global = {
\key c \major
\time 4/4
}
sopMusic = \relative {
c''4 c c8[( b)] c4
}
sopWords = \lyricmode {
hi hi hi hi
}
altoMusic = \relative {
e'4 f d e
}
altoWords =\lyricmode {
ha ha ha ha
}
tenorMusic = \relative {
g4 a f g
}
tenorWords = \lyricmode {
hu hu hu hu
}
bassMusic = \relative {
c4 c g c
}
bassWords = \lyricmode {
ho ho ho ho
}
\score {
<<
\new ChoirStaff <<
\new Lyrics = "sopranos" \with {
% This is needed for lyrics above a staff
\override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff = "women" <<
\new Voice = "sopranos" { \voiceOne << \global \sopMusic >> }
\new Voice = "altos" { \voiceTwo << \global \altoMusic >> }
>>
\new Lyrics = "altos"
\new Lyrics = "tenors" \with {
% This is needed for lyrics above a staff
\override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff = "men" <<
\clef bass
\new Voice = "tenors" { \voiceOne << \global \tenorMusic >> }
\new Voice = "basses" { \voiceTwo << \global \bassMusic >> }
>>
\new Lyrics = "basses"
\context Lyrics = "sopranos" \lyricsto "sopranos" \sopWords
\context Lyrics = "altos" \lyricsto "altos" \altoWords
\context Lyrics = "tenors" \lyricsto "tenors" \tenorWords
\context Lyrics = "basses" \lyricsto "basses" \bassWords
>>
\new PianoStaff <<
\new Staff <<
\set Staff.printPartCombineTexts = ##f
\partCombine
<< \global \sopMusic >>
<< \global \altoMusic >>
>>
\new Staff <<
\clef bass
\set Staff.printPartCombineTexts = ##f
\partCombine
<< \global \tenorMusic >>
<< \global \bassMusic >>
>>
>>
>>
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 自動ピアノ伴奏譜を持つ合唱譜 ] | [ 上へ : Vocal music ] | [ Vocal music: 詩句とリフレインからなる合唱譜 > ] |
上下に歌詞を配置した合唱譜テンプレート
このテンプレートは基本的に単純な “合唱” テンプレートと同じですが、歌詞が
alignAboveContext と alignBelowContext を用いて配置されています。
global = {
\key c \major
\time 4/4
}
sopMusic = \relative c'' {
c4 c c8[( b)] c4
}
sopWords = \lyricmode {
hi hi hi hi
}
altoMusic = \relative c' {
e4 f d e
}
altoWords = \lyricmode {
ha ha ha ha
}
tenorMusic = \relative c' {
g4 a f g
}
tenorWords = \lyricmode {
hu hu hu hu
}
bassMusic = \relative c {
c4 c g c
}
bassWords = \lyricmode {
ho ho ho ho
}
\score {
\new ChoirStaff <<
\new Staff = "women" <<
\new Voice = "sopranos" { \voiceOne << \global \sopMusic >> }
\new Voice = "altos" { \voiceTwo << \global \altoMusic >> }
>>
\new Lyrics \with { alignAboveContext = #"women" }
\lyricsto "sopranos" \sopWords
\new Lyrics \with { alignBelowContext = #"women" }
\lyricsto "altos" \altoWords
% we could remove the line about this with the line below, since
% we want the alto lyrics to be below the alto Voice anyway.
% \new Lyrics \lyricsto "altos" \altoWords
\new Staff = "men" <<
\clef bass
\new Voice = "tenors" { \voiceOne << \global \tenorMusic >> }
\new Voice = "basses" { \voiceTwo << \global \bassMusic >> }
>>
\new Lyrics \with { alignAboveContext = #"men" }
\lyricsto "tenors" \tenorWords
\new Lyrics \with { alignBelowContext = #"men" }
\lyricsto "basses" \bassWords
% again, we could replace the line above this with the line below.
% \new Lyrics \lyricsto "basses" \bassWords
>>
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 上下に歌詞を配置した合唱譜テンプレート ] | [ 上へ : Vocal music ] | [ Vocal music: 合唱テンプレート > ] |
詩句とリフレインからなる合唱譜
このテンプレートでは、ソロの詩句から始まり、2 つのボイスからなるリフレインが続く楽譜を作成できます。また、\global 変数を用いて、拍子記号の変更 (や、その他の全パートに共通な部分) を楽譜全体に反映させる例も示しています。タイミングを合わせるために空白休符を用いています。
global = {
\key g \major
% verse
\time 3/4
s2.*2
\break
% refrain
\time 2/4
s2*2
\bar "|."
}
SoloNotes = \relative g' {
\clef "treble"
% verse
g4 g g |
b4 b b |
% refrain
R2*2 |
}
SoloLyrics = \lyricmode {
One two three |
four five six |
}
SopranoNotes = \relative c'' {
\clef "treble"
% verse
R2.*2 |
% refrain
c4 c |
g4 g |
}
SopranoLyrics = \lyricmode {
la la |
la la |
}
BassNotes = \relative c {
\clef "bass"
% verse
R2.*2 |
% refrain
c4 e |
d4 d |
}
BassLyrics = \lyricmode {
dum dum |
dum dum |
}
\score {
<<
\new Voice = "SoloVoice" << \global \SoloNotes >>
\new Lyrics \lyricsto "SoloVoice" \SoloLyrics
\new ChoirStaff <<
\new Voice = "SopranoVoice" << \global \SopranoNotes >>
\new Lyrics \lyricsto "SopranoVoice" \SopranoLyrics
\new Voice = "BassVoice" << \global \BassNotes >>
\new Lyrics \lyricsto "BassVoice" \BassLyrics
>>
>>
\layout {
ragged-right = ##t
\context { \Staff
% these lines prevent empty staves from being printed
\RemoveEmptyStaves
\override VerticalAxisGroup.remove-first = ##t
}
}
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 詩句とリフレインからなる合唱譜 ] | [ 上へ : Vocal music ] | [ Chords > ] |
合唱テンプレート
これは標準の 4 パート SATB (ソプラノ、アルト、テナー、バス) ボーカル譜です。もっと大きな合唱では、すべてのパートで使用されるセクションをインクルードすると便利です。例えば、拍子記号と調号はほとんど常にすべてのパートで同じです。“賛美歌” テンプレートのように、4 つのボイスは 2 つの譜にグループ分けされています。
\paper {
top-system-spacing.basic-distance = #10
score-system-spacing.basic-distance = #20
system-system-spacing.basic-distance = #20
last-bottom-spacing.basic-distance = #10
}
global = {
\key c \major
\time 4/4
}
sopMusic = \relative {
c''4 c c8[( b)] c4
}
sopWords = \lyricmode {
hi hi hi hi
}
altoMusic = \relative {
e'4 f d e
}
altoWords = \lyricmode {
ha ha ha ha
}
tenorMusic = \relative {
g4 a f g
}
tenorWords = \lyricmode {
hu hu hu hu
}
bassMusic = \relative {
c4 c g c
}
bassWords = \lyricmode {
ho ho ho ho
}
\score {
\new ChoirStaff <<
\new Lyrics = "sopranos" \with {
% this is needed for lyrics above a staff
\override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff = "women" <<
\new Voice = "sopranos" {
\voiceOne
<< \global \sopMusic >>
}
\new Voice = "altos" {
\voiceTwo
<< \global \altoMusic >>
}
>>
\new Lyrics = "altos"
\new Lyrics = "tenors" \with {
% this is needed for lyrics above a staff
\override VerticalAxisGroup.staff-affinity = #DOWN
}
\new Staff = "men" <<
\clef bass
\new Voice = "tenors" {
\voiceOne
<< \global \tenorMusic >>
}
\new Voice = "basses" {
\voiceTwo << \global \bassMusic >>
}
>>
\new Lyrics = "basses"
\context Lyrics = "sopranos" \lyricsto "sopranos" \sopWords
\context Lyrics = "altos" \lyricsto "altos" \altoWords
\context Lyrics = "tenors" \lyricsto "tenors" \tenorWords
\context Lyrics = "basses" \lyricsto "basses" \bassWords
>>
}
| [ << Vocal music ] | [トップ][目次] | [ Chords >> ] |
| [ < Vocal music: 詩句とリフレインからなる合唱譜 ] | [ 上へ : Vocal music ] | [ Chords > ] |