X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fscore-for-diatonic-accordion.ly;h=a721ee27be115764e72fed7396a18edd8d995375;hb=53da8b7d3773da804e79fd455d168efd9475d2f9;hp=cc11068dcc7cf159a8e372b856619721c85a3725;hpb=2f320e9722ec20d6f13ec567d007763cc912c5da;p=lilypond.git diff --git a/Documentation/snippets/score-for-diatonic-accordion.ly b/Documentation/snippets/score-for-diatonic-accordion.ly index cc11068dcc..a721ee27be 100644 --- a/Documentation/snippets/score-for-diatonic-accordion.ly +++ b/Documentation/snippets/score-for-diatonic-accordion.ly @@ -1,13 +1,14 @@ -%% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it -%% Make any changes in LSR itself, or in Documentation/snippets/new/ , -%% and then run scripts/auxiliar/makelsr.py -%% -%% This file is in the public domain. -\version "2.14.0" +% DO NOT EDIT this file manually; it is automatically +% generated from Documentation/snippets/new +% Make any changes in Documentation/snippets/new/ +% and then run scripts/auxiliar/makelsr.py +% +% This file is in the public domain. +%% Note: this file works from version 2.15.20 +\version "2.15.20" \header { - lsrtags = "template" + lsrtags = "template, real-music, specific-notation" texidoc = " A template to write a score for a diatonic accordion. @@ -60,6 +61,7 @@ editor. doctitle = "Score for diatonic accordion" } % begin verbatim + verse = \lyricmode { Wie gross bist du! Wie gross bist du! } harmonies = \new ChordNames \chordmode { @@ -70,7 +72,7 @@ harmonies = \new ChordNames \chordmode { bes1 } -NoStem = \override Stem #'transparent = ##t +NoStem = { \override Stem #'transparent = ##t \override Flag #'transparent = ##t } NoNoteHead = \override NoteHead #'transparent = ##t ZeroBeam = \override Beam #'positions = #'(0 . 0) @@ -182,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" @@ -194,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 @@ -243,4 +245,3 @@ staffBassRhytm = >> } %} -