lilypond-user
[Top][All Lists]
Advanced

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

Re: glissando up from no note to a note


From: Chip
Subject: Re: glissando up from no note to a note
Date: Mon, 09 Mar 2009 21:41:02 -0700
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

And this is relevant to the subject? How? Any suggestions on fixing the real problem I'm having with the glissando?
--
Chip

Here is the fixed version, without the irrelevant <<>> -
-------------------------
% LilyPond
\include "english.ly"
\version "2.12.1"
\header{
    title = "Te Regalo el Corazon"
    composer = "As Recorded By: Rudy Palacios"
    arranger = "Transcribed by: Chip Wiegand"
}
global = { \time 4/4
  #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
  #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
  #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
  %\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
  %\override Score.BarNumber #'break-visibility = #end-of-line-invisible
  %\override Score.BarNumber #'self-alignment-X = #-1
  \override Glissando #'thickness = #3
  \override Glissando #'style = #'zigzag
  \override Glissando #'minimum-length = #6
  \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
  \override MultiMeasureRest #'expand-limit = 1
  \set Score.skipBars = ##t
  \numericTimeSignature
}

\paper {
top-margin = 0.1\cm
page-top-space = 0.1\cm
ragged-bottom = ##t
left-margin = 20\mm
line-width = 175\mm
}

% ------ Trumpet 1------
trpta = {
r2 r8 d d b
e d c-. b16 a-. r8 c c c
d c b8.-. a16 gs2
R1
r2 r8 d' d b
e d c-. b16 a-. r8 c c c
d c b8.-. a16 gs2
R1*2
r8 b d-. fs~ fs d b g
c16 c r c r c d8~ d2 \bar "||"
R1*7
r2 a'8 fs d b
c2 r8 e~ e4
R1*4
R1*2
R1*2
R1*3
r2 r8 gs~ gs4
R1*4
r2 r8 d d b
e d c-. b16 a-. r8 c c c
d c b8.-. a16 gs2
R1
r2 r8 d' d d
e d c-. b16 a-. r8 c c c
d c b8.-. a16 gs2
R1*2
r8 b d-. fs~ fs d b g
c16 c r c r c d8~ d2 \bar "||"
R1*7
r2 a'8 fs d b
c2 r8 e~ e4
R1*4
R1*2
R1*2
R1*3
r2 r8 gs~ gs4
R1*4
R1
R1*3
r2 r8 gs~ gs4
R1*4
R1
R1*2
r8 b, d-. fs~ fs d b g
c16 c r c r c d8~ d4 d16 e f fs
g8 \bar "|."
}
trumpeta = \relative c'' {
  \global
  \key g \major
  \set Staff.instrumentName = #"Trumpet 1"
  \set Staff.shortInstrumentName = #"Trpt 1"
  \clef treble
  << \trpta >>
  }

% ------ Trumpet 2------
trptb = {
r2 r8 b b g
e' d c-. b16 a-. r8 a a a
d c b8.-. a16 gs2
R1
r2 r8 b b g
e' d c-. b16 a-. r8 a a a
d c b8.-. a16 gs2
R1*2
r8 b d-. fs~ fs d b g
g16 g r g r g a8~ a2 \bar "||"
R1*7
}
trumpetb = \relative c'' {
  \global
  \key g \major
  \set Staff.instrumentName = #"Trumpet 2"
  \set Staff.shortInstrumentName = #"Trpt 2"
  \clef treble
  << \trptb >>
}

% ------ Alto Sax 1 ------
altoa = {
r2 r8 gs' gs e
e d c-. b16 a-. r8 e' e e
d c b8.-. a16 gs2
R1
r2 r8 gs' gs e
e d c-. b16 a-. r8 e' e e
d c b8.-. a16 gs2
R1*2
r8 b d-. fs~ fs d b g
e'16 e r e r e fs8~ fs2 \bar "||"
R1*7
}
altosaxa = \relative c'' {
  \global
  \key d \major
  \set Staff.instrumentName = #"Alto Sax"
  \set Staff.shortInstrumentName = #"Alto"
  \clef treble
  << \altoa >>
}

% ------ Alto Sax 2 -----
%{
altob = {
% Notes here -----
a b c d
}
altosaxb = \transpose c a \relative c'' {
  \global
  \set Staff.instrumentName = #"Alto Sax 2"
  \set Staff.shortInstrumentName = #"Alto 2"
  \clef treble
  << \altob >>
}
%}
% ------ Tenor------
tenor = {
r2 r8 d d b
e d c-. b16 a-. r8 c c c
d c b8.-. a16 gs2
R1
r2 r8 d' d b
e d c-. b16 a-. r8 c c c
d c b8.-. a16 gs2
R1*2
r8 b d-. fs~ fs d b g
c16 c r c r c d8~ d2 \bar "||"
R1*7
}
tenorsax = \relative c'' {
  \global
  \key g \major
  \set Staff.instrumentName = #"Tenor Sax"
  \set Staff.shortInstrumentName = #"Tnr Sax"
  \clef treble
  << \tenor >>
}

