[Top][All Lists]

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

Distance between staffs

From: Silvain Dupertuis
Subject: Distance between staffs
Date: Thu, 22 Jul 2021 16:12:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0


I made a chord version of the first Praeludium of the Wohltemperierte Klavier
(in which the chords were programmaticall reconstructed from the liste of notes)

As the chords extend on 2 and a half octaves,
I wanted to get them on a normal piano staff
and adjust the distance of staffs so that the would be like one staff with one space for an A3 note.

Then the chords can be placed on the upper staff with notes automatically appearing at they right place on the lower staff.

I found a nice way to do it, using Lilypond 20, by specifying staff-staff-spacing.padding with a negative value

    \new PianoStaff \with {
      % midiInstrument = "tenor sax"
      \override StaffGrouper.staff-staff-spacing = #'(
                            (basic-distance . 0)				
                            (padding . 0)) % s0 for first exemple ; second example : (padding . -3.09)

The result was this

with padding=0
with the negative adjustment (padding = -3.06)

Unfortunately, this adjustment no longer works in LilyPond 22
It looks like the property was broken, or no longer function this way?
Whatever the value, the distance is not affected.

You can see the complete LilyPond and PDF files in this NextCloud folder

Thank you in advance if you can sort this problem out.



Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52

reply via email to

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