X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Fchords.itely;h=3a98f7fa8639c883dd16f02d92c8c78df72a62ce;hb=66a7d343eb27beccd73f8b579d5ef5a635b7e542;hp=2a360698cb761012616315028a3709e3f07325bb;hpb=80340bdefc128536c79733d8c6f3467d91b01f72;p=lilypond.git diff --git a/Documentation/notation/chords.itely b/Documentation/notation/chords.itely index 2a360698cb..3a98f7fa86 100644 --- a/Documentation/notation/chords.itely +++ b/Documentation/notation/chords.itely @@ -7,7 +7,7 @@ Guide, node Updating translation committishes.. @end ignore -@c \version "2.14.0" +@c \version "2.19.21" @node Chord notation @@ -90,25 +90,6 @@ Snippets: Predefined shorthands for articulations and ornaments cannot be used on notes in chord mode, see @ref{Articulations and ornamentations}. -When chord mode and note mode are mixed in sequential music, and -chord mode comes first, the note mode will create a new @code{Staff} -context: - -@lilypond[verbatim,quote,ragged-right,relative=1] -\chordmode { c2 f } -2 -@end lilypond - -@noindent -To avoid this behavior, explicitly create the @code{Staff} context: - -@lilypond[verbatim,quote,ragged-right,relative=1] -\new Staff { - \chordmode { c2 f } - 2 -} -@end lilypond - @node Common chords @unnumberedsubsubsec Common chords @@ -168,7 +149,7 @@ The default action; produces a major triad. @tab @lilypond[line-width=4\cm, noragged-right] \chordmode { - \override Staff.TimeSignature #'stencil = ##f + \omit Staff.TimeSignature c1 } @end lilypond @@ -180,7 +161,7 @@ The minor chord. This modifier lowers the 3rd. @tab @lilypond[line-width=4\cm, noragged-right] \chordmode { - \override Staff.TimeSignature #'stencil = ##f + \omit Staff.TimeSignature c1:m c:m7 } @end lilypond @@ -194,7 +175,7 @@ present) the 7th step. @tab @lilypond[line-width=4\cm, noragged-right] \chordmode { - \override Staff.TimeSignature #'stencil = ##f + \omit Staff.TimeSignature c1:dim c:dim7 } @end lilypond @@ -206,7 +187,7 @@ The augmented chord. This modifier raises the 5th step. @tab @lilypond[line-width=4\cm, noragged-right] \chordmode { - \override Staff.TimeSignature #'stencil = ##f + \omit Staff.TimeSignature c1:aug } @end lilypond @@ -220,7 +201,7 @@ to create a major triad. @tab @lilypond[line-width=4\cm, noragged-right] \chordmode { - \override Staff.TimeSignature #'stencil = ##f + \omit Staff.TimeSignature c1:maj c:maj7 } @end lilypond @@ -360,7 +341,7 @@ chord) and added bass notes can be specified by appending @lilypond[quote,ragged-right,verbatim] \chordmode { - c1 c/g c/f + c'1 c'/e c'/f } @end lilypond @@ -371,7 +352,7 @@ moved as part of an inversion, by using @code{/+}@var{pitch}. @lilypond[quote,ragged-right,verbatim] \chordmode { - c1 c/g c/+g + c'1 c'/g c'/+e } @end lilypond @@ -395,16 +376,6 @@ interpreted last. \chordmode { c1:5.5-.5+ } @end lilypond -Only the second inversion can be created by adding a bass -note. The first inversion requires changing the root of -the chord. - -@lilypond[quote,ragged-right,verbatim] -\chordmode { - c'1: c':/g e:6-3-^5 e:m6-^5 -} -@end lilypond - @node Displaying chords @subsection Displaying chords @@ -438,21 +409,20 @@ Chords can be entered as simultaneous notes or through the use of chord mode. The displayed chord name will be the same, regardless of the mode of entry, unless there are inversions or added bass notes: -@lilypond[verbatim,quote,relative=1] +@lilypond[verbatim,quote] +chordmusic = \relative { + 2 + 1 + \chordmode { + c2 f:sus4 c1:/f + } +} << \new ChordNames { - 2 - 1 - \chordmode { - c2 f:sus4 c1:/f - } + \chordmusic } { - 2 - 1 - \chordmode { - c2 f:sus4 c1:/f - } + \chordmusic } >> @end lilypond @@ -483,8 +453,8 @@ Rests passed to a @code{ChordNames} context will cause the @funindex{\chords} -@code{\chords @{ ... @}} is a shortcut notation for -@code{\new ChordNames @{ \chordmode @{ ... @} @}}. +@code{\chords @{ @dots{} @}} is a shortcut notation for +@code{\new ChordNames @{ \chordmode @{ @dots{} @} @}}. @lilypond[verbatim,quote,ragged-right] \chords { @@ -563,7 +533,7 @@ Jazz notation are shown on the chart in @ref{Chord name chart}. In addition to the different naming systems, different note names are used for the root in different languages. The predefined -variables @code{\germanChords}, @code{\semiGermanChords}, +commands @code{\germanChords}, @code{\semiGermanChords}, @code{\italianChords} and @code{\frenchChords} set these variables. The effect is demonstrated here: @@ -785,7 +755,8 @@ myChords = \relative c' { @node Figured bass @subsection Figured bass -@lilypondfile[quote]{figured-bass-headword.ly} +@c Line width hack because of instrument names +@lilypondfile[quote,staffsize=18,line-width=14.5\cm]{figured-bass-headword.ly} Figured bass notation can be displayed. @@ -830,8 +801,8 @@ entry of bass figures, and there is a context named @code{BassFigure} objects. Figured bass can also be displayed in @code{Staff} contexts. -@code{\figures@{ ... @}} is a shortcut notation for -@code{\new FiguredBass @{ \figuremode @{ ... @} @}}. +@code{\figures@{ @dots{} @}} is a shortcut notation for +@code{\new FiguredBass @{ \figuremode @{ @dots{} @} @}}. Although the support for figured bass may superficially resemble chord @@ -1053,8 +1024,8 @@ of the figures is independent of the notes on the staff. @lilypond[verbatim,ragged-right,quote] << - \relative c'' { - c4 c'8 r8 c,4 c' + \relative { + c''4 c'8 r8 c,4 c' } \new FiguredBass { \figuremode { @@ -1076,13 +1047,13 @@ figures is adjusted automatically. @lilypond[verbatim,ragged-right,quote] << - \new Staff = myStaff + \new Staff = "myStaff" \figuremode { <4>4 <10 6>8 s8 <6 4>4 <6 4> } %% Put notes on same Staff as figures - \context Staff = myStaff + \context Staff = "myStaff" { \clef bass c4 c'8 r8 c4 c' @@ -1096,14 +1067,14 @@ or below the staff. @lilypond[verbatim,ragged-right,quote] << - \new Staff = myStaff + \new Staff = "myStaff" \figuremode { <4>4 <10 6>8 s8 \bassFigureStaffAlignmentDown <6 4>4 <6 4> } %% Put notes on same Staff as figures - \context Staff = myStaff + \context Staff = "myStaff" { \clef bass c4 c'8 r8 c4 c' @@ -1161,31 +1132,3 @@ the bass line. } >> @end lilypond - -When using extender lines, adjacent figures with the same number in -a different figure location can cause the figure positions to invert. - -@lilypond[verbatim,ragged-right,quote,relative=1] -<< - { fis4 g g, e' } - \figures { - \bassFigureExtendersOn - <6 5>4 <5\! 4> < 5 _!> <6> - } ->> -@end lilypond - -To avoid this problem, simply turn on extenders after the figure that -begins the extender line and turn them off at the end of the extender line. - -@lilypond[verbatim,ragged-right,quote,relative=1] -<< - { fis4 g g, e' } - \figures { - <6 5>4 <5 4> - \bassFigureExtendersOn - < 5 _!>4 <6> - \bassFigureExtendersOff - } ->> -@end lilypond