% ------ Bari------
bari = {
r2 r8 b b g
e' d c-. b16 a-. r8 a a a
d c b8.-. a16 gs2
R1
r2 r8 b b g
e' d c-. b16 a-. r8 a a a
d c b8.-. a16 gs2
R1*2
r8 b d-. fs~ fs d b g
g16 g r g r g a8~ a2 \bar "||"
R1*7
}
barisax = \relative c''{
  \global
  \key d \major
  \set Staff.instrumentName = #"Bari Sax"
  \set Staff.shortInstrumentName = #"Btn Sax"
  \clef treble
  << \bari >>
}

% ------ Trombone 1------
tbonea = {
r2 r8 d d b
e d c-. b16 a-. r8 c c c
d c b8.-. a16 gs2
R1
r2 r8 d' d b
e d c-. b16 a-. r8 c c c
d c b8.-. a16 gs2
R1*2
r8 b d-. fs~ fs d b g
c16 c r c r c d8~ d2 \bar "||"
R1*7
}
trombonea = \relative c {
  \global
  \key f \major
  \set Staff.instrumentName = #"Trombone 1"
  \set Staff.shortInstrumentName = #"Tbn 1"
  \clef bass
  << \tbonea >>
}

% ------ Trombone 2------
tboneb= {
r2 r8 gs' gs e
e d c-. b16 a-. r8 e' e e
d c b8.-. a16 gs2
R1
r2 r8 gs' gs e
e d c-. b16 a-. r8 e' e e
d c b8.-. a16 gs2
R1*2
r8 b d-. fs~ fs d b g
e16 e r e r e fs8~ fs2 \bar "||"
R1*7
}
tromboneb = \relative c {
  \global
  \key f \major
  \set Staff.instrumentName = #"Trombone 2"
  \set Staff.shortInstrumentName = #"Tbn 2"
  \clef bass
  << \tboneb >>
}

\book { \score {
  <<
    \new StaffGroup = "trumpets" <<
         \new Staff = "trpta" \trumpeta
             \new Staff = "trptb" \trumpetb >>
    \new StaffGroup = "saxes" <<
             \new Staff = "altoa" \altosaxa
%             \new Staff = "altob" \altosaxb
             \new Staff = "tenor" \tenorsax
             \new Staff = "bari" \barisax >>
    \new StaffGroup = "trombones" <<
             \new Staff = "tbonea" \trombonea
         \new Staff = "tboneb" \tromboneb>>
  >> } }

\book { \score { \new Staff = "trumpeta" \with { \remove Instrument_name_engraver } \trumpeta \header {piece="Trumpet 1"} \layout { indent = 0\mm} } }
\book { \score { \new Staff = "trumpetb" \with { \remove Instrument_name_engraver } \trumpetb \header {piece="Trumpet 2"} \layout { indent = 0\mm} } }
\book { \score { \new Staff = "altosaxa" \with { \remove Instrument_name_engraver } \altosaxa \header {piece="Alto Sax"} \layout { indent = 0\mm} } }
%\book { \score { \new Staff = "altosaxb" \with { \remove Instrument_name_engraver } \altosaxb \header {piece="Alto Sax 2"} \layout { indent = 0\mm} } }
\book { \score { \new Staff = "tenorsax" \with { \remove Instrument_name_engraver } \tenorsax \header {piece="Tenor Sax"} \layout { indent = 0\mm} } }
\book { \score { \new Staff = "barisax" \with { \remove Instrument_name_engraver } \barisax \header {piece="Baritone Sax"} \layout { indent = 0\mm} } }
\book { \score { \new Staff = "trombonea" \with { \remove Instrument_name_engraver } \trombonea \header {piece="Trombone 1"} \layout { indent = 0\mm} } }
\book { \score { \new Staff = "tromboneb" \with { \remove Instrument_name_engraver } \tromboneb \header {piece="Trombone 2"} \layout { indent = 0\mm} } }
\layout { \context { \Score } }
------------------------------

Carl D. Sorensen wrote:

On 3/9/09 9:50 PM, "Chip" <address@hidden> wrote:


  
\book { \score { << \new Staff = "trumpeta" \with { \remove
Instrument_name_engraver } \trumpeta >> \header {piece="Trumpet 1"} \layout {
indent = 0\mm} } }
    

Why do you use << >> around a single staff?  I don't know that it's giving
you any problems, but it's certainly not necessary.  And I find that
arbitrary simultaneous constructs sometimes cause spurious results.

I recommend that you only use << >> when you need to have two (or more)
things happen simultaneously; that is not the case in any of these \score
blocks.


Carl

  

No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.278 / Virus Database: 270.11.9/1992 - Release Date: 03/09/09 19:20:00


reply via email to

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