[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

1.6 譜の記譜法

@translationof Staff notation

[image of music]

このセクションでは、譜の見た目を変える方法、複数の譜を持つ楽譜を譜刻する方法、それに、テンポ指示と演奏指示楽節の音符を譜に付け加える方法について説明します。


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

1.6.1 譜を表示する

@translationof Displaying staves

このセクションでは、譜を作成する方法と、譜をグループ化する方法をいくつか説明します。


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

新たに譜をインスタンス化する

@translationof Instantiating new staves

stave: 譜 (staff: 譜 (表) の単称) は \new コマンドや \context コマンドで作成されます。詳細は @ref{Creating and referencing contexts} を参照してください。

基本的な譜コンテキストは Staff です:

 
\new Staff \relative { c''4 d e f }

[image of music]

DrumStaff コンテキストは、一般的なドラム セットのための 5 線譜を作成します。各楽器は異なるシンボルで示されます。\drummode コマンドの後に続けて、楽器をドラム モードで入力します。各楽器は名前によって指定されます。詳細は @ref{Percussion staves} を参照してください。

 
\new DrumStaff {
  \drummode { cymc hh ss tomh }
}

[image of music]

RhythmicStaff は、入力のリズム価だけを表示する単線譜を作成します。(ピッチは無視されますが) 演奏時間が保持されます。詳細は @ref{Showing melody rhythms} を参照してください。

 
\new RhythmicStaff { c4 d e f }

[image of music]

TabStaff は、標準のギター チューニングの 6 弦のタブ譜を作成します。詳細は @ref{Default tablatures} を参照してください。

 
\new TabStaff \relative { c''4 d e f }

[image of music]

古代音楽の記譜法のために 2 つの譜コンテキストが用意されています: MensuralStaff と VaticanaStaff です。これらのことは @ref{Pre-defined contexts} で説明されています。

GregorianTranscriptionStaff コンテキストは、現代グレゴリア聖歌を記譜するための譜を作成します。これは小節線を譜刻しません。

 
\new GregorianTranscriptionStaff \relative { c''4 d e f e d }

[image of music]

新たに単一譜コンテキストを定義する場合があります。詳細は @ref{Defining new contexts} を参照してください。

参照

音楽用語集: (music-glossary)staff section ‘staff’ in Music Glossary, (music-glossary)staves section ‘staves’ in Music Glossary

記譜法リファレンス: @ref{Creating and referencing contexts}, @ref{Percussion staves}, @ref{Showing melody rhythms}, @ref{Default tablatures}, @ref{Pre-defined contexts}, @ref{Staff symbol}, @ref{Gregorian chant contexts}, @ref{Mensural contexts}, @ref{Defining new contexts}

コード断片集: (snippets)Staff notation section ‘Staff notation’ in Snippets

内部リファレンス: (internals)Staff section ‘Staff’ in Internals Reference, (internals)DrumStaff section ‘DrumStaff’ in Internals Reference, (internals)GregorianTranscriptionStaff section ‘GregorianTranscriptionStaff’ in Internals Reference, (internals)RhythmicStaff section ‘RhythmicStaff’ in Internals Reference, (internals)TabStaff section ‘TabStaff’ in Internals Reference, (internals)MensuralStaff section ‘MensuralStaff’ in Internals Reference, (internals)VaticanaStaff section ‘VaticanaStaff’ in Internals Reference, (internals)StaffSymbol section ‘StaffSymbol’ in Internals Reference


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

譜をグループ化する

@translationof Grouping staves

複数の譜からなるシステムを形成するために譜をグループ化するさまざまなコンテキストが存在します。グループ化を行うコンテキストはそれぞれにシステム開始境界線のスタイルと小節線の振る舞いを設定します。

コンテキストが指定されていない場合、デフォルトのプロパティが使用されます: グループは垂直の線で始まり、小節線はつながりません。

 
<<
  \new Staff \relative { c''1 c }
  \new Staff \relative { c''1 c }
>>

[image of music]

StaffGroup コンテキストでは、グループは角括弧で始まり、小節線はすべての譜を貫いて刻譜されます。

 
\new StaffGroup <<
  \new Staff \relative { c''1 c }
  \new Staff \relative { c''1 c }
>>

[image of music]

ChoirStaff では、グループは角括弧で始まりますが、小節線はつながりません。

 
\new ChoirStaff <<
  \new Staff \relative { c''1 c }
  \new Staff \relative { c''1 c }
>>

[image of music]

GrandStaff では、グループは波括弧で始まり、小節線はすべての譜を貫きます。

 
\new GrandStaff <<
  \new Staff \relative { c''1 c }
  \new Staff \relative { c''1 c }
>>

[image of music]

PianoStaff は GrandStaff と同一ですが、例外として楽器名を刻譜することができます。詳細は @ref{Instrument names} を参照してください。

 
\new PianoStaff \with { instrumentName = "Piano" }
<<
  \new Staff \relative { c''1 c }
  \new Staff \relative { \clef bass c1 c }
>>

[image of music]

各譜グループ化コンテキストはプロパティ systemStartDelimiter を以下の値の 1 つにセットします: SystemStartBar, SystemStartBrace あるいは SystemStartBracket。4 つ目の境界線 – SystemStartSquare も利用可能ですが、これは明示的に指定する必要があります。

新たな譜グループ化コンテキストを定義することもできます。詳細は @ref{Defining new contexts} を参照してください。

Selected Snippets

譜グループの先頭に角括弧を使用する

システム開始の境界線 SystemStartSquare は StaffGroup または ChoirStaff で明示的にセットすることで使用することができます。

 
\score {
  \new StaffGroup { <<
  \set StaffGroup.systemStartDelimiter = #'SystemStartSquare
    \new Staff { c'4 d' e' f' }
    \new Staff { c'4 d' e' f' }
  >> }
}

[image of music]

システムに譜が 1 つしか存在しない場合にも括弧を表示する

ChoirStaff や StaffGroup に譜が 1 つだけ存在する場合、デフォルトでは括弧や行頭の小節線は表示されません。これは collapse-height をオーバライドし、値を譜線の数より小さくセットすることで変更することができます。

括弧が波の形をしている PianoStaff や GrandStaff のようなコンテキストでは、別のプロパティをセットする必要があります。例の 2 つ目のシステムを参照してください。

 
\score {
  \new StaffGroup <<
    % Must be lower than the actual number of staff lines
    \override StaffGroup.SystemStartBracket.collapse-height = #4
    \override Score.SystemStartBar.collapse-height = #4
    \new Staff {
      c'1
    }
  >>
}
\score {
  \new PianoStaff <<
    \override PianoStaff.SystemStartBrace.collapse-height = #4
    \override Score.SystemStartBar.collapse-height = #4
    \new Staff {
      c'1
    }
  >>
}

[image of music]

Mensurstriche レイアウト (譜の間に小節線を表示する)

Mensurstriche (計量音楽風の) レイアウトでは、小節線を譜の中には表示せず、譜と譜の間に表示します。これは、ChoirStaff の代わりに StaffGroup を用いることで実現できます。譜の中にある小節線は \hide で非表示にします。

 
global = {
  \hide Staff.BarLine
  s1 s
  % the final bar line is not interrupted
  \undo \hide Staff.BarLine
  \bar "|."
}

\new StaffGroup \relative c'' {
  <<
    \new Staff { << \global { c1 c } >> }
    \new Staff { << \global { c c } >> }
  >>
}

[image of music]

参照

音楽用語集: (music-glossary)brace section ‘brace’ in Music Glossary, (music-glossary)bracket section ‘bracket’ in Music Glossary, (music-glossary)grand staff section ‘grand staff’ in Music Glossary

記譜法リファレンス: @ref{Instrument names}, @ref{Defining new contexts}

コード断片集: (snippets)Staff notation section ‘Staff notation’ in Snippets

内部リファレンス: (internals)Staff section ‘Staff’ in Internals Reference, (internals)StaffGroup section ‘StaffGroup’ in Internals Reference, (internals)ChoirStaff section ‘ChoirStaff’ in Internals Reference, (internals)GrandStaff section ‘GrandStaff’ in Internals Reference, (internals)PianoStaff section ‘PianoStaff’ in Internals Reference, (internals)SystemStartBar section ‘SystemStartBar’ in Internals Reference, (internals)SystemStartBrace section ‘SystemStartBrace’ in Internals Reference, (internals)SystemStartBracket section ‘SystemStartBracket’ in Internals Reference, (internals)SystemStartSquare section ‘SystemStartSquare’ in Internals Reference


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

ネストされた譜グループ

@translationof Nested staff groups

譜グループ化コンテキストは任意の深さにネストすることができます。そうした場合、それぞれの子コンテキストは、親グループの角括弧に隣接して新しい角括弧を作成します。

 
\new StaffGroup <<
  \new Staff \relative { c''2 c | c2 c }
  \new StaffGroup <<
    \new Staff \relative { g'2 g | g2 g }
    \new StaffGroup \with {
      systemStartDelimiter = #'SystemStartSquare
    }
    <<
      \new Staff \relative { e'2 e | e2 e }
      \new Staff \relative { c'2 c | c2 c }
    >>
  >>
>>

[image of music]

新たにネストされた譜グループ化コンテキストを定義することができます。詳細は @ref{Defining new contexts} を参照してください。

Selected Snippets

譜をネストする

systemStartDelimiterHierarchy は、より複雑な譜のグループ化を行うために用いることができます。\set StaffGroup.systemStartDelimiterHierarchy コマンドの引数として基となるのは、譜の数だけあるアルファベットのリストです。それぞれの譜の前に SystemStartDelimiter を追加することで、グループ化の始まりを示します。その際、グループとなる譜の範囲を括弧で囲む必要があります。リスト中の要素は省略することができますが、最上位のグループは必ず全ての譜を含みます。SystemStartDelimiter は SystemStartBar, SystemStartBracket, SystemStartBrace, SystemStartSquare のいずれかです。

 
\new StaffGroup
\relative c'' <<
  \override StaffGroup.SystemStartSquare.collapse-height = #4
  \set StaffGroup.systemStartDelimiterHierarchy
    = #'(SystemStartSquare (SystemStartBrace (SystemStartBracket a
                             (SystemStartSquare b)  ) c ) d)
  \new Staff { c1 }
  \new Staff { c1 }
  \new Staff { c1 }
  \new Staff { c1 }
  \new Staff { c1 }
>>

[image of music]

参照

記譜法リファレンス: @ref{Grouping staves}, @ref{Instrument names}, @ref{Defining new contexts}

コード断片集: (snippets)Staff notation section ‘Staff notation’ in Snippets

内部リファレンス: (internals)StaffGroup section ‘StaffGroup’ in Internals Reference, (internals)ChoirStaff section ‘ChoirStaff’ in Internals Reference, (internals)SystemStartBar section ‘SystemStartBar’ in Internals Reference, (internals)SystemStartBrace section ‘SystemStartBrace’ in Internals Reference, (internals)SystemStartBracket section ‘SystemStartBracket’ in Internals Reference, (internals)SystemStartSquare section ‘SystemStartSquare’ in Internals Reference


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

システムを分割する

@translationof Separating systems

1 ページあたりのシステムの数がページによって異なる場合、システム分割記号を間に置くことでシステムを分割するという慣習があります。デフォルトでは、システム分割記号は空になっていますが、 \paper オプションで有効にすることができます。

 
\book {
  \score {
    \new StaffGroup <<
      \new Staff {
        \relative {
          c''4 c c c
          \break
          c4 c c c
        }
      }
      \new Staff {
        \relative {
          c''4 c c c
          \break
          c4 c c c
        }
      }
    >>
  }
  \paper {
    system-separator-markup = \slashSeparator
    % 以下のコマンドはこのドキュメントでの体裁を整えるためだけのものです
    paper-width = 100\mm
    paper-height = 100\mm
    tagline = ##f
  }
}

[image of music]

参照

記譜法リファレンス: @ref{Page layout}

コード断片集: (snippets)Staff notation section ‘Staff notation’ in Snippets


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

1.6.2 個々の譜を変更する

@translationof Modifying single staves

このセクションでは、譜の属性を変更する方法について説明します: 例えば、譜線の本数や譜サイズを変更します。譜を開始/終了する方法とオッシア セクションをセットする方法についても記述します。


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

譜シンボル

@translationof Staff symbol

\stopStaff コマンドと \startStaff コマンドを使って、楽譜内の任意の場所で譜線を停止あるいは (再) 開始させることができます。

 
\relative {
  \stopStaff f''4 d \startStaff g, e
  f'4 d \stopStaff g, e
  f'4 d \startStaff g, e
}

[image of music]

+

定義済みコマンド

\startStaff, \stopStaff

譜の線 (加線を含む) は StaffSymbol グラフィカル オブジェクトに属し、 StaffSymbol プロパティを用いて変更することができます。しかしながら、変更は譜が (再) 開始する前に行う必要があります。

譜線の本数を変更することができます:

 
\relative {
  f''4 d \stopStaff
  \override Staff.StaffSymbol.line-count = #2
  \startStaff g, e |

  f'4 d \stopStaff
  \revert Staff.StaffSymbol.line-count
  \startStaff g, e |
}

[image of music]

各譜線の位置を変更することもできます。数字のリストでそれぞれの譜線の位置を指定します。0 は通常の譜における中央の線で、通常の譜の譜線の位置は (-4 -2 0 2 4) となります。 1 つの値に対して 1 本の譜線が譜刻されるので、1 つのオーバライドで譜線の位置と本数を変更することができます。

 
\relative {
  f''4 d \stopStaff
  \override Staff.StaffSymbol.line-positions = #'(1 3 5 -1 -3)
  \startStaff g, e |
  f'4 d \stopStaff
  \override Staff.StaffSymbol.line-positions = #'(8 6.5 -6 -8 -0.5)
  \startStaff g, e |
}

[image of music]

符幹の向きが通常通り (譜の下半分では上向き、上半分では下向き) になるように、カスタマイズした譜では中央の線 (あるいは「間」) を通常の中央の位置 (0) に配置するようにしてください。 新しい譜線に対応して、音部記号とミドル C の位置を調節する必要があるかもしれません。@ref{Clef} を参照してください。

譜線の太さを変えることができます。デフォルトでは、加線 (訳者注: ledger line, 譜の上下に突き出た符頭と符幹に付けられる短い譜線) と符幹の太さも影響を受けます。

 
\new Staff \with {
  \override StaffSymbol.thickness = #3
} \relative {
  f''4 d g, e
}

[image of music]

加線の太さを譜線の太さから独立して設定することもできます。

 
\new Staff \with {
  \override StaffSymbol.thickness = #2
  \override StaffSymbol.ledger-line-thickness = #'(0.5 . 0.4)
} \relative {
  f'''4 a, a,, f
}

[image of music]

1 つ目の値は譜線の太さに、2 つ目は譜線の間隔に掛け算され、それら 2 つの値を加算した値が加線の太さになります。

加線の垂直方向の位置を変更することができます:

 
\new Staff \with {
  \override StaffSymbol.ledger-positions = #'(-3 -2 -1 2 5 6)
} \relative {
  f'''4 a, a,, f
}

[image of music]

符頭の位置と加線を持つ他の符頭との関係に応じて、符頭の上または下に追加の加線を配置することできます。

 
\new Staff \with {
  \override StaffSymbol.ledger-extra = #4
} \relative {
  f'''4 a, d, f,
}

[image of music]

譜の内部に加線を表示させることもできます。この場合、譜線のカスタマイズが必要です。以下の例は明示的に ledger-position をセットしない場合とした場合の加線のデフォルト位置を示しています。以下の例で、StaffSymbol 全体に対する \override を元に戻すには\stopStaff を行う必要があります。

 
\relative d' {
  \override Staff.StaffSymbol.line-positions = #'(-8 0 2 4)
  d4 e f g
  \stopStaff
  \startStaff
  \override Staff.StaffSymbol.ledger-positions = #'(-8 -6 (-4 -2) 0)
  d4 e f g
}

[image of music]

譜線の間隔を変えることができます。この設定は加線の間隔にも影響を与えます。

 
\new Staff \with {
  \override StaffSymbol.staff-space = #1.5
} \relative {
  f'''4 d, g, e,
}

[image of music]

Selected Snippets

いくつかの譜線を他より太くする

教育上の目的で、譜線を太くすることができます (目的の例としては、中央の線の強調や、ト音記号の線を強調することなど)。これは強調したい線のすぐ近くに新たな譜線を追加することで実現できます。譜線の追加には StaffSymbol オブジェクトの line-positions プロパティを使用します。

 
{
  \override Staff.StaffSymbol.line-positions =
    #'(-4 -2 -0.2 0 0.2 2 4)
  d'4 e' f' g'
}

[image of music]

参照

音楽用語集: (music-glossary)line section ‘line’ in Music Glossary, (music-glossary)ledger line section ‘ledger line’ in Music Glossary, (music-glossary)staff section ‘staff’ in Music Glossary

記譜法リファレンス: @ref{Clef}

コード断片集: (snippets)Staff notation section ‘Staff notation’ in Snippets

内部リファレンス: (internals)StaffSymbol section ‘StaffSymbol’ in Internals Reference, (internals)staff-symbol-interface section ‘staff-symbol-interface’ in Internals Reference


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

オッシア譜

@translationof Ossia staves

適切な位置で新しく同時進行の譜を作成することによって、オッシア 譜をセットすることができます:

 
\new Staff \relative {
  c''4 b d c
  <<
    { c4 b d c }
    \new Staff { e4 d f e }
  >>
  c4 b c2
}

[image of music]

しかしながら、上の例は通常は望ましいものではありません。オリジナルの譜の上にあり、拍子記号や音部記号を持たず、小さなサイズのフォントを使用するオッシア譜を作成するには調整が必要です。学習マニュアルの (learning)Nesting music expressions section ‘Nesting music expressions’ in Learning Manual に望ましいオッシア譜を作成するための方法が記述されています。

以下の例は、オッシア譜をオリジナルの譜の上に配置するために alignAboveContext プロパティを用いています。この手法は、2, 3 のオッシア譜が必要とされているだけである場合であれば、最も適切な方法です。

 
\new Staff = "main" \relative {
  c''4 b d c
  <<
    { c4 b d c }

    \new Staff \with {
      \remove "Time_signature_engraver"
      alignAboveContext = "main"
      \magnifyStaff #2/3
      firstClef = ##f
    }
    { e4 d f e }
  >>
  c4 b c2
}

[image of music]

多くの別個のオッシア譜が必要である場合、ある特有の コンテキスト ID を持つ空の Staff コンテキストを作成する方が適切かもしれません: このコンテキストを 呼び出し、オッシア譜が必要とされる場所で \startStaff と \stopStaff を用いることでオッシア譜が作成されます。この手法の利点は、以下の例よりも長い楽曲であれば、明らかです。

 
<<
  \new Staff = "ossia" \with {
    \remove "Time_signature_engraver"
    \hide Clef
    \magnifyStaff #2/3
  }
  { \stopStaff s1*6 }

  \new Staff \relative {
    c'4 b c2
    <<
      { e4 f e2 }
      \context Staff = "ossia" {
        \startStaff e4 g8 f e2 \stopStaff
      }
    >>
    g4 a g2 \break
    c4 b c2
    <<
      { g4 a g2 }
      \context Staff = "ossia" {
        \startStaff g4 e8 f g2 \stopStaff
      }
    >>
    e4 d c2
  }
>>

[image of music]

オッシア譜を作成するための代替手段として、\RemoveAllEmptyStaves コマンドが用いられるかもしれません。この手法は、オッシア譜が改行の直後に発生する場合、最も便利な手法です。\RemoveAllEmptyStaves についての更なる情報は、@ref{Hiding staves} を参照してください。

 
<<
  \new Staff = "ossia" \with {
    \remove "Time_signature_engraver"
    \hide Clef
    \magnifyStaff #2/3
    \RemoveAllEmptyStaves
  } \relative {
    R1*3
    c''4 e8 d c2
  }
  \new Staff \relative {
    c'4 b c2
    e4 f e2
    g4 a g2 \break
    c4 b c2
    g4 a g2
    e4 d c2
  }
>>

[image of music]

Selected Snippets

オッシアと歌詞の縦方向の揃え位置

このスニペットは、歌詞とオッシアの位置を調整するために 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]
        }
      }
    >>
  }
