]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/score-for-diatonic-accordion.ly
Build: Auto-detect guile1 and guile1-config.
[lilypond.git] / Documentation / snippets / score-for-diatonic-accordion.ly
index 57a28c287571700c5ad1c64919b945d3c341bbc5..efafe02db07e2b406757b6950d7bd975dc12e640 100644 (file)
@@ -4,8 +4,8 @@
 % and then run scripts/auxiliar/makelsr.py
 %
 % This file is in the public domain.
-%% Note: this file works from version 2.15.15
-\version "2.15.15"
+%% Note: this file works from version 2.15.20
+\version "2.15.20"
 
 \header {
   lsrtags = "template"
@@ -61,8 +61,8 @@ editor.
   doctitle = "Score for diatonic accordion"
 } % begin verbatim
 
-verse = \lyricmode { Wie gross bist du! Wie gross bist du! } % begin verbatim
 
+verse = \lyricmode { Wie gross bist du! Wie gross bist du! }
 
 harmonies = \new ChordNames \chordmode {
   \germanChords
@@ -184,7 +184,7 @@ staffVoice = \new Staff = astaffvoice  {
 
 staffAccordionMel =
 \new Staff  \with { \remove "Clef_engraver" } {
-  #(set-accidental-style 'forget) %Set the accidentals (Vorzeichen) for each note,
+  \accidentalStyle "forget" %Set the accidentals (Vorzeichen) for each note,
   %do not remember them for the rest of the measure.
   \time 4/4
   \set Staff.instrumentName="Accordion"
@@ -196,9 +196,9 @@ staffAccordionMel =
 
 AltOn =
 #(define-music-function (parser location mag) (number?)
-  #{ \override Stem #'length = #$(* 7.0 mag)
+  #{ \override Stem #'length = #(* 7.0 mag)
       \override NoteHead #'font-size =
-#$(inexact->exact (* (/ 6.0 (log 2.0)) (log mag))) #})
+#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag))) #})
 
 AltOff = {
   \revert Stem #'length