[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sending around contexts
From: |
Valentin Petzel |
Subject: |
Re: Sending around contexts |
Date: |
Sat, 21 Nov 2020 22:22:00 +0100 |
As Lukas has pointed out you can even do something like this
toDyn =
#(define-music-function (music1 music2 context cname) (ly:music? ly:music?
markup? string?)
#{
<< #music1 \new #"Container" \new Notes { \change #cname = #context
#music2 } >>
#})
So you can actually specify the name of the Context.
This kindof makes my Tab example obsolete, as you can simply do that.
Valentin
Tab2.ly
Description: Text Data
signature.asc
Description: This is a digitally signed message part.
Re: Sending around contexts, Valentin Petzel, 2020/11/21