[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: changing staffgroup-staff-spacing
From:       Stefan Thomas <kontrapunktstefan () googlemail ! com>
Date:       2011-07-26 11:01:48
Message-ID: CAH-WrMHnj3x2F=pVDZ0fKST9=BqLkKs+ApHCRE6A=hFrWbnn+w () mail ! gmail ! com
[Download RAW message or body]

Dear Keith,
thanks very much for Your very good explanations.
I think, the best solution would be to write the dynamics in the lower
staff, as You suggested.


2011/7/25 Keith OHara <k-ohara5a5a@oco.net>

> On Mon, 25 Jul 2011 11:52:06 -0700, Stefan Thomas <
> kontrapunktstefan@googlemail.**com <kontrapunktstefan@googlemail.com>>
> wrote:
>
>  I thought I could also solve problem in the below quoted snippet with and
>>
>> override of minimum-Y-extent. But unfortunately, I get a bad collision
>> between dynamics and and the next staff:
>>
>
> The crescendo to ff spans a line of music that crosses staves.  LilyPond
> lets you cross any number of staves, but to do so she ignores collisions of
> spanners that cross staves.  You might want to use #(ly:set-option
> 'debug-skylines) to see outlines of what items get space reserved for them.
>
> The crescendo runs through the ottava bracket even without the override.
>  Extending the ff downward with (-12 . 0) lowered the cresc. , but did not
> push the next staff down because the ff is part of a line that Lilypond
> believes is allowed to cross staves.
>
> I would place the dynamics in the lower primo staff
>  primoB = { \clef bass
>  \crescTextCresc
>  s2\< s8 s8\ff s4
>  }
> If you need the dynamics in their logical voice (for MIDI output?) the you
> could use
>   \once\override DynamicLineSpanner #'Y-offset = #-19
> before the note with the \< to specify where you want the dynamics line
> relative to the *upper* staff (its original staff).
>
> I recommend you use "\once" before any override of minimum-Y-extent, and
> use it on items that are fixed to a staff.  In this case the only solid item
> I see is the last rest in secundoA
>  \once\override Rest #'minimum-Y-extent = #'(0 . 6)
>  r2
>
> Four-hand modern piano music will be very frustrating, or maybe very
> rewarding, to typeset.

[Attachment #3 (text/html)]

Dear Keith,<br>thanks very much for Your very good explanations.<br>I think, the best \
solution would be to write the dynamics in the lower staff, as You \
suggested.<br><br><br><div class="gmail_quote">2011/7/25 Keith OHara <span \
dir="ltr">&lt;<a href="mailto:k-ohara5a5a@oco.net">k-ohara5a5a@oco.net</a>&gt;</span><br>
 <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;">On Mon, 25 Jul 2011 11:52:06 -0700, Stefan Thomas &lt;<a \
href="mailto:kontrapunktstefan@googlemail.com" \
target="_blank">kontrapunktstefan@googlemail.<u></u>com</a>&gt; wrote:<br>

<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> I thought I could also solve problem in the below quoted \
snippet with and<div class="im"><br> override of minimum-Y-extent. But unfortunately, \
I get a bad collision<br> between dynamics and and the next staff:<br>
</div></blockquote>
<br>
The crescendo to ff spans a line of music that crosses staves.  LilyPond lets you \
cross any number of staves, but to do so she ignores collisions of spanners that \
cross staves.  You might want to use #(ly:set-option &#39;debug-skylines) to see \
outlines of what items get space reserved for them.<br>

<br>
The crescendo runs through the ottava bracket even without the override.  Extending \
the ff downward with (-12 . 0) lowered the cresc. , but did not push the next staff \
down because the ff is part of a line that Lilypond believes is allowed to cross \
staves.<br>

<br>
I would place the dynamics in the lower primo staff<br>
 primoB = { \clef bass<br>
  \crescTextCresc<br>
  s2\&lt; s8 s8\ff s4<br>
 }<br>
If you need the dynamics in their logical voice (for MIDI output?) the you could \
use<br>  \once\override DynamicLineSpanner #&#39;Y-offset = #-19<br>
before the note with the \&lt; to specify where you want the dynamics line relative \
to the *upper* staff (its original staff).<br> <br>
I recommend you use &quot;\once&quot; before any override of minimum-Y-extent, and \
use it on items that are fixed to a staff.  In this case the only solid item I see is \
the last rest in secundoA<br>  \once\override Rest #&#39;minimum-Y-extent = #&#39;(0 \
. 6)<br>  r2<br>
<br>
Four-hand modern piano music will be very frustrating, or maybe very rewarding, to \
typeset.</blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic