]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/score-for-diatonic-accordion.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / score-for-diatonic-accordion.ly
index b00d9a502df283c6d6c3e3668aafd5c7444939c8..029486b1fe2fcb93abb771b87e1b7c2f01ab371d 100644 (file)
@@ -4,11 +4,11 @@
 % 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.16.0"
 
 \header {
-  lsrtags = "template"
+  lsrtags = "template, real-music, specific-notation"
 
   texidoc = "
 A template to write a score for a diatonic accordion.
@@ -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
@@ -245,4 +245,3 @@ staffBassRhytm =
   >>
 }
 %}
-