>>

[image of music]

参照

音楽用語集: (music-glossary)ossia section ‘ossia’ in Music Glossary, (music-glossary)staff section ‘staff’ in Music Glossary, (music-glossary)Frenched staff section ‘Frenched staff’ in Music Glossary

学習マニュアル: (learning)Nesting music expressions section ‘Nesting music expressions’ in Learning Manual, (learning)Size of objects section ‘Size of objects’ in Learning Manual, (learning)Length and thickness of objects section ‘Length and thickness of objects’ in Learning Manual

記譜法リファレンス: @ref{Hiding staves}

コード断片集: (snippets)Staff notation section ‘Staff notation’ in Snippets

内部リファレンス: (internals)StaffSymbol section ‘StaffSymbol’ in Internals Reference


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

譜を隠す

@translationof Hiding staves

Staff コンテキストから Staff_symbol_engraver を削除することによって、譜線を隠すことができます。そうする代わりに、\stopStaff を用いることもできます。

 
\new Staff \with {
  \remove "Staff_symbol_engraver"
}
\relative { a''8 f e16 d c b a2 }

[image of music]

空の譜は隠すことができます (いわゆる ‘Frenched Score’ にするため)。これは、コンテキスト中で \RemoveEmptyStaves を適用することで実現できます。(\layout ブロック内に適用することによって) 楽譜全体に設定することも、(\with ブロック内に適用することによって) 特定の譜に限定することもできます。このコマンドは、最初のシステムを除いて、楽譜内にある全ての空の譜を削除します。最初のシステムにある譜も隠したい場合は、\RemoveAllEmptyStaves を使ってください。サポートしているコンテキストは Staff, RhythmicStaff, VaticanaStaff です。

