On Mon, Nov 18, 2019 at 1:00 PM Thomas Morley <thomasmorle...@gmail.com> wrote:
>
> Am Mo., 18. Nov. 2019 um 02:37 Uhr schrieb Paolo Prete <p4olo_pr...@yahoo.it>:
> >
> > Hello.
> >
> > I can't find a way to have a single sequence of dynamics that affects both 
> > upper and lower piano staves in the MIDI output.
> > I tried the following snippet but I can't hear any variation of the 
> > dynamics in the midi file.
> >
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%
> >
> > \score {
> > <<
> >    \new PianoStaff <<
> >       \new Staff="up" { c'4 c' r r }
> >       \new Dynamics { s4\fff s s\ppp s}
> >       \new Staff="down" { r4 r c' c' }
> >    >>
> > >>
> > \layout { }
> > \midi { }
>
>
>   \midi {
>     \context {
>       \Staff
>       \consists "Dynamic_performer"
>     }
>   }
>
> > }
> >
> > %%%%%%%%%%%%%%%%%%%%%

Works like a charm, thanks!  Although I can now see why someone would
want the dynamics to map to velocity instead of volume.

Reply via email to