It's less a question of following rules, and more about making things easier for everyone involved--often by stripping stuff away I'm able to isolate and fix issues myself. :)
DR Sent from my iPhone On Nov 27, 2012, at 7:28 PM, "Bill Restemeyer" <[email protected]> wrote: > Daniel, > > Thanks much for the valuable tips. I was able to adapt your method for other > parts of the piece also. > > I promise to follow the rules of Tiny Examples if I need to submit another > snippet. :-) > > Bill > > > On Nov 27, 2012, at 12:24 PM, Daniel Rosen wrote: > >> 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:[email protected]] >> Sent: Tuesday, November 27, 2012 7:46 AM >> To: [email protected] >> 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! >> > _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