Note: 譜が空であると見なされるのは、それが複数小節にわたる休符、休符、スキップ、空白休符、あるいはそれらの要素の組み合わせだけで構成されている場合です。

 
\layout {
  \context {
    \Staff
    \RemoveEmptyStaves
  }
}

\relative <<
  \new Staff {
    e'4 f g a \break
    b1 \break
    a4 b c2
  }
  \new Staff {
    c,4 d e f \break
    R1 \break
    f4 g c,2
  }
>>

[image of music]

譜に対してオッシア セクションを作成するために、\RemoveAllEmptyStaves を用いることもできます。詳細は @ref{Ossia staves} を参照してください。

定義済みコマンド

\RemoveEmptyStaves, \RemoveAllEmptyStaves

参照

音楽用語集: (music-glossary)Frenched staff section ‘Frenched staff’ in Music Glossary

学習マニュアル: (learning)Visibility and color of objects section ‘Visibility and color of objects’ in Learning Manual

記譜法リファレンス: @ref{Changing context default settings}, @ref{Staff symbol}, @ref{Ossia staves}, @ref{Hidden notes}, @ref{Invisible rests}, @ref{Visibility of objects}

コード断片集: (snippets)Staff notation section ‘Staff notation’ in Snippets

内部リファレンス: (internals)ChordNames section ‘ChordNames’ in Internals Reference, (internals)FiguredBass section ‘FiguredBass’ in Internals Reference, (internals)Lyrics section ‘Lyrics’ in Internals Reference, (internals)Staff section ‘Staff’ in Internals Reference, (internals)VerticalAxisGroup section ‘VerticalAxisGroup’ in Internals Reference, (internals)Staff_symbol_engraver section ‘Staff_symbol_engraver’ in Internals Reference

