[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Piano pedal mark collision (\sustainOn, \sustainOff)
From: |
Mark Stephen Mrotek |
Subject: |
RE: Piano pedal mark collision (\sustainOn, \sustainOff) |
Date: |
Wed, 27 Jan 2016 12:45:49 -0800 |
Przemyslaw,
If acceptable, the use of "bracket" style can eliminate the conflict.
Mark
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Przemyslaw Pawelczyk
Sent: Wednesday, January 27, 2016 11:34 AM
To: lilypond-user <address@hidden>
Subject: Re: Piano pedal mark collision (\sustainOn, \sustainOff)
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-mar
k-collision.pdf
http://paste.przemoc.net/lilypond/piano-pedal-mark-collision/piano-pedal-mar
k-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-mar
k-collision-workaround.pdf
http://paste.przemoc.net/lilypond/piano-pedal-mark-collision/piano-pedal-mar
k-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
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user