X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Ffretted-strings.itely;h=e183f1ccd65ea3f707506872ec6d8c48aba8978c;hb=dc34d5a3c2394ce1b56882b4097673da86941c7e;hp=31a30430db424e1a6964f92e7f646ba8ba7080b5;hpb=15ca7b18a32b243c7bcacfba773b3da843a6dd36;p=lilypond.git diff --git a/Documentation/notation/fretted-strings.itely b/Documentation/notation/fretted-strings.itely index 31a30430db..e183f1ccd6 100644 --- a/Documentation/notation/fretted-strings.itely +++ b/Documentation/notation/fretted-strings.itely @@ -7,7 +7,7 @@ Guide, node Updating translation committishes.. @end ignore -@c \version "2.15.16" +@c \version "2.16.0" @node Fretted string instruments @section Fretted string instruments @@ -221,6 +221,7 @@ symbols = { @cindex fret @funindex minimumFret +@funindex restrainOpenStrings By default pitches are assigned to the lowest playing position on the fret-board (first position). Open strings are automatically preferred. @@ -231,6 +232,9 @@ can override the respective stencil. Usually it will be more comfortable to define the playing position by using the value of @code{minimumFret}. The default value for minimumFret is 0. +Even when @code{minimumFret} is set, open strings are used whenever +possible. This behaviour can be changed by setting @code{restrainOpenStrings} +to @code{#t}. @lilypond[quote,ragged-right,verbatim] \layout { \override Voice.StringNumber #'stencil = ##f } @@ -246,6 +250,7 @@ comfortable to define the playing position by using the value of c16 d e f g4 c,16\5 d\5 e\4 f\4 g4\4 \set TabStaff.minimumFret = #5 + \set TabStaff.restrainOpenStrings = ##t c,16 d e f g4 } >> @@ -382,7 +387,10 @@ firstHarmonic = { } \score { << - \new Staff { \firstHarmonic } + \new Staff { + \clef "treble_8" + \firstHarmonic + } \new TabStaff { \firstHarmonic } >> } @@ -404,7 +412,10 @@ fretHarmonics = { } \score { << - \new Staff { \fretHarmonics } + \new Staff { + \clef "treble_8" + \fretHarmonics + } \new TabStaff { \fretHarmonics } >> } @@ -421,7 +432,10 @@ ratioHarmonics = { } \score { << - \new Staff { \ratioHarmonics } + \new Staff { + \clef "treble_8" + \ratioHarmonics + } \new TabStaff { \ratioHarmonics } >> } @@ -578,7 +592,7 @@ mynotes = { \mynotes } \new TabStaff { - \set stringTunings = \stringTuning + \set Staff.stringTunings = \stringTuning \mynotes } >> @@ -594,7 +608,7 @@ for predefined fret diagrams The previous example could also be written as follows: @lilypond[quote,verbatim] -"custom-tuning" = \stringTuning +custom-tuning = \stringTuning mynotes = { c'4 e' g' c'' | @@ -1126,7 +1140,7 @@ diagrams can be added for other instruments or other tunings by following the examples found in @file{predefined-guitar-fretboards.ly}. -Fret diagrams for the ukulele are contained in the file +Fret diagrams for the ukulele are contained in the file @* @file{predefined-ukulele-fretboards.ly}. @lilypond[verbatim, ragged-right, quote] @@ -1139,12 +1153,12 @@ myChords = \chordmode { a1 a:m a:aug } } \new FretBoards { - \set stringTunings = #ukulele-tuning + \set Staff.stringTunings = #ukulele-tuning \myChords } @end lilypond -Fret diagrams for the mandolin are contained in the file +Fret diagrams for the mandolin are contained in the file @* @file{predefined-mandolin-fretboards.ly}. @lilypond[verbatim, ragged-right, quote] @@ -1157,7 +1171,7 @@ myChords = \chordmode { c1 c:m7.5- c:aug } } \new FretBoards { - \set stringTunings = #mandolin-tuning + \set Staff.stringTunings = #mandolin-tuning \myChords } @end lilypond @@ -1396,9 +1410,9 @@ Notation Reference: @ref{Predefined fretboard diagrams}. Installed Files: -@file{ly/predefined-guitar-fretboards.ly}, -@file{ly/predefined-guitar-ninth-fretboards.ly}, -@file{ly/predefined-ukulele-fretboards.ly}, +@file{ly/predefined-guitar-fretboards.ly}, @* +@file{ly/predefined-guitar-ninth-fretboards.ly}, @* +@file{ly/predefined-ukulele-fretboards.ly}, @* @file{ly/predefined-mandolin-fretboards.ly}. Snippets: @@ -1583,24 +1597,24 @@ with non-monotonic tunings. Right-hand fingerings @var{p-i-m-a} must be entered using @code{\rightHandFinger} followed by a number. -@warning{There @strong{must} be a hyphen before -@code{@bs{}rightHandFinger} and a space before the closing @code{>}.} +@warning{If the number is entered in Scheme notation, remember to append +a space before following it with a closing @code{>} or similar.} @lilypond[quote,verbatim,relative=0] \clef "treble_8" -c4-\rightHandFinger #1 -e-\rightHandFinger #2 -g-\rightHandFinger #3 -c-\rightHandFinger #4 -1 +c4\rightHandFinger #1 +e\rightHandFinger #2 +g\rightHandFinger #3 +c\rightHandFinger #4 +1 @end lilypond For convenience, you can abbreviate @code{\rightHandFinger} to something short, for example @code{RH}, @example -#(define RH rightHandFinger) +RH=#rightHandFinger @end example