X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fscore-for-diatonic-accordion.ly;h=65af14589056fc1a0d48247cb3fe1a4dfbc7fe5a;hb=516cae503bc2b55e95604b0c0f681a6ccddcfab2;hp=e8bf5f42c88778280bea831a6c67e930901d1b35;hpb=55ac733b69643a6bc6a83b706c65cb56efd388ef;p=lilypond.git diff --git a/Documentation/snippets/score-for-diatonic-accordion.ly b/Documentation/snippets/score-for-diatonic-accordion.ly index e8bf5f42c8..65af145890 100644 --- a/Documentation/snippets/score-for-diatonic-accordion.ly +++ b/Documentation/snippets/score-for-diatonic-accordion.ly @@ -1,10 +1,14 @@ -%% 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.12.2" +% 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.17.6 +\version "2.17.6" \header { - lsrtags = "template" + lsrtags = "template, real-music, specific-notation" texidoc = " A template to write a score for a diatonic accordion. @@ -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 @@ -240,4 +245,3 @@ staffBassRhytm = >> } %} -