lilypond-user
[Top][All Lists]
Advanced

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

Spacing issue


From: mclaren
Subject: Spacing issue
Date: Thu, 3 Nov 2016 21:32:25 -0700 (MST)

This particular score has a peculiar spacing issue. I used the recommended
proportional spacing code given in the Lilypond manual, and I've fiddled
with the make-moment values, but notes that should be exactly evenly spaced
are still distinctly crimped up.  Unless I haven't understood the
proportional spacing code in the Lilypond manual, which is always a
possibility.

The spacing of the notes on the first staff is fine, exactly as it should
be. On the second staff there are no tuplets, so logically you would expect
that the spacing should be precisely even on the eighth notes and sixteenth
notes since we're using the proportional spacing code from the snippet
library. But instead, on the second staff, the third sixteenth note in the
first group is all squished and one of the eighth notes in the fifth group
of eighth notes on the second staff is squashed together.

What I want here is for eighth notes to take the same amount of space on the
page each time they occur. The tuplets should get squished and expanded as
necessary, but the regular eighth notes and sixteenth should always take up
the same amount space relative to one another on the page. But that's not
what's happening, so presumably I'm doing something wrong.

The same problem recurs on the third staff. Notice that the eighth notes are
all standard plain-vanilla eighth notes in the third staff. Only the rests
are tuplets in the third staff -- the eighth notes on the third staff never
vary in duration, so logically the eighth notes should all be spaced evenly
relative to one another. But that isn't happening, and I can't figure out
why.

Any suggestions?

\version "2.18.2"

\header { 
  tagline = ""  % removed 
} 

#(set-default-paper-size "a4" 'landscape)
indent=0
\layout{

  \context {
      \Score
     \override SpacingSpanner.uniform-stretching = ##t  
     \omit Score.BarLine
   }
  % \override Score.SpacingSpanner.strict-note-spacing = ##t
   \context {
      \Score
      proportionalNotationDuration = #(ly:make-moment 3/20)      
    }
  
  \context {
    \type Engraver_group
    % Add elements that _can_ be printed
    \consists "Timing_translator"
    \consists "Time_signature_engraver"
   
    \alias "Staff"      
  }
  \context {
    \Score
    %\accepts "TimeLine"

    \override TupletNumber.text = #tuplet-number::calc-fraction-text
  }
  \context {
    \Staff
    \consists "Timing_translator"  
  }
}

{
    
<<
%  \new TimeLine {\time 48/8}

\new Staff { \clef "treble"
  \time 48/8           

% 14 x 7:4 eighths = 8 eighths
% 10 x 5:3 eighths = 6 eighths
% 6 x 3:2 eighths = 4 eighths
% 15 x 1/4 =        30 eighths
% Total = 30 + 4 + 6 + 8 = 48/8
{

\relative c'' {c4 \tuplet 7/4 {c8[ c8]}  c4 \tuplet 5/3 {c8[ c8]} r4
\tuplet 7/4 {c8[ c8]} c4 \tuplet 3/2{c8[ c8]} c4 
\tuplet 7/4 {c8[  c8 c8]} c4 \tuplet 5/3{c8[ c8]} r4 
\tuplet 7/4{c8[ c8]} c4 \tuplet 3/2{c8[ c8]} c4 
\tuplet 7/4{c8[ c8]} r4 \tuplet 5/3{c8[ c8]} c4 
\tuplet 7/4{c8[ c8 c8]} c4 \tuplet 5/3{c8[ c8]}  c4 
\tuplet 3/2{c8[ c8]} r4 \tuplet 5/3{c8[ c8]}  
}
\relative c'' {c4 \tuplet 7/4 {c8[ c8]}  c4 \tuplet 5/3 {c8[ c8]} r4
\tuplet 7/4 {c8[ c8]} c4 \tuplet 3/2{c8[ c8]} c4 
\tuplet 7/4 {c8[  c8 c8]} c4 \tuplet 5/3{c8[ c8]} r4 
\tuplet 7/4{c8[ c8]} c4 \tuplet 3/2{c8[ c8]} c4 
\tuplet 7/4{c8[ c8]} r4 \tuplet 5/3{c8[ c8]} c4 
\tuplet 7/4{c8[ c8 c8]} c4 \tuplet 5/3{c8[ c8]}  c4 
\tuplet 3/2{c8[ c8]} r4 \tuplet 5/3{c8[ c8]}  
}

}

}      

\new Staff { \clef "treble"
  \time 44/8                       
{
% 8x r8 + 8x3 c8 + 8x3 c16 = 8 + 24 + 12 = 44/8

\relative c''{r8 c8[ c8 c8 c16 c16 c16]} 
\relative c''{r8 c8[ c8 c8 c16 c16 c16]}
\relative c''{r8 c16[ c16 c16 c8 c8 c8]}
\relative c''{r8 c8[ c8 c8 c16 c16 c16]}
\relative c''{r8 c8[ c8 c8 c16 c16 c16]} 
\relative c''{r8 c16[ c16 c16 c8 c8 c8]}
\relative c''{r8 c16[ c16 c16 c8 c8 c8]} 
\relative c''{r8 c16[ c16 c16 c8 c8 c8]} 


\relative c''{r8 c8[ c8 c8 c16 c16 c16]} 
\relative c''{r8 c8[ c8 c8 c16 c16 c16]}
\relative c''{r8 c16[ c16 c16 c8 c8 c8]}
\relative c''{r8 c8[ c8 c8 c16 c16 c16]}
\relative c''{r8 c8[ c8 c8 c16 c16 c16]} 
\relative c''{r8 c16[ c16 c16 c8 c8 c8]}
\relative c''{r8 c16[ c16 c16 c8 c8 c8]} 
\relative c''{r8 c16[ c16 c16 c8 c8 c8]} 
}

}

\new Staff { \clef "treble"
   \time 30/8            
{
% 24 eighths + 3 x 3:2 = 2 eighths + 5 x 5:4 eighths = 4 eighths
% So the total is 24 + 4 + 2 = 30/8 time.

\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]} 
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]} 
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8 r8}}

