lilypond-user
[Top][All Lists]
Advanced

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

Dynamic context that can follow system breaks?


From: James Harkins
Subject: Dynamic context that can follow system breaks?
Date: Fri, 13 Apr 2012 00:29:14 +0800
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

I'm sure somebody has had to do this before: place dynamics under a staff so 
that all the dynamics in one system are the same distance below the staff, but 
that distance can be different from one system to the next.

At first, I attached the dynamics directly to the notes and found that the 
dynamics were jumping up and down within the same system. So I tried a few 
local \new Dynamics-es, liked what I was seeing, and then decided to replace 
all dynamics in that staff with a \new Dynamics covering the entire duration.

% Roughly...
\score {
  <<
    \new Staff {
      \key d \major \numericTimeSignature
      <<
        \global   % spacers and meter changes
        \new Dynamics {
          ... spacers and dynamics...
        }
        { ... notes ... }
      >>
    }
  >>
}

Now the dynamics are all at the same height, which looks more orderly than 
before, but it seems that the dynamics context determined the smallest distance 
that would prevent a collision against the lowest note in the entire passage, 
and then applied that distance to all of the dynamics.

I would like that distance to be calculated per system. Absolute pitch "a" in 
one system (treble clef) need not push the dynamics down in a system where all 
the notes stay within the staff (and there are no ties or slurs under the 
staff).

I've looked in the internals reference at the Dynamics context, and 
Dynamic_align_engraver and Dynamic_engraver, but I'm still quite new at 
overriding properties and don't readily see a property to set this behavior.

I wanted to check LSR but it's inaccessible to me tonight from mainland China 
("The connection has timed out... The server at lsr.dsi.unimi.it is taking too 
long to respond").

Sorry if it's a basic question, and thanks in advance for the help.
James


--
James Harkins /// dewdrop world
address@hidden
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks



reply via email to

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