既知の問題と警告

Staff_symbol_engraver を削除すると、小節線も隠されます。小節線が強制的に可視になるよう設定されている場合、フォーマット エラーが発生するかもしれません。そのような場合は、エングラーバを削除する代わりに、以下のオーバライドを使用してください:

 
\omit StaffSymbol
\override NoteHead.no-ledgers = ##t

\Staff \RemoveEmptyStaves に関連する既知の問題と警告は @ref{Changing context default settings} を参照してください。


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

1.6.3 パートを記述する

@translationof Writing parts

このセクションでは、テンポ指示と楽器名を楽譜に挿入する方法について説明します。他のボイスを引用する方法と、演奏指示音符を譜刻する方法についても記述します。


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

楽器名

@translationof Instrument names

Staff, PianoStaff, StaffGroup, GrandStaff それに ChoirStaff コンテキストの中にある譜の左側に、楽器名を譜刻することができます。instrumentName の値が最初の行の譜に対して使用され、shortInstrumentName の値がそれに続くすべての行の譜に対して使用されます。

 
\new Staff \with {
  instrumentName = "Violin "
  shortInstrumentName = "Vln. "
} \relative {
  c'4.. g'16 c4.. g'16 \break | c1 |
}

[image of music]

\markup を用いて、より複雑な楽器名を作成することができます:

 
\new Staff \with {
  instrumentName = \markup {
    \column { "Clarinetti"
      \line { "in B" \smaller \flat }
    }
  }
} \relative {
  c''4 c,16 d e f g2
}

