From: David Nalesnik Date: Mon, 10 Feb 2014 12:13:45 +0000 (+0100) Subject: Issue 3856: Doc for dodecaphonic-no-repeat X-Git-Tag: release/2.19.3-1~14 X-Git-Url: https://git.donarmstrong.com/?p=lilypond.git;a=commitdiff_plain;h=e7f5fef791c7930fa75fff1423da58308751adeb Issue 3856: Doc for dodecaphonic-no-repeat --- diff --git a/Documentation/notation/pitches.itely b/Documentation/notation/pitches.itely index 03177fc456..5d24686420 100644 --- a/Documentation/notation/pitches.itely +++ b/Documentation/notation/pitches.itely @@ -2443,6 +2443,64 @@ musicB = { } @end lilypond +@item dodecaphonic-no-repeat + +@cindex dodecaphonic accidental style +@cindex dodecaphonic style, neo-modern + +@funindex dodecaphonic-no-repeat + +Like with the dodecaphonic accidental style @emph{every} note +gets an accidental sign by default, but accidentals are +suppressed for pitches immediately repeated within one voice. + +@lilypond[quote] +musicA = { + << + \relative c' { + cis'8 fis, bes4 8 f bis4 | + cis2. 4 | + } + \\ + \relative c' { + ais'2 cis, | + fis8 b a4 cis2 | + } + >> +} + +musicB = { + \clef bass + \new Voice { + \voiceTwo \relative c' { + 8[ + \change Staff = up + cis' cis + \change Staff = down + ] + \showStaffSwitch + \change Staff = up + dis'4 | + \change Staff = down + 4 gis 2 | + } + } +} + +\new PianoStaff { + << + \context Staff = "up" { + \accidentalStyle dodecaphonic-no-repeat + \musicA + } + \context Staff = "down" { + \accidentalStyle dodecaphonic-no-repeat + \musicB + } + >> +} +@end lilypond + @item teaching