lilypond-user
[Top][All Lists]
Advanced

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

Re: Cadenza...


From: Simon Albrecht
Subject: Re: Cadenza...
Date: Tue, 3 Nov 2015 23:43:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 03.11.2015 22:57, Malte Meyn wrote:


Am 03.11.2015 um 22:33 schrieb Alberto Simões:
Making the measure have a different duration is easy...

Do you know the commands \cadenzaOn and \cadenzaOff? You don’t have to modify measure lengths if you use them ;)

my
main question is the notes size.


You can set the font size
    \set fontSize = -2 % 2 1 0 -1 -2 -3, other values possible
or use shortcuts that do the same thing.
    \tiny % \huge \large \normalsize \small \tiny \teeny

In LilyPond versions above 2.19.something there is the more advanced command \magnifyMusic that scales also stem lengths, beam thicknesses and some other things.
    \magnifyMusic #(magstep -2) { here comes the music }
    % magstep -2 is the same factor as fontSize = -2, i. e. 2^(-2/6)

And then you can do
%%%%%%%%%
\version "2.19.25"
cadenza =
#(define-music-function (mus) (ly:music?)
  #{ \cadenzaOn \magnifyMusic #(magstep -2) $mus \cadenzaOff #})
%%%%%%%%%
or similar.

HTH, Simon



reply via email to

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