[image of music]

2 つ以上の譜コンテキストがグループ化されている場合、デフォルトでは楽器名と短縮楽器名は中央揃えされます。複数行にわたる楽器名を中央揃えするには、\center-column を用いる必要があります:

 
<<
  \new Staff \with {
    instrumentName = "Flute"
  } \relative {
    f''2 g4 f
}
  \new Staff \with {
    instrumentName = \markup {
      \center-column { "Clarinet"
        \line { "in B" \smaller \flat }
      }
    }
  } \relative { c''4 b c2 }
>>

[image of music]

しかしながら、楽器名が長い場合、indent 設定と short-indent 設定の値を増やさない限り、譜グループの中にある楽器名は中央揃えされません。これらの設定についての詳細は シフトとインデントのための \paper 変数 を参照してください。

 
<<
  \new Staff \with {
    instrumentName = "Alto Flute in G"
    shortInstrumentName = "Flt."
  } \relative {
    f''2 g4 f \break
    g4 f g2
  }
  \new Staff \with {
    instrumentName = "Clarinet"
    shortInstrumentName = "Clar."
  } \relative {
    c''4 b c2 \break
    c2 b4 c
  }
>>

\layout {
  indent = 3.0\cm
  short-indent = 1.5\cm
}

[image of music]

楽器名を他のコンテキスト (ChordNames や FiguredBass など) に付け加えるには、 そのコンテキストに Instrument_name_engraver を追加する必要があります。詳細は @ref{Modifying context plug-ins} を参照してください。

