lilypond-user
[Top][All Lists]
Advanced

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

Re: Piano pedal mark collision (\sustainOn, \sustainOff)


From: Przemyslaw Pawelczyk
Subject: Re: Piano pedal mark collision (\sustainOn, \sustainOff)
Date: Wed, 27 Jan 2016 20:33:58 +0100

Hi!

No one played with positions of \sustainOn and \sustainOff?

On Sat, Jan 23, 2016 at 1:33 PM, Przemyslaw Pawelczyk
<address@hidden> wrote:
> I have a problem with \sustainOn and \sustainOff colliding each other
> in some cases.
> I use following pattern
>
>     s32*31\sustainOn s32\sustainOff
[...]
> but it often looks bad on the paper.

You can see the problem below:
http://paste.przemoc.net/lilypond/piano-pedal-mark-collision/piano-pedal-mark-collision.pdf
http://paste.przemoc.net/lilypond/piano-pedal-mark-collision/piano-pedal-mark-collision.ly

BTW Isn't it a bug that those collisions happen at all?

>
> Is there any way to improve it globally?
> Is there any way to fine tune horizontal position of the pedal indication?

I came up with:

    \override SustainPedal.X-offset = -1

which improves the situation globally, but doesn't avoid collisions in
case of denser pedaling like:

   s32*15\sustainOn s32\sustainOff s32*15\sustainOn s32\sustainOff

I can mitigate such issues by correcting X-offset manually then, e.g.:

    \once \override SustainPedal.X-offset = -2

(finding value looking appropriately in the context is trial and error
process, though)

If there is any smarter way, then I will replace it instantly.

Example of above workarounds:
http://paste.przemoc.net/lilypond/piano-pedal-mark-collision/piano-pedal-mark-collision-workaround.pdf
http://paste.przemoc.net/lilypond/piano-pedal-mark-collision/piano-pedal-mark-collision-workaround.ly

>
> Or maybe there is even a way to use some Scheme magic that would allow
> writing simpler form (s1\sustainOff\sustainOn), yet modifying it for
> MIDI (changing off placement by given duration, 32 in  the example)?

This would be super handy.

Regards.

-- 
Przemyslaw Pawelczyk
Cross-site thinker, rookie composer, Linux apprentice
https://soundcloud.com/przemoc86



reply via email to

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