Re: Is a cross-staff chord with ties possible in lilypond?
On Wed, Apr 20, 2011 at 5:47 PM, Helge Hafting wrote: > I am trying to enter a piece by Grieg, which contains the attached > interesting construct. > > The manual shows how to write out an arpeggio like this, > using a set of consecutive notes all tied to a chord. > > Unfortunately, these consecutive notes also cross from the lower to the > upper staff. > They have a common beam, so one voice jumps from one staff to another. So > far, so good. But tieing to the cross-staff chord that follows doesn't work. > > A cross-staff chord must be entered in two voices, because you can't switch > staff > _inside_ a chord. (I tried, it was a syntax error.) > > But ties seems to work in the same voice only. So I can make the lower ties > work, but not also the upper ones. > > Is this possible, or is there currently a limitation of lilypond? > > If there is a solution, I hope it also works for the midi output. So simply > forcing some curved lines is not a good or complete solution. Yes, it's possible (and to work with midi too), but it can get complicated. Below is pretty close (without dynamics, articulations, arpeggios, etc.). - Cross staff chords aren't really a limitation of lilypond. They're mostly just awkward to work with because, as you said, you must enter them in separate voices and manually lengthen the stem (and remove flags for shorter durations). - Ties across voices aren't possible. You can fake them by hiding identical tied notes in the other voice. -Jay \version "2.13.59" \score { \new PianoStaff << \new Staff=top \relative c'' { \clef treble \time 3/4 << {\voiceOne f2.~ | f4.} \new Voice {s8*5 \set tieWaitForNote = ##t \hideNotes dis,16~ gis~ \unHideNotes | \voiceTwo 2.} >> } \new Staff=bot \relative c { \clef bass << {\stemDown 4. \stemNeutral} \new Voice { \change Staff=top \once \override Stem #'cross-staff = ##t \once \override Stem #'length = #12 \stemDown 4. } >> \set tieWaitForNote = ##t \override Beam #'auto-knee-gap = #3 e,,16~ b'~ e~ gis~ \change Staff=top dis' gis | \change Staff=bot 2. | } >> } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How can I get my second tab voice to have stems!
On 04/20/2011 02:55 AM, Xavier Scheuer wrote: > \new TabStaff = "guitar tab" << > \new TabVoice = "upper" { \tabFullNotation \upper } > \new TabVoice = "lower" { \tabFullNotation \lower } > >> Thank you. This also works: \new TabStaff = "guitar tab" << \context TabVoice = "upper" { \tabFullNotation \upper } \context TabVoice = "lower" { \tabFullNotation \lower } >> Once again I'm reading about context and trying to understand. I'm a C/C++ guy and I guess it would make more sense to me if I understood the data structures. I understand that the \context will do the \new if required. Do they both create a named context exactly the same? Patrick ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Is a cross-staff chord with ties possible in lilypond?
I am trying to enter a piece by Grieg, which contains the attached interesting construct. The manual shows how to write out an arpeggio like this, using a set of consecutive notes all tied to a chord. Unfortunately, these consecutive notes also cross from the lower to the upper staff. They have a common beam, so one voice jumps from one staff to another. So far, so good. But tieing to the cross-staff chord that follows doesn't work. A cross-staff chord must be entered in two voices, because you can't switch staff _inside_ a chord. (I tried, it was a syntax error.) But ties seems to work in the same voice only. So I can make the lower ties work, but not also the upper ones. Is this possible, or is there currently a limitation of lilypond? If there is a solution, I hope it also works for the midi output. So simply forcing some curved lines is not a good or complete solution. Helge Hafting <>___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: legato chordGlissando
Il giorno mar, 19/04/2011 alle 20.01 +0200, Federico Bruni ha scritto: > There's a way to achieve a good looking *legato* chord glissando? (i.e. > using slurs) > > In the following snippet I'd like to remove the two slurs in the middle. > Any idea? > Thanks! > > > \version "2.13.60" > > music = \relative c' { > \set doubleSlurs = ##t > \chordGlissando > 8( ) > } > > \new StaffGroup << > \new Staff { \clef "G_8" \music } > \new TabStaff { \clef "moderntab" \music } > >> > I've learned how to hide a slur connecting not simultaneous notes: c-\tweak #'stencil #f ( cis d dis) or \once \override Slur #'stencil = ##f c( cis d dis) But I don't know how to hide just one or two slurs connecting chords. Probably a solution would be using two different voices, but I don't like it. I think I'll give up with this. Cheers, Federico ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: bug triplet line collides with fingering
On Wed, Apr 20, 2011 at 3:52 PM, Marc Mouries wrote: > > On Apr 20, 2011, at 3:04 PM, Marc Mouries wrote: > > > In this snippet the triplet line collides with the fingering. > > > > \version "2.13.60" > > \language "english" > > > > Violin = \relative d'' { > > \times 2/3{d4 a8-4} > > } > > \score { > > \new Staff { \Violin } > > \layout {} > > } > > > > > > I know i could use "\once \override TupletBracket #'direction = #DOWN" > but there are already many situations where lilypond detects collisions and > adapt the music elements accordingly so i am wondering if that's a situation > that is not correctly handled or a limitation. > > > > -Marc > > > > > > > I changed the direction of the TupletBracket but now it collides with the > slur! > Shouldn't lilypond adapt the length of the bracket and the starting point > of the slur? > > > > > \version "2.13.60" > \language "english" > > Violin = \relative d' { > \key d \major > \once \override TupletBracket #'direction = #DOWN > \times 2/3 {d'4\flageolet a8-4(} \times 2/3{fs d a)} > } > \score { > \new Staff {\Violin } > \layout {} > } > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > > Yes, this should be reported to the Bug Squad. Marc, P please send this to : bug-lilyp...@gnu.org. I believe you'll have to join the list. Ralph -- Ralph Palmer Montague City, MA USA palmer.r.vio...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: bug triplet line collides with fingering
On Apr 20, 2011, at 3:04 PM, Marc Mouries wrote: > In this snippet the triplet line collides with the fingering. > > \version "2.13.60" > \language "english" > > Violin = \relative d'' { > \times 2/3{d4 a8-4} > } > \score { > \new Staff { \Violin } > \layout {} > } > > > I know i could use "\once \override TupletBracket #'direction = #DOWN" but > there are already many situations where lilypond detects collisions and adapt > the music elements accordingly so i am wondering if that's a situation that > is not correctly handled or a limitation. > > -Marc > > I changed the direction of the TupletBracket but now it collides with the slur! Shouldn't lilypond adapt the length of the bracket and the starting point of the slur? <> \version "2.13.60" \language "english" Violin = \relative d' { \key d \major \once \override TupletBracket #'direction = #DOWN \times 2/3 {d'4\flageolet a8-4(} \times 2/3{fs d a)} } \score { \new Staff {\Violin } \layout {} }___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
bug triplet line collides with fingering
In this snippet the triplet line collides with the fingering. \version "2.13.60" \language "english" Violin = \relative d'' { \times 2/3{d4 a8-4} } \score { \new Staff { \Violin } \layout {} } <> I know i could use "\once \override TupletBracket #'direction = #DOWN" but there are already many situations where lilypond detects collisions and adapt the music elements accordingly so i am wondering if that's a situation that is not correctly handled or a limitation. -Marc ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bug? Fingerings collide with slurs when used in <>
On Tue, Apr 19, 2011 at 10:10 AM, MusFelix wrote: > > Fingerings stop avoiding slurs when they are placed within a chord <...> or > even a single note <>. Is this not a bad default behavior? For example: > > \version "2.13.51" > \include "english.ly" > \relative c' > { >\clef bass >c8-1( d-2 e-3) b-1( f-2) g-3( a-1 b-2) >( ) ( ) ( ) > } > -- > View this message in context: > http://old.nabble.com/Bug---Fingerings-collide-with-slurs-when-used-in-%3C%3E-tp31432983p31432983.html > Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. > > Greetings, MusFelix - This should have gone to the bug list. It has been entered as issue 1628 : http://code.google.com/p/lilypond/issues/detail?id=1628 Ralph -- Ralph Palmer Montague City, MA USA palmer.r.vio...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Beaming problem introduced with 2.13.60
- Original Message - From: "flup2" To: Sent: Wednesday, April 20, 2011 1:24 PM Subject: Re: Beaming problem introduced with 2.13.60 So do it here when running only that line. The problem is that, in a longer file (without changes from 2.13.33), here is what it looks like. I also receive a warning "taille de hampe bizarre; vérifier la présence de liens étroits" (the french version of the message quoted earlier about beam, narrow bounds etc.). http://old.nabble.com/file/p31440777/stem.jpg No problem with these measures alone, but in a whole score, the problem occurs Philippe This is a known bug that, as Mike says, has been fixed in the latest development version. That version is not yet publically available. -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Beaming problem introduced with 2.13.60
So do it here when running only that line. The problem is that, in a longer file (without changes from 2.13.33), here is what it looks like. I also receive a warning "taille de hampe bizarre; vérifier la présence de liens étroits" (the french version of the message quoted earlier about beam, narrow bounds etc.). http://old.nabble.com/file/p31440777/stem.jpg No problem with these measures alone, but in a whole score, the problem occurs Philippe -- View this message in context: http://old.nabble.com/Beaming-problem-introduced-with-2.13.60-tp31416244p31440777.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How can I get my second tab voice to have stems!
On 20 April 2011 11:41, Patrick Horgan wrote: > > Using GNU LilyPond 2.13.45, with this source there's no stems for the > quarter notes in the bottom voice in the tab staff. I'm attaching a png > that shows the problem. (I turned off the footer so the png would be > small instead of being a whole page.) If you have a look at the definition of "tabFullNotation" (in "ly/property-init.ly", you would see that it contains –among others– \revert TabVoice.Stem #'length which means that \tabFullNotation is intended to be used at the "TabVoice" level. This works: \new TabStaff = "guitar tab" << \new TabVoice = "upper" { \tabFullNotation \upper } \new TabVoice = "lower" { \tabFullNotation \lower } >> Cheers, Xavier -- Xavier Scheuer ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
How can I get my second tab voice to have stems!
Using GNU LilyPond 2.13.45, with this source there's no stems for the quarter notes in the bottom voice in the tab staff. I'm attaching a png that shows the problem. (I turned off the footer so the png would be small instead of being a whole page.) \version "2.13.45" \paper { oddFooterMarkup = #f } tagline = \markup { \center-column { "" "" "This is my tagline" } } upper = \relative c { \time 4/4 \key c \major \voiceOne \stemUp < c' g' >2. 4 | 4. g8 e' d c g( | a) d ~ d g,( a) d ~ d g,( | a) d ~ d g,( a) d ~ d4 | } lower = \relative c { \time 4/4 \key c \major \voiceTwo \stemDown c4 e g, r | c e c e | f f f f | f f f f | } \score { << \new StaffGroup = "tab with traditional" << \new Staff = "guitar traditional" << \clef "treble_8" \context Voice = "upper" \upper \context Voice = "lower" \lower >> \new TabStaff = "guitar tab" << \tabFullNotation \context TabVoice = "upper" \upper \context TabVoice = "lower" \lower >> >> >> } <>\version "2.13.45" \paper { oddFooterMarkup = #f } tagline = \markup { \center-column { "" "" "This is my tagline" } } upper = \relative c { \time 4/4 \key c \major \voiceOne \stemUp < c' g' >2. 4 | 4. g8 e' d c g( | a) d ~ d g,( a) d ~ d g,( | a) d ~ d g,( a) d ~ d4 | } lower = \relative c { \time 4/4 \key c \major \voiceTwo \stemDown c4 e g, r | c e c e | f f f f | f f f f | } \score { << \new StaffGroup = "tab with traditional" << \new Staff = "guitar traditional" << \clef "treble_8" \context Voice = "upper" \upper \context Voice = "lower" \lower >> \new TabStaff = "guitar tab" << \tabFullNotation \context TabVoice = "upper" \upper \context TabVoice = "lower" \lower >> >> >> } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Beaming problem introduced with 2.13.60
On Apr 20, 2011, at 4:01 AM, flup2 wrote: > > I had the same problem in a score with these notes : > > d4-- c8->( g ~ g) g'->( f e) > > I had no problem before 2.13.60 > > Philippe > Your snippet compiles fine in the most recent development version. Cheers, MS ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Beaming problem introduced with 2.13.60
I had the same problem in a score with these notes : d4-- c8->( g ~ g) g'->( f e) I had no problem before 2.13.60 Philippe -- View this message in context: http://old.nabble.com/Beaming-problem-introduced-with-2.13.60-tp31416244p31439163.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user