楽曲の途中で shortInstrumentName や、新しい楽器に必要なその他の設定を変更することもできます。しかしながら、instrumentName は最初のインスタンスが譜刻され、楽曲の途中での変更は無視されます:

 
prepPiccolo = <>^\markup \italic { muta in Piccolo }

prepFlute = <>^\markup \italic { muta in Flauto }

setPiccolo = {
  <>^\markup \bold { Piccolo }
  \transposition c''
}

setFlute = {
  <>^\markup \bold { Flute }
  \transposition c'
}

\new Staff \with {
  instrumentName = "Flute"
  shortInstrumentName = "Flt."
}
\relative {
  g'1 g g g \break
  g1 g \prepPiccolo R R \break
  \set Staff.instrumentName = "Piccolo"
  \set Staff.shortInstrumentName = "Picc."
  \setPiccolo
  g1 g g g \break
  g1 g \prepFlute R R \break
  \set Staff.instrumentName = "Flute"
  \set Staff.shortInstrumentName = "Flt."
  \setFlute
  g1 g g g
}

[image of music]

参照

記譜法リファレンス: シフトとインデントのための \paper 変数, @ref{Modifying context plug-ins}

コード断片集: (snippets)Staff notation section ‘Staff notation’ in Snippets

内部リファレンス: (internals)InstrumentName section ‘InstrumentName’ in Internals Reference, (internals)PianoStaff section ‘PianoStaff’ in Internals Reference, (internals)Staff section ‘Staff’ in Internals Reference


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

他のボイスを引用する

@translationof Quoting other voices

あるボイスが他のボイスと同じ音符を演奏することはごく一般的なことです。例えば、第 1 バイオリンと第2バイオリンがあるパッセージで同じフレーズを演奏することがあります。これは、ボイスに他のボイスを 引用 させることで実現でき、第 2 ボイスの音楽全体を再入力する必要はありません。

最上位レベルのスコープで用いる \addQuote コマンドは一部を引用することができる音楽を定義します。

\quoteDuring コマンドを用いて、引用を開始する位置を示します。このコマンドは 2 つの引数をとります: \addQuote で定義した引用するボイスの名前と、引用部分の演奏時間を示す音楽表記です。

 
fluteNotes = \relative {
  a'4 gis g gis | b4^"quoted" r8 ais\p a4( f)
}

oboeNotes = \relative {
  c''4 cis c b \quoteDuring "flute" { s1 }
}

\addQuote "flute" { \fluteNotes }

\score {
  <<
    \new Staff \with { instrumentName = "Flute" } \fluteNotes
    \new Staff \with { instrumentName = "Oboe" } \oboeNotes
  >>
}

[image of music]

\quoteDuring で使用される音楽表記が空白休符や複数小節休符ではなく音符を保持している場合、引用は多声となり、予期しない結果となる可能性があります。

 
fluteNotes = \relative {
  a'4 gis g gis | b4^"quoted" r8 ais\p a4( f)
}

oboeNotes = \relative {
  c''4 cis c b \quoteDuring "flute" { e4 r8 ais b4 a }
}

\addQuote "flute" { \fluteNotes }

\score {
  <<
    \new Staff \with { instrumentName = "Flute" } \fluteNotes
    \new Staff \with { instrumentName = "Oboe" } \oboeNotes
  >>
}

[image of music]

