lilypond-user
[Top][All Lists]
Advanced

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

Re: midi volume: default, crescendo, dynamic context, multiple staff


From: Karlin High
Subject: Re: midi volume: default, crescendo, dynamic context, multiple staff
Date: Wed, 2 Nov 2016 15:42:43 +0000

On 11/1/2016 5:24 PM, Gianmaria Lari wrote:
>
> What's the default midi volume in case I don't specify an absolute 
> dynamic mark (like \p \f etc)? Is there any way to change this default 
> value?
>

If I do this...

\version "2.19.48"
{ c' }
\midi { }

...and open the resulting MIDI file in SpeedyMidi ( 
http://speedymidi.sourceforge.net/ ) it looks like LilyPond set the 
volume to 100. (MIDI allows 0 - 128, right?)

> A crescendo mark that's not ending with an absolute dynamic mark how 
> much does increase or decrease the midi volume?
>
> In case I separate the dynamics from the music using a Dynamics 
> context is there any way to reflect the dynamics it in the midi output?
>
> Is it possible to specify some dynamics just once and apply it to 
> multiple staff?

I don't know about dynamic marks affecting volume or separate dynamics 
contexts affecting output. All I can do is refer to documentation:
http://lilypond.org/doc/v2.19/Documentation/notation/controlling-midi-dynamics.en.html

But a dynamics expression can be reused anywhere.

\version "2.19.48"
% Dynamics defined here
dyn = { s4\f\> s4 s4 s4\p\! }

\score {
   \new ChoirStaff <<
     % First use of dynamics
     \new Dynamics { \dyn }
     \new Staff = "SA" \relative {
       c' d e f
     }
     \new Staff = "TB" \relative {
       \clef bass
       a, b c d
     }
     % Second use of dynamics
     \new Dynamics { \dyn }
   >>
   \midi { }
}




reply via email to

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