triplet bracket looks different
Dear All, I recently discovered happily "tupletFullLength = ##t" and "tupletFullLengthNote = ##t" Is it normal that the right edge of the tuplet brackets ends always at a different point (as you can see in the attached jpg)? best ole <>___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: newbie: bar lines and lead ins
Please read about \partial in the section on "Advanced rhythmic commands" in the Tutorial. (You would also have found the information if you had searched for "pickup" or "upbeat" or "anacrusis" in the "LilyPond Index", i.e. the index of the manual.) /Mats Joe Mc Cool wrote: Please, \time 6/8 \key g \major g'8 \bar "| " \repeat volta 2 { b'8 ^"G" a'8g'8b'8 a'8g'8%\bar "|" b'8 ^"Bm" a'8b'8b'8c''8d''8 %\bar "|" b'8 ^"G" a'8g'8b'8a'8g'8 %\bar "|" a'8 ^"D" b'8a'8fis'8e'8d'8 %\bar "|" b'8 ^"G" a'8 g'8b'8a'8g'8%\bar "|" b'8 ^"Bm" a'8b'8b'8c''8 d''8 %\bar "|" e''8 ^"C" g''8e''8d''8 ^"G" c''8b'8%\bar "|" a'8 ^"D" fis'8a'8g'4 ^"G" %\bar "|" } I would like this to print as: g|bag bag|bab bcd| .. but Lily shows it with the first bar line missing and remainder in the wrong places. I know I can put the bar lines in manually, but that is a pain. In essence I need "print one or two lead-in notes, a bar line and then start counting". My searches of the LM have failed to find this. -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: More Questions with Lilypond
2008/1/18, Ewald Brökel <[EMAIL PROTECTED]>: > many thanks for answering so fast my questions. I proceed and finished > my first score just now. But with my second score I have a problem. It > seems that Lilypond can't handle exotic time signatures. Yes it can, far beyond what you could imagine (a user has recently explained us he used time signatures such as 22056/578692) :-) > In my piece is > used a time signature 9/4. When compiling I got a lot of errors. I > believe the time signature is interpreted as 4/4. So you can see what > happens I add an example file. you can compile it to see the error > messages. Not at all. You have put several dots that should not be here. Remember that a dot is always supposed to follow a duration (a number). So f2. g2. is correct, but not f2. g. > The link that were with your answer ist quite nice, but I needed the > source of the templates. I didn't find a way to get them. if you click on the title of a snippet, you will read its full description; if you click on the image of the score, you will see its source. Hope this helps! Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Feature request: attach notation elements to barlines
Kieren MacMillan wrote: Hi Trevor, what I'm interested in is more the control of typographic distances than of durational distances. FWIW, if Lilypond had an \em multiplier (cf. \mm, \in, etc.) then we'd easily get typographic distance control, yes? No, it's not that simple. The horizontal spacing between notes is far from proportional to the durational spacing (unless you do all the settings needed to get proportional notation). /Mats Thanks for the great thread summation! Kieren. -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
spurious spacing around score titles (Bug?)
Hi all, in a book with several scores I get some unwanted space after the score titles (breaking my page layout), the origin of which I do not understand, because I have set "after-title-space" to zero. Annotate-spacing calls this space "Y-extent". Please have a look at my \paper block and the attached image. I am using 2.11.34 on Linux. The version I used before (2.11.34) did not produce this unwanted space. Any suggestions? Best regards, Robert \paper { #(set-paper-size "a4") line-width = 17.0\cm top-margin = .8\cm bottom-margin = 1.2\cm foot-separation = 0\cm head-separation = 0.4\cm after-title-space = 0\cm before-title-space = 1.5\cm between-title-space = 0\cm between-system-padding = 0.4\cm page-top-space = 1\cm ragged-last-bottom = ##f printallheaders=##t annotate-spacing=##t } <>___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
newbie: bar lines and lead ins
Please, \time 6/8 \key g \major g'8 \bar "| " \repeat volta 2 { b'8 ^"G" a'8g'8b'8 a'8g'8 %\bar "|" b'8 ^"Bm" a'8b'8b'8c''8d''8%\bar "|" b'8 ^"G" a'8g'8b'8a'8g'8 %\bar "|" a'8 ^"D" b'8a'8fis'8e'8d'8 %\bar "|" b'8 ^"G" a'8 g'8b'8a'8g'8 %\bar "|" b'8 ^"Bm" a'8b'8b'8c''8 d''8 %\bar "|" e''8 ^"C" g''8e''8d''8 ^"G" c''8b'8%\bar "|" a'8 ^"D" fis'8a'8g'4 ^"G" %\bar "|" } I would like this to print as: g|bag bag|bab bcd| .. but Lily shows it with the first bar line missing and remainder in the wrong places. I know I can put the bar lines in manually, but that is a pain. In essence I need "print one or two lead-in notes, a bar line and then start counting". My searches of the LM have failed to find this. -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: about \underline markup command
On Fri, 18 Jan 2008 01:54:53 +0100 Reinhold Kainhofer <[EMAIL PROTECTED]> wrote: > PS: How did you come across that page, anyway? I don't think there is > a link on lilypond.org? There isn't, but I've been mentioning it liberally here. I don't think it's bad for non-doc helpers to read the GDP docs, as long as they know that they /are/ under heavy development and they may be inaccurate or completely broken from time to time. And of course they may contain info that doesn't apply to any currently-released version. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: newbie: bar lines and lead ins
Hallo Joe Cool, am Freitag, 18. Januar 2008 um 11:34 schriebst Du: > Please, > \time 6/8 \key g \major g'8 \bar "| > " > \repeat volta 2 { >b'8 ^"G" a'8g'8b'8 a'8g'8 %\bar > "|" >b'8 ^"Bm" a'8b'8b'8c''8d''8%\bar > "|" >b'8 ^"G" a'8g'8b'8a'8g'8 %\bar > "|" >a'8 ^"D" b'8a'8fis'8e'8d'8 %\bar > "|" >b'8 ^"G" a'8 g'8b'8a'8g'8 %\bar > "|" >b'8 ^"Bm" a'8b'8b'8c''8 d''8 %\bar > "|" >e''8 ^"C" g''8e''8d''8 ^"G" c''8b'8%\bar > "|" >a'8 ^"D" fis'8a'8g'4 ^"G" %\bar > "|" > } > I would like this to print as: > g|bag bag|bab bcd| .. > but Lily shows it with the first bar line missing and remainder in the > wrong places. > I know I can put the bar lines in manually, but that is a pain. > In essence I need "print one or two lead-in notes, a bar line and then > start counting". > My searches of the LM have failed to find this. You need to tell lilypond that the first note is a pickup note which does not belong to the first full measure. See \partial in the docs! Liebe Grüße, Matthias -- Matthias Böhringer Brunnenstraße 6 72296 Schopfloch-Unteriflingen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond-book and LaTeX; a few issues
On Fri, Jan 11, 2008 at 10:45:45PM +0100, Nicolas Sceaux wrote: > You may get rid off LaTeX and use LilyPond only, for instance with the > help of > this titling stylesheet: > http://lsr.dsi.unimi.it/LSR/Item?id=368 Yes, but what can I do if I want to continue with Latex ? I am already a fair bit down that road. Like the OP, I find that the scores are not positioned properly on the page. There are often large gaps at the top of each snippet. -- Thanks Joe Mc Cool Snark, currently LEYC 028 37548074, 07802572441 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: addition for Rhythms?
It may not be pertinent to this particular discussion, but there's another kind of "real" polymetric music : where there is a regular alternation between different times (e.g., 3/8 - 7/8, or maybe even 5/8 - 3/4 ; in Hindustani classical music, there's an 11 beat tal that's counted 2 2 2 2 1.5 1.5). Ralph + Ralph Palmer, CEM Energy/Administrative Coordinator Keene State College Keene, NH 03435-2502 Phone: 603-358-2230 Cell: 603-209-2903 Fax: 603-358-2456 [EMAIL PROTECTED] + Orig message 2008/1/14, till <[EMAIL PROTECTED]>: > I just read a bit further in the GDP and saw this example about polymetric > music where each note has still the same duration, so the barlines won't be > on the same vertical position. Because Lilypond can't count the bars > anymore, it won't put bar numbers by default. This has to be done a similar > way by removing the Bar_number_engraver from the score and putting it into > the staves. > Should this be added to the example, or find a mentioning in the section > about bar numbers? Or would you like it as a snippet? There are two kinds of polymetric music AFAIK: "real" polymetric pieces, where the timeSignature are always different between parts, and "false" polymetric pieces, where such a method is just used temporarily, as a special effect, for a more or less short section. As Mats pointed out, adding bar numbers in a polymetric piece of the first kind would be somehow pointless. In a piece of the second kind, you may use a function such as: http://lsr.dsi.unimi.it/LSR/Item?id=333 However, if have a snippet to propose to make this whole thing more self-explanatory, it could be great :) Cheers, Valentin -- Message: 4 Date: Thu, 17 Jan 2008 17:35:50 +0100 From: Mats Bengtsson <[EMAIL PROTECTED]> Subject: Re: Smarter cross-staff Beam 'positions? To: Trevor Ba?a <[EMAIL PROTECTED]> Cc: lilypond-user Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8; format=flowed Trevor BaÄa wrote: > Is there a way to get "normal" (noncrosss-staff) beams to likewise sit > at that same vertical position? > > (IOW, I'm looking for both flat and vertically aligned; Rune's #+inf.0 > gets flat ... now for the vertically aligned part?) That sounds like en excellent example of when you want to use positions, right? /Mats -- Message: 5 Date: Thu, 17 Jan 2008 11:58:34 -0500 From: Eliot Handelman <[EMAIL PROTECTED]> Subject: Analysis brackets don't work with spaces To: lilypond-user@gnu.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1 Hi, The following code generates the markups but not the brackets. Is there some way to get brackets printed when they are attached to spaces? many thanks, -- eliot \version "2.10.33" \header { title = "Brackets don't work with spaces" } A = { \time 4/4 \clef treble s2\startGroup^\markup { \column { 1 } } s2\stopGroup^\markup { \column { 2 } } \bar "|." } \score { << \new Staff << \A >> >> \layout { \context { \Staff \consists "Horizontal_bracket_engraver" } } } -- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user End of lilypond-user Digest, Vol 62, Issue 87 * ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: triplet bracket looks different
On Jan 18, 2008 3:15 AM, Ole Schmidt <[EMAIL PROTECTED]> wrote: > Dear All, > > I recently discovered happily "tupletFullLength = ##t" and > "tupletFullLengthNote = ##t" > Is it normal that the right edge of the tuplet brackets ends always > at a different point (as you can see in the attached jpg)? Hi Ole, I think you're right that there's a (hard to detect) bug. I'll review the expect behaviors here for the list. (Valentin, the example here is too big for the tracker ... I'll cut down to something minimal later today.) The basic principle behind tupletFullLength[Note] (as I understand it): Turn the context setting tupletFullLength on to ... well, give tuplet brackets their full length. Vanilla tuplet brackets end just at the right edge of the tuplet-final note; full-length tuplet brackets, on the other hand, extend farther to the right. How much farther to the right do full-length tuplet brackets extend than vanilla tuplet brackets? The answer to this question is determined by a second, companion context setting named tupletFullLengthNote. Turn the context setting tupletFullLengthNote on to make full-length tuplet brackets cover *all nonrhythmic notation right up until the following note*; turn tupletFullLengthNote off to make full-length tuplet brackets cover *only the whitespace until the next bit of notation ... be it a clef, time signature, key signature, or another note*. In other words: tupletFullLength = ##t, tupletFullLengthNote = ##t ==> tuplet bracket covers clefs and stuff tupletFullLength = ##t, tupletFullLengthNote = ##f ==> tuplet bracket does *not* cover clefs and stuff So we can think of tupletFullLengthNote as a type of *greediness* modifier on tupletFullLength. (And note that tupletFullLengthNote only makes sense when tupletFullLength = ##t.) So ... Running a test, we get the visual results attached to this mail (better to just look at the png). %%% BEGIN FULL-LENGTH-NOTE DISCREPANCY %%% \version "2.11.34" \layout { ragged-right = ##t } \context Score = "test" \with { \override NonMusicalPaperColumn #'line-break-system-details = #'((alignment-offsets . (0 -16))) } << \set Score.proportionalNotationDuration = #(ly:make-moment 1 24) \override Score.TupletBracket #'direction = #up \override Score.TupletBracket #'staff-padding = #2 \context Staff = "second" { \time 2/4 \set tupletFullLength = ##t \set tupletFullLengthNote = ##t \times 2/3 { c'4 \once \override TextScript #'extra-offset = #'(4.85 . 0.5) \once \override TextScript #'color = #red c'8 ^ \markup { * } } \times 2/3 { c'4 c'8 } | \clef bass \times 2/3 { c'4 \once \override TextScript #'extra-offset = #'(4.4 . 0.5) \once \override TextScript #'color = #red c'8 ^ \markup { * } } \times 2/3 { c'4 c'8 } | \time 1/4 \times 2/3 { c'4 c'8 } } \context Staff = "third" { \time 2/4 \set tupletFullLength = ##t \set tupletFullLengthNote = ##f \times 2/3 { c'4 \once \override TextScript #'extra-offset = #'(4.65 . 0.5) \once \override TextScript #'color = #red c'8 ^ \markup { * } } \times 2/3 { c'4 c'8 } | \clef bass \times 2/3 { c'4 \once \override TextScript #'extra-offset = #'(4 . 0.5) \once \override TextScript #'color = #red c'8 ^ \markup { * } } \times 2/3 { c'4 c'8 } | \time 1/4 \times 2/3 { c'4 c'8 } } >> %%% END %%% The png shows tupletFullLengthNote = ##t (the default) on the top staff; The png also shows tupletFullLengthNote = ##f (nondefault) on the bottom staff. The behavior is exactly as I would expect *just before clefs and time signatures*. But the behavior is ever-so-slightly erroneous *just before normal gaps between notes*. I've marked the normal gaps between notes with red asterisks. The asterisks center over the problem gaps. CONCLUSION: I think the answer to your question is that tupletFullLengthNote should make *no difference* between "normal" notes (ie, notes that do not have any intervening nonrhythmic material like clefs and time signatures); in other words, imo at least, tupletFullLengthNote should only matter when there is intervening nonrhythmic material. But, alas, we see that this is not truly case. I'll extract a minimal example later today and Valentin can judge if it belongs in the tracker. -- Trevor Bača [EMAIL PROTECTED] <>___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: spurious spacing around score titles (Bug?)
Am Freitag, 18. Januar 2008 11:16 schrieb Robert Memering: > I am using 2.11.34 on Linux. The version I used before > (2.11.34) did not produce this unwanted space. Typo here, my current version is of course 2.11.37. Robert -- Robert Memering Arbeitsbereich Linguistik, Universität Münster Hüfferstraße 27, D-48149 Münster, Germany Raum 01.85, Tel. +49-251-83-31958 http://santana.uni-muenster.de ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: triplet bracket looks different
2008/1/18, Trevor Bača <[EMAIL PROTECTED]>: > I'll extract a minimal example later today and Valentin can judge if it > belongs in the tracker. Great! Thanks a lot :) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Two time signatures?
2008/1/19, Alasdair McAndrew <[EMAIL PROTECTED]>: > I'm typesetting a piece of music from the 17th century with the double time > signature of both 6/2 and 3/1. Is it possible to put two time signatures on > a staff in LilyPond, and if so, how? Perhaps something like this: %% % inspired from http://lsr.dsi.unimi.it/LSR/Item?id=261 #(define (double-time one two three four) (markup #:override '(baseline-skip . 0) #:number (#:line ((#:column (one two)) #:vcenter "|" (#:column (three four)) \relative { \time 3/1 \override Staff.TimeSignature #'stencil = #ly:text-interface::print \override Staff.TimeSignature #'text = #(double-time "6" "2" "3" "1" ) f1 e2 d e f | g1. f2 e1 } %%% You can replace the "|" character with a space if you prefer. Hope this helps! Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Two time signatures?
I'm typesetting a piece of music from the 17th century with the double time signature of both 6/2 and 3/1. Is it possible to put two time signatures on a staff in LilyPond, and if so, how? Thanks, Alasdair ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: triplet bracket looks different
2008/1/18, Trevor Bača <[EMAIL PROTECTED]>: > Could you please consider the following for the tracker? Gee, it's really hard to see! However, I've added it, as "Engraving nitpick" :) http://code.google.com/p/lilypond/issues/detail?id=560 Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: triplet bracket looks different
2008/1/18 Valentin Villenave <[EMAIL PROTECTED]>: > 2008/1/18, Trevor Bača <[EMAIL PROTECTED]>: > > > I'll extract a minimal example later today and Valentin can judge if it > > belongs in the tracker. > > Great! Thanks a lot :) Hi Valentin, Could you please consider the following for the tracker? %%% BEGIN FULL-LENGTH TUPLET BRACKET GAP DISCREPANCY %%% \version "2.11.34" \layout { ragged-right = ##t } \context Score << \set Score.proportionalNotationDuration = #(ly:make-moment 1 32) \context Staff = "first" { \time 4/4 \set tupletFullLength = ##t \set tupletFullLengthNote = ##t %%% slightly narrower gaps between tuplet brackets here ... \times 2/3 { c'4 c'8 } \times 2/3 { c'4 c'8 } \times 2/3 { c'4 c'8 } \times 2/3 { c'4 c'8 } } \context Staff = "second" { \time 4/4 \set tupletFullLength = ##t \set tupletFullLengthNote = ##f %%% ... and slightly wider gaps between tuplet bracket here \times 2/3 { c'4 c'8 } \times 2/3 { c'4 c'8 } \times 2/3 { c'4 c'8 } \times 2/3 { c'4 c'8 } } >> %%% END %%% Notice that the gaps between successive tuplet brackets are somewhat narrower on the first staff and somewhat wider on the second staff. To my eye, the gaps on the *top* staff are correct (while the gaps on the bottom staff are too wide). Thanks! -- Trevor Bača [EMAIL PROTECTED] <>___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: triplet bracket looks different
On Jan 18, 2008 12:21 PM, Ole Schmidt <[EMAIL PROTECTED]> wrote: > Hi Trevor, > > Thank you very much for your detailed explanations about what > tupletFullLenghtNote does. > Fortunatly, when using tupletFullLength only everything looks fine > and consistent. > I don't think I really need tupletFullLenghtNote mandatory for my > purposes (now). > Hi Ole, Glad to help. I still owe Valentin a quick snippet for the tracker, tho, so that the next time someone's looking at the tuplet bracket code they can regularize the output of the two behaviors. Take care, Trevor. > > > > Hi Ole, > > > > I think you're right that there's a (hard to detect) bug. > > > > I'll review the expect behaviors here for the list. > > > > (Valentin, the example here is too big for the tracker ... I'll cut > > down to something minimal later today.) > > > > > > > > > > > > > > > > -- Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: triplet bracket looks different
Hi Trevor, Thank you very much for your detailed explanations about what tupletFullLenghtNote does. Fortunatly, when using tupletFullLength only everything looks fine and consistent. I don't think I really need tupletFullLenghtNote mandatory for my purposes (now). best ole Hi Ole, I think you're right that there's a (hard to detect) bug. I'll review the expect behaviors here for the list. (Valentin, the example here is too big for the tracker ... I'll cut down to something minimal later today.) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP: addition for Rhythms?
I don't know if it is the correct solution but it works... best ole %% \version "2.10.33" \header { title = "Brackets don't work with spaces" } A = { \time 4/4 \clef treble s2\startGroup^\markup { \column { "{ 1 }" } } s2\stopGroup^\markup { \column { "{ 2 }" } } \bar "|." } \score { << \new Staff << \A >> >> \layout { \context { \Staff \consists "Horizontal_bracket_engraver" } } } %%% Am 18.01.2008 um 17:01 schrieb Palmer, Ralph: Hi, The following code generates the markups but not the brackets. Is there some way to get brackets printed when they are attached to spaces? many thanks, -- eliot ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
markup under end of staff
How would I get text *under* the staff equivalent to using \mark and \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible \once \override Score.RehearsalMark #'self-alignment-X = #right \mark \markup ... TIA, Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user