\unfoldRepeats コマンドを \quoteDuring と一緒に使う場合、引用の中でも \unfoldRepeats コマンドを使わなければなりません:

 
fluteNotes = \relative {
  \repeat volta 2 { a'4 gis g gis }
}

oboeNotesDW = \relative {
  \repeat volta 2 \quoteDuring "incorrect" { s1 }
}

oboeNotesW = \relative {
  \repeat volta 2 \quoteDuring "correct" { s1 }
}


\addQuote "incorrect" { \fluteNotes }

\addQuote "correct" { \unfoldRepeats \fluteNotes }

\score {
  \unfoldRepeats
  <<
    \new Staff \with { instrumentName = "Flute" }
    \fluteNotes
    \new Staff \with { instrumentName = "Oboe (incorrect)" }
    \oboeNotesDW
    \new Staff \with { instrumentName = "Oboe (correct)" }
    \oboeNotesW
  >>
}

[image of music]

\quoteDuring コマンドは引用されるパートと引用するパート両方の \transposition を使用して、引用されるパートと同じ響きのピッチに変換して、引用するパートの音符を作り出します。

 
clarinetNotes = \relative c'' {
  \transposition bes
  \key d \major
  b4 ais a ais | cis4^"quoted" r8 bis\p b4( f)
}

oboeNotes = \relative {
  c''4 cis c b \quoteDuring "clarinet" { s1 }
}

\addQuote "clarinet" { \clarinetNotes }


\score {
  <<
    \new Staff \with { instrumentName = "Clarinet" } \clarinetNotes
    \new Staff \with { instrumentName = "Oboe" } \oboeNotes
  >>
}

[image of music]

デフォルトでは引用される音楽はすべてのアーティキュレーション、強弱記号、マークアップ等を含んでいます。quotedEventTypes コンテキスト プロパティを用いることで、引用される音楽から引用するオブジェクトを選択することが可能です。

 
fluteNotes = \relative {
  a'2 g2 |
  b4\<^"quoted" r8 ais a4\f( c->)
 }

oboeNotes = \relative {
  c''2. b4 |
  \quoteDuring "flute" { s1 }
}

\addQuote "flute" { \fluteNotes }

\score {
  <<
    \set Score.quotedEventTypes = #'(note-event articulation-event
                                     crescendo-event rest-event
                                     slur-event dynamic-event)
    \new Staff \with { instrumentName = "Flute" } \fluteNotes
    \new Staff \with { instrumentName = "Oboe" } \oboeNotes
  >>
}

[image of music]

引用にもタグを付けることができます。@ref{Using tags} を参照してください。

参照

記譜法リファレンス: @ref{Instrument transpositions}, @ref{Using tags}

インストールされているファイル: ‘scm/define-event-classes.scm’.

コード断片集: (snippets)Staff notation section ‘Staff notation’ in Snippets

内部リファレンス: + (internals)Music classes section ‘Music classes’ in Internals Reference, (internals)QuoteMusic section ‘QuoteMusic’ in Internals Reference, (internals)Voice section ‘Voice’ in Internals Reference

既知の問題と警告

\addQuote 中にある最初の Voice の内容だけが引用されます。そのため、音楽表記が \new や \context Voice を含んでいても、それらの内容は引用されません。装飾小音符の引用はサポートされておらず、LilyPond がクラッシュする可能性さえあります。 ネストされた連符を引用しようとしてもうまくいきません。


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]         [トップ] [目次] [インデックス] [ ? ]

合図音符をフォーマットする

@translationof Formatting cue notes

