[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glissando/volta bug? and volta/fine
From: |
Robert T Wyatt |
Subject: |
Re: glissando/volta bug? and volta/fine |
Date: |
Thu, 12 May 2005 13:14:43 -0500 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Macintosh/20050317) |
Mats,
This combination did fix my problem. Thank you!
Below is the working implementation.
Mats Bengtsson wrote:
The problem is probably that LilyPond chooses a line breaking with
fairly tight note spacing, so the resulting glissando symbol is too
short to show up.
I tried to set
\override Glissando #'minimum-length = #5
but it didn't have any effect unless I also did
\override Glissando #'spacing-procedure = #Spanner::set_spacing_rods
(To lilypond-bug: Shouldn't there be a minimum length by default to
avoid more or less invisible glissandi. Or, at least: shouldn't the
spacing-procedure be set so that the user can set minumum-length.
After all, the spanner-interface is listed as one of the interfaces
for Glissando.)
/Mats
My files are available here:
http://reg148.reg.utexas.edu/~rgrtw/lilypond/stillinger/DalmatianStrut.pdf
(just remove the filename to see the directory listing)
%% Thanks to the makers of LilyPond we are able to bring this to you!
#(set-default-paper-size "letter")
\header {
title = "Dalmatian Strut"
composer = "Bob Stillinger"
enteredby="Robert Thomas Wyatt"
maintainer="address@hidden"
style = "Bluegrass"
copyright = "All rights reserved. 2005"
lastupdated = "2005/May/11"
filename = "DalmatianStrut.ly"
}
\version "2.5.23"
\score { <<
\new ChordNames \with {
voltaOnThisStaff = ##t
} \chordmode {
\partial 8*3 s4.
\repeat volta 2 { % Begin A chords
d4.:m a2*5/4:7 | d4.:7 g2*5/4:7 | g4.:m d2*5/4:m |
}
\alternative {
{ a4.:7 d2*5/4:m | }
{ a4.:7 d2*5/4:m | }
}
c1 | f1 | cis1:dim7 | d1:m |% Begin B chords
bes1 | f1 | g1 | a1 |
c1 | f1 | cis1:dim7 | d1:m |
bes4. c2*5/4:7 | d1:m | bes4. c2*5/4:7 | f1 |
bes4. c2*5/4:7 | a1:m | bes1 | a1:7 |
\repeat volta 2 { % Restate A chords when ending
d4.:m a2*5/4:7 | d4.:7 g2*5/4:7 | g4.:m d2*5/4:m |
}
\alternative {
{ a4.:7 d2*5/4:m | }
{ a1:7 | d1:m | } % Fine chords
}
}
\new Staff \with {
voltaOnThisStaff = ##f
}
{
\relative { \time 4/4 \key d \minor % Here starts the melody
#(set-accidental-style 'modern-cautionary)
\partial 8*3 a'8 b cis | % Partial measure
\repeat volta 2 { % Repeat A and B together
\bar "|:"
\repeat volta 2 { % Repeat A before playing B
\override Glissando #'style = #'zigzag % Make glissandi wavy
\override Glissando #'thickness = 3 % Make glissandi thicker
\override Glissando #'minimum-length = #5 % Make glissandi at least length 5
\override Glissando #'spacing-procedure = #Spanner::set_spacing_rods
d8\pp e d cis~ cis4 \glissando a8 b |
c8 e c b~\mordent b4 g8 a |
bes8 d bes a~ a g f g |
}
\alternative { % First A ending
{ a8 e a d~ d a b cis | \bar ":|" } % Second A ending
{ a8 e a d,~ d4 des | \bar "||" }
}
c8\p e g c~ c a~ a g~ | % Begin B
g8 f~ f e f a f f~ |
f8 e~ e dis e a e4 |
d4. d8~ d c~ c a |
bes d f bes~ bes a~ a g \glissando |
a a~ a c a g a c |
b g b d g f~ f e~ |
e cis~ cis e bes e a,4 |
c,8 e g c~ c a~ a g~ |
g f~ f e f a f f~ |
f e~ e dis e a e4 |
d4. d8~d c~ c a |
bes8\< d f c~ c e g a~ |
a d c a g f d c |
bes d f c~ c e g a~ |
a g' f e d c bes a\! |
bes, d f c~ c e g a~ |
a a' g f e d c bes~\mordent |
bes a bes a g a f e~ |
{
e2~ e8 a b cis |
\once \override Score.RehearsalMark #'self-alignment-X = #right
\once \override Score.RehearsalMark #'break-visibility =
#begin-of-line-invisible
\once \override Score.RehearsalMark #'font-size = #0
\once \override Score.RehearsalMark #'padding = #1.2
\mark "D.C. al Fine"
\bar ":|:" } % End B go back to Top
}
\repeat volta 2 { % End song with A (repeated)
d8\pp e d cis~ cis4 \glissando a8 b |
c8 e c b~\mordent b4 g8 a |
bes8 d bes a~ a g f g |
}
\alternative {
{ a8 e a d~ d a b cis | \bar ":|" } % First (and third) A ending
{ a4 e2 a4 | d,1 | % Last four measures of song
\once \override Score.RehearsalMark #'self-alignment-X = #right
\once \override Score.RehearsalMark #'break-visibility =
#begin-of-line-invisible
\once \override Score.RehearsalMark #'font-size = #0
\once \override Score.RehearsalMark #'padding = #1.2
\mark "Fine"
\bar "|." }
}
} % Here ends the melody
}
>> }