Re: Levelling hairpins

2015-02-14 Thread Noeck
Hi, there may be some issues I do not have in this simple example. But in principle extracting dynamics from music into a dynamics context is possible (second staff below): - Do not engrave the dynamics with the staff (remove engraver) - Put the same music in a dynamics context in addition (the

Re: Levelling hairpins

2015-02-14 Thread Noeck
I have a follow-up question to my own example: It seems like LilyPond does already keep the level of dynamics in a staff if they are connected via spanners (\cresc \ff in my example). Couldn’t that be extended, that there is some invisible connection? Because sometimes you want a break in the

Re: Levelling hairpins

2015-02-14 Thread Richard Shann
On Sat, 2015-02-14 at 00:44 -0800, Nathan Ho wrote: On Fri, Feb 13, 2015 at 12:53 PM, Peter Gentry peter.gen...@sunscales.co.uk wrote: This is very true but the dynamics context is very cumbersome for this purpose alone. Surely there must be a simpler way to align hairpins. Hmm, how

Re: Levelling hairpins

2015-02-14 Thread Noeck
The \= part is possible: \= = \tweak #'stencil #f \ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Levelling hairpins

2015-02-14 Thread Noeck
Hi David, It's a shame that Lilypond does not (so far as I know) have any way to (a) associate one mark with another for positioning purposes This association can be done quite easily as you can see in my previous mail. Have you seen it? However, I already found some drawbacks when used on the

Re: Levelling hairpins

2015-02-14 Thread David Sumbler
It's probably a language thing... My use of the word 'shame' did not in any way imply that I think that anybody should feel shame, inadequacy or guilt for the fact that Lilypond does not always do what some of us would like. The English idiom it's a shame means the same as the similar it's a

Re: Levelling hairpins

2015-02-14 Thread Werner LEMBERG
It's probably a language thing... Indeed. I should have looked up the phrase before writing. Sorry. The link you included is very interesting - although I won't hold my breath, because I see that the discussion has been going on for 4½ years so far. The very issue is that we only have

Re: Levelling hairpins

2015-02-14 Thread David Sumbler
On Sat, 2015-02-14 at 15:41 +0100, Werner LEMBERG wrote: It's probably a language thing... Indeed. I should have looked up the phrase before writing. Sorry. The link you included is very interesting - although I won't hold my breath, because I see that the discussion has been going on

Re: Levelling hairpins

2015-02-14 Thread Werner LEMBERG
It's a shame that Lilypond does not (so far as I know) have any way to (a) associate one mark with another for positioning purposes (b) associate dynamics with two staves, and use some sensible algorithm for vertically spacing the dynamics between the two staves and their contents.

Re: Levelling hairpins

2015-02-14 Thread Nathan Ho
On Fri, Feb 13, 2015 at 12:53 PM, Peter Gentry peter.gen...@sunscales.co.uk wrote: This is very true but the dynamics context is very cumbersome for this purpose alone. Surely there must be a simpler way to align hairpins. Hmm, how about a Scheme function that extracts all the dynamic events

Re: Levelling hairpins

2015-02-14 Thread H. S. Teoh
On Sat, Feb 14, 2015 at 12:44:44AM -0800, Nathan Ho wrote: On Fri, Feb 13, 2015 at 12:53 PM, Peter Gentry peter.gen...@sunscales.co.uk wrote: This is very true but the dynamics context is very cumbersome for this purpose alone. Surely there must be a simpler way to align hairpins.

Re: Levelling hairpins

2015-02-13 Thread Richard Shann
to the discussion below: http://lilypond.1069038.n5.nabble.com/Levelling-hairpins-tp171841.html To start a new topic under User, email [hidden email] To unsubscribe from Lilypond, click here. NAML

Levelling hairpins

2015-02-13 Thread David Sumbler
One of my pieces has a lot of crescendo-decrescendo markings, using two hairpins (i.e. and ). Mostly these look fine; but just occasionally, because of the contours of the melodic line above the hairpins, the crescendo and decrescendo hairpins have different vertical placements and are not

Re: Levelling hairpins

2015-02-13 Thread tisimst
-- If you reply to this email, your message will be added to the discussion below: http://lilypond.1069038.n5.nabble.com/Levelling-hairpins-tp171841.html To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com To unsubscribe from Lilypond, click here http://lilypond

Re: Levelling hairpins

2015-02-13 Thread Peter Gentry
This is too well known to need an example, indeed one is given in the documentation http://www.lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-attached-to-notes http://www.lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-attached-to-notes#dynamics where the

Re: Levelling hairpins

2015-02-13 Thread David Stephen Grant
This is how I deal with it. Not exactly automatic, but works well for me :-) \version 2.19.15 dynPadYOn = #(define-music-function (parser location padding)(number?) #{ \override DynamicLineSpanner.staff-padding = $padding #}) dynPadYOff = #(define-music-function (parser location)()