lilypond-user
[Top][All Lists]
Advanced

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

Re: horizontal spacing inside \magnifyMusic


From: Valentin Petzel
Subject: Re: horizontal spacing inside \magnifyMusic
Date: Thu, 11 Jun 2020 20:48:13 +0200

Hello Eby,

 

As far as I know Lilypond does not offer an easy, clean way to add spacing between certain notes. If two stems are adjacent, you can specify the spacing of the stems. This does not work if there are no Stems or Stems are too far apart vertically.

 

One hacky way around would be using skips as grace notes. Thus you won’t get midi events, but still the spacing (though you are limited in the quantisiation of spacing you can add).

 

Have a look at the appended file.

 

Regards,

Valentin

 

Hello Valentine,

 

I'm looking for to achieve something like the output without using "skips". I plan to run the midi output thru VST instrument, thus adding skips is a big no.

 

The example is achieved using "skip".

 

Thanks,

 eby

 

On Thursday, 11 June, 2020, 04:06:16 pm IST, Valentin Petzel <valentin@petzel.at> wrote:

 

 

Hello Eby,

 

 

You could do as I’ve done in the appended file. That is basically whenever you

 

need a more loose spacing, you do something like

 

\temporary\override Score.SpacingSpanner.common-shortest-duration =

 

#(ly:make-moment 1 256)

 

(where the 1/256 can be anything to your liking, using bigger note values like

 

1/8 will result in tighter spacing, using smaller values will result in looser

 

spacing.

 

 

Note that you could avoid the skips in the rests of the piano voice by scaling

 

eighter the lengths of the respective violine notes, or scaling the length of

 

the rests (like this: r1 r1*3/2 r1*5/4)

 

 

Regards,

 

Valentin

 

Attachment: cadenza.ly
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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