lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDI dynamics


From: Caagr98
Subject: Re: MIDI dynamics
Date: Sun, 4 Feb 2018 09:52:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

I'd suggest either moving the DynamicsPerformer to the Staff context or 
replacing the \upper with << \upper \dynamics >> (and the same for \lower). 
Normally, dynamics only affect the voice they are in, which in your example is 
a different voice from the ones the notes are in.

On 02/04/18 01:55, Hilary Snaden wrote:
> I have been trying to get LilyPond to generate MIDI versions of some piano 
> music. The music script renders nicely, and there are no errors or warnings, 
> but the MIDI file plays with no dynamics at all. What am I doing wrong? 
> (LilyPond 2.18.2.)
> 
> \score {
>   \unfoldRepeats
>   \new Staff
>   <<
>     { \tempo 4=86 }
>     \new Voice = "v1" {
>       \set Staff.midiInstrument = "Acoustic grand"
>       \set Staff.midiMinimumVolume = #0.2
>       \set Staff.midiMaximumVolume = #0.8
>       \upper
>     }
>     \new Voice = "v2" {
>       \set Staff.midiInstrument = "Acoustic grand"
>       \set Staff.midiMinimumVolume = #0.2
>       \set Staff.midiMaximumVolume = #0.8
>       \lower
>     }
>     \new Dynamics \pianodynamics
>   >>
>   \midi { }
> }
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

[Prev in Thread] Current Thread [Next in Thread]