X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fscore-for-diatonic-accordion.ly;h=efafe02db07e2b406757b6950d7bd975dc12e640;hb=45b219221124f4d7b977a1a0b1e489c47bb3ac02;hp=d19e28094c9fef32b77e8546dc44c817a642f815;hpb=8f6e4647c475ad911e15fdc26493f77e6c4a6088;p=lilypond.git diff --git a/Documentation/snippets/score-for-diatonic-accordion.ly b/Documentation/snippets/score-for-diatonic-accordion.ly index d19e28094c..efafe02db0 100644 --- a/Documentation/snippets/score-for-diatonic-accordion.ly +++ b/Documentation/snippets/score-for-diatonic-accordion.ly @@ -1,7 +1,11 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it -%% This file is in the public domain. -\version "2.13.16" +% 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" @@ -57,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 { @@ -67,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) @@ -179,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" @@ -191,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