[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Spacing bug.
From: |
Rune Zedeler |
Subject: |
Spacing bug. |
Date: |
Mon, 12 Feb 2001 18:50:52 +0100 |
I am sorry for big, clumsy example (very clumsy) - but I was unable to
reproduce this bug.
I really try to widen the space - I have
\translator {
\ScoreContext
SpacingSpanner \override #'arithmetic-basicspace = #4.0
SpacingSpanner \override #'maximum-duration-for-spacing =
#(make-moment 1 64)
}
and the two first lines look as they should - but the two last lines are
very packed and ugly.
If I remove the above translator then it looks all normal.
What is going wrong? Some sort of overflow?
-Rune
\version "1.3.129"
ndef = \property Voice.NoteHead \override #'style = #'default
ncros = \property Voice.NoteHead \override #'style = #'cross
ndiam = \property Voice.NoteHead \override #'style = #'diamond
cymc = {\ndiam \notes a'4}
cymcd = {\ndiam \notes a'4.}
cymcf = {\ndiam \notes a'8}
cymr = {\ncros \notes a'4}
cymrd = {\ncros \notes a'4.}
cymrf = {\ncros \notes a'8}
hh = {\ncros \notes f'}
hho = {\ncros \notes f'8^\open}
hhc = {\ncros \notes f'8^\stopped}
hhoff = {\ncros \notes f'16^\open}
hhcff = {\ncros \notes f'16^\stopped}
hhs = {\ncros \notes e4}
hhsf = {\ncros \notes e8}
bd = {\ndef \notes g4}
bdd = {\ndef \notes g4.}
bdf = {\ndef \notes g8}
bdff = {\ndef \notes g16}
sn = {\ndef \notes d'4}
snf = {\ndef \notes d'8}
snfd = {\ndef \notes d'8.}
th = {\ndef \notes e'4}
thf = {\ndef \notes e'8}
thff = {\ndef \notes e'16}
thfff = {\ndef \notes e'32}
tm = {\ndef \notes c'4}
tmf = {\ndef \notes c'8}
tmff = {\ndef \notes c'16}
tmfff = {\ndef \notes c'32}
tl = {\ndef \notes a4}
tlf = {\ndef \notes a8}
tlff = {\ndef \notes a16}
tlfff = {\ndef \notes a32}
coco = \notes {\hhc \hho \hhc \hho}
bsb = \notes {\bd \snf \bdf}
drumu = \context Voice=drumu \notes {\clef "percussion"; \stemUp
\repeat "volta" 3 {
\cymc \hhc \hho \coco \coco \coco \coco \coco r8 \cymrf r \cymcf r2 |
\coco \coco \coco \coco \coco \coco
}
\alternative {
{\cymr r8 \cymcf r2}
{\cymrd \cymcf r4. \cymcf | r2.. \cymcf s1}
{\cymrd \cymcf r4. \cymcf}
}
r2.. \cymcf r4 \th \tmf \tmf r4 | \cymc r4 \cymrd \cymcf | r8 \thf \thf r8
\tmf \tmf r8 \cymcf |
r2.. \cymcf | r4 \th \tmf \tmf r4 | \cymc \cymr \cymcd \cymcf | r2 r8 \cymcf
r8 \cymcf \bar "|.";
}
druml = \context Voice=druml \notes {\stemDown
\repeat "volta" 3 {
\bsb \bsb \bsb \bd \sn \bsb \bsb r8 \bdf r \bdf r8.\thfff \thfff \thff
\thff \tmf |
\bsb \bsb \bsb \bd \sn \bsb \bd \sn
}
\alternative {
{\bdd \bdf r8. \thfff \thfff \thff \thff \tmf}
{\bdd \bdf r4. \bdf \hhs \hhs \hhs \hhsf \bdf | r8 \thf \thf \bdf \tmf \tmf
\bdf \tlf}
{\bdd \bdf r4. \bdf}
}
\hhs \hhs \hhs \hhsf \bdf | \hhs \hhs \hhs \hhs | \bd \hhs \bd \hhsf \bdf |
\hhs r8 \bdf r4 \bdf \bdf |
\hhs \hhs \hhsf \bdf \hhsf \bdf | \hhs \hhs \hhs \hhs | \bd \bd \bdd \bdf |
r2 r8 \bdf r8 \bdf |
}
\score{
\notes {
\context Staff=drstaff <\drumu \druml>
}
\paper{
linewidth = 18.0 \cm;
\translator {
\ScoreContext
SpacingSpanner \override #'arithmetic-basicspace = #4.0
SpacingSpanner \override #'maximum-duration-for-spacing = #(make-moment
1 64)
}
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Spacing bug.,
Rune Zedeler <=