\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]} 
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8} c8[ c8 c8 c8]} 
\relative c''{\tuplet 3/2{r8} c8[ c8 c8 c8]}
\relative c''{\tuplet 5/4{r8 r8}}
   
}
}

%\new TimeLine {\time 42/8}
\new Staff { \clef "treble"
  \time 46/8                        
{  
% 20x 5:4 16ths = 16 16ths  = 8 eighths
% 4x3x 4:3 16ths =  9 16ths
% 9x three 16ths = 27 16ths  and 9 + 27 16th = 36 16ths = 18 eighths
% 10x 1/4 = 20 eighths
% Total = 46 eighths
\relative c''{r4 \tuplet 4/3{r16 c16[ c16]} {r16 c16[ c16]}}
\relative c''{r4 \tuplet 5/4{r16 c16[ c16 c16]} {r16 c16[ c16]}} 

\relative c''{r4 \tuplet 4/3{r16 c16[ c16]} {r16 c16[ c16]}} 
\relative c''{r4 \tuplet 5/4{r16 c16[ c16 c16]} {r16 c16[ c16]}}

\relative c''{r4 \tuplet 4/3{r16 c16[ c16]} {r16 c16[ c16]}}
\relative c''{r4 \tuplet 5/4{r16 c16[ c16 c16]} {r16 c16[ c16]}} 

\relative c''{r4 \tuplet 4/3{r16 c16[ c16]} {r16 c16[ c16]}} 
\relative c''{r4 \tuplet 5/4{r16 c16[ c16 c16]} {r16 c16[ c16]}}

\relative c''{r4  {r16 c16[ c16]}}
\relative c''{r4 \tuplet 5/4{r16 c16[ c16 c16]}
 |
 
 \relative c''{r4 \tuplet 4/3{r16 c16[ c16]} {r16 c16[ c16]}}
\relative c''{r4 \tuplet 5/4{r16 c16[ c16 c16]} {r16 c16[ c16]}} 

\relative c''{r4 \tuplet 4/3{r16 c16[ c16]} {r16 c16[ c16]}} 
\relative c''{r4 \tuplet 5/4{r16 c16[ c16 c16]} {r16 c16[ c16]}}

\relative c''{r4 \tuplet 4/3{r16 c16[ c16]} {r16 c16[ c16]}}
\relative c''{r4 \tuplet 5/4{r16 c16[ c16 c16]} {r16 c16[ c16]}} 

\relative c''{r4 \tuplet 4/3{r16 c16[ c16]} {r16 c16[ c16]}} 
\relative c''{r4 \tuplet 5/4{r16 c16[ c16 c16]} {r16 c16[ c16]}}

\relative c''{r4  {r16 c16[ c16]}}
\relative c''{r4 \tuplet 5/4{r16 c16[ c16 c16]}
}
}
}}
>>

}





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Spacing-issue-tp196131.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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