lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lyrics: \set associatedVoice


From: David Kastrup
Subject: Re: Lyrics: \set associatedVoice
Date: Fri, 28 Mar 2014 15:35:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Simon Albrecht <address@hidden> writes:

>>    You can just add
>>
>> makeOctaves =
>> #(define-music-function (parser location oct mus) (integer? ly:music?)
>>    (make-relative (mus) mus
>>     #{ << \transpose c' $(ly:make-pitch oct 0 0) $mus $mus >> #}))
> Excellent! This seems to be just as powerful as LSR 445 while being
> far less complicated… or do I overlook something?

It will differ in its treatments of accents etc (one would probably want
to filter them from one of the music copies).  The real work here is
actually in the make-relative macro available as of 2.18.0.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]