[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem on the dynamics of the midi output
From: |
Knute Snortum |
Subject: |
Re: Problem on the dynamics of the midi output |
Date: |
Mon, 18 Nov 2019 14:49:19 -0800 |
On Mon, Nov 18, 2019 at 1:00 PM Thomas Morley <address@hidden> wrote:
>
> Am Mo., 18. Nov. 2019 um 02:37 Uhr schrieb Paolo Prete <address@hidden>:
> >
> > 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.