Re: tieWaitForNote across staves
--- On Mon, 9/7/09, Robin Bannister wrote: > From: Robin Bannister > Subject: Re: tieWaitForNote across staves > To: "Jonathan Wilkes" , "lilypond-user" > > Date: Monday, September 7, 2009, 1:02 AM > Jonathan Wilkes > wrote: > > I see a "cross-staff" property for grobs > > But this doesn't mean that every sort of grob has it, or > uses it. Hi Robin, Thanks for the reply. That clears up some things, but I'm still a little confused: let's say I open up the IR, start in the Voice context, and click the layout object TieColumn. Now at the bottom of the TieColumn page, it says, "This object supports the following interface(s)..." and there's the grob-interface. I previously thought that everything listed under the grob-interface would be common to all grobs, so that if you know something is a grob, you also know definitively that you can make it invisible with 'transparent, for example. But since that's not the case, why does it say "This object supports..." at the bottom of the page for the object? Does that mean they are available but not necessarily implemented? > The file define-grob-properties.scm lists about a dozen > grobs which do: Beam, Stem, Slur, TupletBracket, among > others, but not TieColumn. Ah, I'll keep this file in mind for future problems. > So your TieColumn only knows about the lower staff. > IR 3.2.109 says that a tie-configuration position is > > the offset from the center of the staff in staff > space > i.e. the center of the lower staff in this case. > When you specify positions high on the lower staff, > Lilypond takes care that this _doesn't_ intrude on the upper > staff. > > Cheers, > Robin > Thanks. I finally found a solution by just using a sextuplet in the right hand as well, and hiding the notes but leaving the ties. tieWaitForNote is very handy. -Jonathan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tieWaitForNote across staves
Jonathan Wilkes wrote: I see a "cross-staff" property for grobs But this doesn't mean that every sort of grob has it, or uses it. The file define-grob-properties.scm lists about a dozen grobs which do: Beam, Stem, Slur, TupletBracket, among others, but not TieColumn. So your TieColumn only knows about the lower staff. IR 3.2.109 says that a tie-configuration position is the offset from the center of the staff in staff space i.e. the center of the lower staff in this case. When you specify positions high on the lower staff, Lilypond takes care that this _doesn't_ intrude on the upper staff. Cheers, Robin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tieWaitForNote across staves
Ok, here's my attempt at getting the cross stave ties from my previous email. The problem I'm running into is that when I try to set a tie's vertical position to get it into the RH staff, Lilypond starts a Vaudeville shtick and moves the staff up beyond my reach (which I guess is what you normally want to avoid staff collisions). I see a "cross-staff" property for grobs, but it's internal. Any advice? -Jonathan \version "2.12.2" \score { << \new Staff = "RH" { \relative c' { s4 % \set tieWaitForNote = ##t \stemUp 8 \stemNeutral } } \new Staff = "LH" { \relative c { \clef bass \set tieWaitForNote = ##t \stemUp \times 4/6 { fis16~[ b~ \change Staff = "RH" dis~ gis~ c8~] } \change Staff = "LH" \stemUp \once \override NoteHead #'no-ledgers = ##t \once \override Stem #'cross-staff = ##t \once \override Stem #'length = #12 \once \override Stem #'flag-style = #'no-flag \once \override TieColumn #'cross-staff = ##t \once \override TieColumn #'tie-configuration = #'((11.0 . -1) (9.5 . -1) (13.0 . -1) (0.5 . -1) (2.5 . -1)) 8 \stemNeutral \stemNeutral } } >> } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tieWaitForNote across staves
--- On Sun, 9/6/09, Robin Bannister wrote: > From: Robin Bannister > Subject: Re: tieWaitForNote across staves > To: "Jonathan Wilkes" , "lilypond-user" > > Date: Sunday, September 6, 2009, 6:28 PM > Jonathan Wilkes wrote: > > I tried fooling around with tieWaitForNote > > You didn't show your code, so it's not easy to guess what > you tried. > I have no cross-staff experience, but it looks to me like > the cross-staff run is a lot better supported than the > cross-staff chord (where you have to choose a stem length). > > At any rate, it seems from NR 2.2.1 that the beamed run > should be in just one voice but the chord should be in two > voices. This is incompatible with ties. > So I assume you have to fool around with hidden notes to > give tieWaitForNote a start in both chord voices. See > hidden.ly for two ways of doing this. Oops, I guess it's much more helpful to show the code. I'll have a look at hidden.ly and see if I can get it to work. Thanks, -Jonathan > > Cheers, > Robin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tieWaitForNote across staves
Jonathan Wilkes wrote: I tried fooling around with tieWaitForNote You didn't show your code, so it's not easy to guess what you tried. I have no cross-staff experience, but it looks to me like the cross-staff run is a lot better supported than the cross-staff chord (where you have to choose a stem length). At any rate, it seems from NR 2.2.1 that the beamed run should be in just one voice but the chord should be in two voices. This is incompatible with ties. So I assume you have to fool around with hidden notes to give tieWaitForNote a start in both chord voices. See hidden.ly for two ways of doing this. Cheers, Robin<>\version "2.12.1" \new PianoStaff << \new Staff = "rh" { { \time 3/4 \set tieWaitForNote = ##t s2.^"r.h. hidden" \hideNotes \override TupletNumber #'stencil = ##f \override NoteColumn #'ignore-collision = ##t \times 4/6 {fis16[ b16 dis'16 ~ gis'16 ~ c''8] ~ } \unHideNotes \revert TupletNumber #'stencil \revert NoteColumn #'ignore-collision 8 ~ 4. } } \new Staff = "lh" { { \clef bass \stemUp \set tieWaitForNote = ##t s2. \times 4/6 { fis16[ ~ b16 ~ \change Staff = "rh" dis'16 gis'16 c''8] } \change Staff = "lh" \override Stem #'cross-staff = ##t \override Stem #'length = #12 \override Stem #'flag-style = #'no-flag 8 ~ 4. \revert Stem #'cross-staff \revert Stem #'length \revert Stem #'flag-style } } >> \new PianoStaff << \new Staff = "rh" { { \time 3/4 \set tieWaitForNote = ##t s2. \change Staff = "lh" \stemUp \times 4/6 { fis16[ b16 \change Staff = "rh" dis'16 ~ gis'16 ~ c''8] ~ } 8 ~ 4. } } \new Staff = "lh" { { \clef bass \stemUp \set tieWaitForNote = ##t s2._"l.h. hidden" \hideNotes \override TupletNumber #'stencil = ##f \override NoteColumn #'ignore-collision = ##t \times 4/6 {fis16[ ~ b16 ~ s4] } \unHideNotes \revert TupletNumber #'stencil \revert NoteColumn #'ignore-collision \override Stem #'cross-staff = ##t \override Stem #'length = #12 \override Stem #'flag-style = #'no-flag 8 ~ 4. \revert Stem #'cross-staff \revert Stem #'length \revert Stem #'flag-style } } >> ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
tieWaitForNote across staves
Hello, Is there a way to get the attached notation in Lilypond? I tried fooling around with tieWaitForNote but it seems the ties set in the rh keeping on waiting, and waiting, and waiting... Any help is appreciated. Thanks, Jonathan <>___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user