Hi Kieren,

Question: Can the interface be made into a \tweak-able function, where the 
parameters are [only] the name of the target context and the music being sent 
there?

Probably this is too simple, but: In your definition

toDyn =
#(define-music-function (music1 music2) (ly:music? ly:music?)
   #{
     << #music1 \new Container \new Notes { \change Container = "piano_dynamics" 
#music2 } >>
   #})

both "Container" and "piano_dynamics" can be replaced by variables (e.g. string?'s passed to a function).

Lukas


Reply via email to