]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/score-for-diatonic-accordion.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / new / score-for-diatonic-accordion.ly
index ecbde65dcf26da34ba073454c68d349122426c56..e4f2326b97ebb1367610d8e387e51d094b07841a 100644 (file)
@@ -1,7 +1,7 @@
-\version "2.15.15"
+\version "2.16.0"
 
 \header {
-  lsrtags = "template"
+  lsrtags = "template, real-music, specific-notation"
 
   texidoc = "
 A template to write a score for a diatonic accordion.
@@ -52,7 +52,7 @@ editor.
 
 "
   doctitle = "Score for diatonic accordion"
-} % begin verbatim
+}
 
 verse = \lyricmode { Wie gross bist du! Wie gross bist du! }
 
@@ -176,7 +176,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"
@@ -188,9 +188,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