msk...@ansuz.sooke.bc.ca writes:

> Thank you.  That works for the given example.  However, with more
> complicated music that already contains multiple voices (as is typical of
> the piano music where a between-staff Dynamics context would be used in
> the first place), it doesn't work.  For example:
>
> MyMusic = { << { c'1 c'1 } \\ { e'1 e'1 } >> }
> MyDynamics = { s1\ppp s1\fff }
>
> \score {
>   \new Voice << \MyMusic \MyDynamics >>
>   \layout { }
>   \midi { }
> }
>
> With that code all the notes end up at default velocity.
>
> You mention that Dynamic_performer "lives at Voice level" by default.  Is
> this a default I can override, and would that help?

Yes, and yes.

\midi {
   \context {
      \Voice
      \remove Dynamic_performer
    }
    \context {
      \Staff
      \consists Dynamic_performer
    }
}

-- 
David Kastrup

Reply via email to