合図音符をフォーマットする最も簡単な方法は、パートの中で明示的に CueVoice コンテキストを作成することです。

 
\relative {
  R1
  <<
    { e'2\rest r4. e8 }
    \new CueVoice {
      \stemUp d'8^"flute" c d e fis2
    }
  >>
  d,4 r a r
}

[image of music]

音部記号の変更が必要で、合図音符に適切なサイズの音部記号を譜刻する場合、\cueClef コマンドは明示的な CueVoice コンテキストと共に用いられます。その後、\cueClefUnset コマンドを用いて、オリジナルの音部記号 – 再度、適切なサイズにされた – に戻すことができます。

 
\relative {
  \clef "bass"
  R1
  <<
    { e'2\rest r4. \cueClefUnset e,8 }
    \new CueVoice {
      \cueClef "treble" \stemUp d''8^"flute" c d e fis2
    }
  >>
  d,,4 r a r
}

[image of music]

必要があれば、CueVoice 無しで \cueClef コマンドと \cueClefUnset コマンドを用いることもできます。

 
\relative {
  \clef "bass"
  R1
  \cueClef "treble"
  d''8^"flute" c d e fis2
  \cueClefUnset
  d,,4 r a r
}

[image of music]

もっと複雑な合図音符 – 例えば、移調を含んでいる、複数の音楽ソースからの合図音符を挿入する – の場合、\cueDuring コマンドや \cueDuringWithClef コマンドを用いることができます。これらのコマンドは \quoteDuring を特殊化したものです。\quoteDuring については、前のセクションの @ref{Quoting other voices} を参照してください。

構文は以下の通りです:

 
\cueDuring quotename #direction music

と

 
\cueDuringWithClef quotename #direction #clef music

quotename に対応する小節の音楽は CueVoice コンテキストとして追加されて music と同時進行して、多声になります。direction は引数 UP または DOWN を取り – それぞれ第 1 ボイス及び第 2 ボイスと対応します – 合図音符が他のボイスに対してどのように譜刻されるかを決定します。

 
fluteNotes = \relative {
  r2. c''4 | d8 c d e fis2 | g2 d |
}

oboeNotes = \relative c'' {
  R1
  <>^\markup \tiny { flute }
  \cueDuring "flute" #UP { R1 }
  g2 c,
}

\addQuote "flute" { \fluteNotes }

\new Staff {
  \oboeNotes
}

[image of music]

instrumentCueName プロパティを設定することによって、\cueDuring で音楽のどの部分を引用するか調節することができます。このプロパティのデフォルト値は '(note-event rest-event tie-event beam-event tuplet-span-event) であり、音符、休符、タイ、連桁、それに連符だけが引用され、アーティキュレーション、強弱記号、マークアップ等は引用されません。

Note: 以下の例のように Voice が cueDuring で始まる場合、Voice を明示的に宣言する必要があります。そうしないと音楽表記全体が CueVoice コンテキストに属してしまいます。

 
oboeNotes = \relative {
  r2 r8 d''16(\f f e g f a)
  g8 g16 g g2.
}
\addQuote "oboe" { \oboeNotes }

\new Voice \relative c'' {
  \set Score.quotedCueEventTypes = #'(note-event rest-event tie-event
                                      beam-event tuplet-span-event
                                      dynamic-event slur-event)
  \cueDuring "oboe" #UP { R1 }
  g2 c,
}

[image of music]

引用される楽器の名前を表示するために、マークアップを用いることができます。合図音符が音符記号の変更を必要とする場合、手動で変更することができますが、合図音符が終わったところで手動で元の音部記号に戻す必要がありmす。

 
fluteNotes = \relative {
  r2. c''4 d8 c d e fis2 g2 d2
}

bassoonNotes = \relative c {
  \clef bass
  R1
  \clef treble
  <>^\markup \tiny { flute }
  \cueDuring "flute" #UP { R1 }
  \clef bass
  g4. b8 d2
}

\addQuote "flute" { \fluteNotes }

\new Staff {
  \bassoonNotes
}

[image of music]

あるいはまた、代わりに \cueDuringWithClef 関数を用いることができます。このコマンドは追加の引数で音部の変更を指定して、合図音符に音部記号を譜刻しますが、合図音部が終了したところで元の音部記号を自動的に譜刻します。

 
fluteNotes = \relative {
  r2. c''4 d8 c d e fis2 g2 d2
}

bassoonNotes = \relative c {
  \clef bass
  R1
  <>^\markup { \tiny "flute" }
  \cueDuringWithClef "flute" #UP "treble" { R1 }
  g4. b8 d2
}

\addQuote "flute" { \fluteNotes }

\new Staff {
  \bassoonNotes
}

[image of music]

\quoteDuring と同様に、\cueDuring は楽器の移調を考慮します。合図音符は合図を受け取る楽器のピッチで作り出され、ソース楽器の同じ響きのピッチになります。

合図音符を移調させるには \transposedCueDuring を使用します。このコマンドはコンサート ミドル C の音を表すピッチを (絶対モードで) 指定する追加の引数を取ります。これは、全く別の場所で登録された楽器から合図を取る場合に有用です。

 
piccoloNotes = \relative {
  \clef "treble^8"
  R1
  c'''8 c c e g2
  c4 g g2
}

bassClarinetNotes = \relative c' {
  \key d \major
  \transposition bes,
  d4 r a r
  \transposedCueDuring "piccolo" #UP d { R1 }
  d4 r a r
}

\addQuote "piccolo" { \piccoloNotes }

<<
  \new Staff \piccoloNotes
  \new Staff \bassClarinetNotes
>>

[image of music]

\killCues コマンドは音楽表記から合図音符を削除します。これにより、同じ音楽表記を使って合図を持つ楽器パートと楽譜を作り出すことが可能です。\killCues コマンドは \cueDuring によって引用された音符とイベントだけを削除します。合図に関連する他のマークアップ – 音部変更と引用元の楽器を識別するラベルなど – にはタグを付けて楽譜に含めるかどうかを選択することができます。@ref{Using tags} を参照してください。

 
fluteNotes = \relative {
  r2. c''4 d8 c d e fis2 g2 d2
}

bassoonNotes = \relative c {
  \clef bass
  R1
  \tag #'part {
    \clef treble
    <>^\markup \tiny { flute }
  }
  \cueDuring "flute" #UP { R1 }
  \tag #'part \clef bass
  g4. b8 d2
}

\addQuote "flute" { \fluteNotes }

\new Staff {
  \bassoonNotes
}

\new StaffGroup <<
  \new Staff {
    \fluteNotes
  }
  \new Staff {
    \removeWithTag #'part { \killCues { \bassoonNotes } }
  }
>>

[image of music]

参照

記譜法リファレンス: @ref{Quoting other voices}, @ref{Instrument transpositions}, @ref{Instrument names}, @ref{Clef}, @ref{Musical cues}, @ref{Using tags}

コード断片集: (snippets)Staff notation section ‘Staff notation’ in Snippets

内部リファレンス: (internals)CueVoice section ‘CueVoice’ in Internals Reference, (internals)Voice section ‘Voice’ in Internals Reference

既知の問題と警告

\cueDuring を使用した場合、Voice コンテキストと CueVoice コンテキストの間で休符の衝突が発生する可能性があります。\cueDuringWithClef や \transposedCueDuring を使用する場合、追加で必要となる引数は引用と向きの後に配置する必要があります。


[ < ] [ > ]   [ << ] [ 上へ ] [ >> ]

This document was generated by gub on 7 月 13, 2020 using texi2html 1.82.

他の言語: English, català, deutsch, español, français, italiano
About automatic language selection.