Janek Warchoł writes:
> 2014-10-12 12:45 GMT+02:00 David Kastrup :
>> I'm not even sure I understand _how_ you want the relativization to
>> happen. One after the other?
>
> If you mean \musicII should be relativized after \music, that's
> roughly what i want.
>
>> In that case, you can use
>>
>
2014-10-12 12:45 GMT+02:00 David Kastrup :
> I'm not even sure I understand _how_ you want the relativization to
> happen. One after the other?
If you mean \musicII should be relativized after \music, that's
roughly what i want.
> In that case, you can use
>
> voiceDivisi =
> #(define-music-func
Janek Warchoł writes:
> Thanks David and Paul - that's helpful. However, while the situation
> improved the output is still not what i want:
> \version "2.19.13"
>
> voiceDivisi =
> #(define-music-function (parser location m1 m2) (ly:music? ly:music?)
>#{
> \tag divI { $m1 }
> \tag
Thanks David and Paul - that's helpful. However, while the situation
improved the output is still not what i want:
\version "2.19.13"
voiceDivisi =
#(define-music-function (parser location m1 m2) (ly:music? ly:music?)
#{
\tag divI { $m1 }
\tag divII { $m2 }
\tag together << { \d
Janek Warchoł writes:
> Hi,
>
> i have a function that takes music as an argument and uses it twice - each
> time with a different tag appended, so that later on i can decide what to
> output:
>
> voiceDivisi =
> #(define-music-function (parser location m1 m2) (ly:music? ly:music?)
>#{
>
http://lilypond.1069038.n5.nabble.com/relative-music-inside-music-functions-explodes-when-used-twice-tp167420p167422.html
Sent from the User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Hi,
i have a function that takes music as an argument and uses it twice - each
time with a different tag appended, so that later on i can decide what to
output:
voiceDivisi =
#(define-music-function (parser location m1 m2) (ly:music? ly:music?)
#{
\tag divI \context Voice = "divI" { #m1 }