X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fscore-for-diatonic-accordion.ly;h=badba96463746206a0922519a51ade6b42e94f2c;hb=2a4c5137870acf1b1fd2f3307d98973a52cfc8b9;hp=4cdddcad383f1e17b5cd21d595050336f0b03ce3;hpb=01df8ad908c92687d0c352e5ad5f067e52809423;p=lilypond.git diff --git a/Documentation/snippets/score-for-diatonic-accordion.ly b/Documentation/snippets/score-for-diatonic-accordion.ly index 4cdddcad38..badba96463 100644 --- a/Documentation/snippets/score-for-diatonic-accordion.ly +++ b/Documentation/snippets/score-for-diatonic-accordion.ly @@ -1,14 +1,13 @@ -% 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" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.19.22" \header { - lsrtags = "template, real-music, specific-notation" + lsrtags = "real-music, specific-notation, template" texidoc = " A template to write a score for a diatonic accordion. @@ -53,15 +52,10 @@ push-parts and which the pull-parts. 3. For each pull- or push-part translate the piano notes to the according tabulature representation. - -This snippet comes with a useful optional macro for the jEdit text -editor. - " doctitle = "Score for diatonic accordion" } % begin verbatim - verse = \lyricmode { Wie gross bist du! Wie gross bist du! } harmonies = \new ChordNames \chordmode { @@ -72,8 +66,8 @@ harmonies = \new ChordNames \chordmode { bes1 } -NoStem = { \override Stem.transparent = ##t \override Flag.transparent = ##t } -NoNoteHead = \override NoteHead.transparent = ##t +NoStem = { \hide Stem } +NoNoteHead = \hide NoteHead ZeroBeam = \override Beam.positions = #'(0 . 0) staffTabLine = \new Staff \with { @@ -113,9 +107,6 @@ staffTabLine = \new Staff \with { } } -%{ -%} - % Accordion melody in tabulator score % 1. Place a copy of the piano melody below % 2. Separate piano melody into pull- and push-parts according to the staffTabLine you've already made @@ -158,7 +149,7 @@ AccordionTab= { \dynamicUp \context { \Staff \consists "Grid_point_engraver" - gridInterval = #(ly:make-moment 4 4) % 4/4 - tact. How many beats per bar + gridInterval = #(ly:make-moment 4/4) % 4/4 - tact. How many beats per bar % The following line has to be adjusted O-F-T-E-N. \override GridPoint.Y-extent = #'(-2 . -21) } @@ -195,7 +186,7 @@ staffAccordionMel = } AltOn = -#(define-music-function (parser location mag) (number?) +#(define-music-function (mag) (number?) #{ \override Stem.length = #(* 7.0 mag) \override NoteHead.font-size = #(inexact->exact (* (/ 6.0 (log 2.0)) (log mag))) #}) @@ -244,4 +235,3 @@ staffBassRhytm = \lyricsto VoiceBassRhytm \LyricBassRhythmI >> } -%}