|
From: | David Kastrup |
Subject: | Re: overriding voiceOne to add properties to that specific voice context |
Date: | Thu, 20 Aug 2020 11:49:42 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Maurits Lamers <maurits@weidestraat.nl> writes: > Hi, > > Great! This is the perfect solution. I had to adjust the > (define-scheme-function) call a bit to run also under 2.18: > > setStructuralVoice = #(define-scheme-function (parser location num) (integer?) > (make-apply-context > (lambda (context) > (ly:context-set-property! context 'structuralVoice (if (> num 0) num > '()))))) > > It might need even more tweaks to run under 2.14 which is my target. I > know it is a very old version, but there is a large body of Lilypond > code my work depends on and that is lilypond 2.14. I am afraid that it > would distract the current effort and cost too much time at the moment > to convert that body of work to a more recent version of lilypond. Have you even tried running convert-ly on it? -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |