lilypond-user
[Top][All Lists]
Advanced

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

Re: midi \p \f volume


From: Vaughan McAlley
Subject: Re: midi \p \f volume
Date: Tue, 1 Nov 2016 00:14:13 +1100

On 31 October 2016 at 18:52, Gianmaria Lari <address@hidden> wrote:
> If you don't use the dynamic mark from \ppppp to \fffff but you limit
> yourseft from \p to \f, the midi output is often too tight.
>
> Is there any (easy) way to make the range from \p to \f playing as \ppppp to
> \fffff?
> Thank you, g.
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

Hi Gianmaria,

It looks like you can redefine the Scheme list of dynamics:

%%%%%%%%%%%%%%%%%%%
\version "2.18.2"

% Redefine what was set in ../scm/midi.scm
#(set! absolute-volume-alist
       (append
        '(
            ("f" . 0.95)
            ("mf" . 0.75)
            ("mp" . 0.55)
            ("p" . 0.35)
            )
        absolute-volume-alist))

\score {
 \relative c' { c4\p d\mp e\mf f\f }
 \layout {}
 \midi {}
}

%%%%%%%%%%%%%%%%%%%%%%%%

You can set the numbers to anything you like between 0 and 1.

Cheers,
Vaughan



reply via email to

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