lilypond-user
[Top][All Lists]
Advanced

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

RE: new user--Glissando question


From: Daniel Rosen
Subject: RE: new user--Glissando question
Date: Tue, 27 Nov 2012 17:24:17 +0000

Since you never have more than two voices of music at once, there's no need for 
you to have more than one voice within a Staff context. Just put all the music 
for the each hand in its respective Staff context and use the \change function 
to switch staves:

%%% start
\header{
  title = "glissando example"
  poet =  \markup \harp-pedal #"v-^|v--v"
}

\relative c {
  \new PianoStaff <<
    \set PianoStaff.instrumentName = \markup \italic #"HARP  "
    \new Staff = "right" { 
      \key f \major 
      e'''8 d c a-4( f) c f,4 | \voiceOne
      \change Staff = "left" s4 c,\glissando^"R" \once \hideNotes g''
      c,\glissando \change Staff = "right" | \oneVoice
      g''4\glissando bes,,\glissando g''\glissando bes,,\glissando |
    } 
    \new Staff = "left" {
      \key f \major
      \clef bass
      f,4\glissando bes'\glissando f,4\glissando bes' \glissando | \voiceTwo
      f,\glissando_"L" \once \hideNotes c''
      f,\glissando \once \hideNotes c'' |
      s1      
    }
  >>
}

\version "2.16.1"

%%% end

In the future, debugging is a lot easier when you use tiny examples 
(http://www.lilypond.org/tiny-examples.html). :) 

DR


-----Original Message-----
From: Bill Restemeyer [mailto:address@hidden 
Sent: Tuesday, November 27, 2012 7:46 AM
To: address@hidden
Subject: new user--Glissando question

Hello!  I'm trying to use LilyPond to score music for Harp and have a question 
about continuous glissandos.  There are measures in this piece (4/4) where each 
quarter note is the beginning and the end of a glissando (well, except the 
first).  After doing this for a while, this pattern stops and each quarter note 
begins a "contemporary" glissando (no ending note).  My problem is conecting 
these two with another glissando.  To create the "contemporary" glissando, I 
break into two voices, so the question is how to connect the last Bb quarter 
note to the following F quarter note (all in the left hand).

\header{
  title = "glissando example"
  poet =  \markup \harp-pedal #"v-^|v--v"
}

\relative c {
\new PianoStaff <<
\set PianoStaff.instrumentName = \markup \italic #"HARP  "
  \new Staff = "right" { \key f \major 
\override Glissando #'breakable = ##t
\override Glissando #'after-line-breaking = ##t
    
e'''8 d c a-4( f) c f,4 | s1 |
    g'4\glissando bes,,\glissando g''\glissando bes,,\glissando |
  }


  \new Staff = "left" { \key f \major
    \clef bass

  \override Glissando #'breakable = ##t
  \override Glissando #'after-line-breaking = ##t

f,4\glissando bes'\glissando f,4\glissando bes' %\glissando | 
    <<
     {s4 c,\glissando^"R" \hideNotes g'' \unHideNotes c,\glissando \change 
Staff = "right" \hideNotes g'' \unHideNotes \change Staff = "left" }
      \\
     { f,,,\glissando_"L" \hideNotes c'' \unHideNotes f,\glissando \hideNotes 
c''\unHideNotes }
    >>
    s2. |

}
>>

}


\version "2.16.1"  % necessary for upgrading to future LilyPond versions.

Thanks for any help you can give!




reply via email to

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