X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Ftransposing-pitches-with-minimum-accidentals-smart-transpose.ly;h=51ebe920786cf5486cf2f9cfc63548067bbd223a;hb=a2e1144104e4276901185a1d52dbfe61ddb12609;hp=afc18dfc95ef3a40a51033e57e42032a3b895c38;hpb=ebc3cdab150ac7de7857043d301f784fd0f8aecc;p=lilypond.git diff --git a/Documentation/snippets/transposing-pitches-with-minimum-accidentals-smart-transpose.ly b/Documentation/snippets/transposing-pitches-with-minimum-accidentals-smart-transpose.ly index afc18dfc95..51ebe92078 100644 --- a/Documentation/snippets/transposing-pitches-with-minimum-accidentals-smart-transpose.ly +++ b/Documentation/snippets/transposing-pitches-with-minimum-accidentals-smart-transpose.ly @@ -1,10 +1,10 @@ %% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% 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.14.2" +\version "2.19.22" \header { lsrtags = "pitches, scheme-language, workaround" @@ -35,7 +35,6 @@ In this manner, the most natural enharmonic notes are chosen. doctitle = "Transposing pitches with minimum accidentals (\"Smart\" transpose)" } % begin verbatim - #(define (naturalize-pitch p) (let ((o (ly:pitch-octave p)) (a (* 4 (ly:pitch-alteration p))) @@ -75,7 +74,7 @@ In this manner, the most natural enharmonic notes are chosen. music)) naturalizeMusic = -#(define-music-function (parser location m) +#(define-music-function (m) (ly:music?) (naturalize m))