Re: On popular demand: Free Meter :-)
Thank you! Ted On Mon, Sep 17, 2007 at 12:13:01AM +0200, Rune Zedeler wrote: c.m.bryan skrev: I'm working on a score where I am in cadenza mode, and inserting bar lines manually (\bar "|"). It seems that accidentals don't reset automatically on these barlines, i.e. a sharp isn't reprinted in the next bar. Is this the intended behavior, and if so, is there any way I can change that? This snippet defines a function, increaseBarNumber, that you can use to increase the bar number. That way you can have a Free Meter where you insert bars whereever you like, bar numbers counting correctly and accidentals behaving correctly. http://lsr.dsi.unimi.it/LSR/Item?u=1&id=327 -Rune -- There's a party in your skull. And you're invited! Name:Ted Walther Phone: 778-320-0644 Email: [EMAIL PROTECTED] Skype: tederific Address: 3422 Euclid Ave, Vancouver, BC V5R4G4 (Canada) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Half a \prall
Since you can typeset any unicode character in textual indications like c^"Långsammare" you can also insert the symbols you mention using your favourite text editor and save the file using UTF-8 encoding. /Mats Hans Aberg wrote: I discovered they can be produced using Unicode U+1D19D for the half Pralltriller, and adding U+1D1A0 for the half mordent. So the question becomes: Can ornaments like \prall be created using Unicode characters? Hans Aberg On 14 Sep 2007, at 17:08, Mats Bengtsson wrote: These symbols correspond to one symbol each in the LilyPond font, so I'm afraid you would have to use some trick with \markup to draw a white area on top of half the symbol. Similar tricks have been described several times on the mailing list (and I think there are examples in LSR). /Mats Hans Aberg wrote: Is is possible to produce a \prall and a \mordent, but with only one wave (one peak and one valley). The idea is to notate a special ornament similar to these, but where the speed does not admit the terminating note of a Pralltriller or mordent (used in Bulgarian music). Hans Aberg ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = 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 = -- = 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: Reduce space between notes
The mechanism the determines the horizontal spacing is described in Section "11.6.1 Horizontal spacing overview" in the manual. The default settings are clearly not optimal when you have \breve and \longa in your score. For example, you could try to add the following at the top of your .ly file, to reduce the difference in spacing between long and short notes: \layout{ ragged-right = ##t \context{ \Score \override SpacingSpanner #'spacing-increment = #0.3 } } Note also the setting of ragged-right, above, which you should use for these single line test examples, so the example isn't stretched to fill the full line. For normal music which spans several lines, that setting should be removed. /Mats mojocojo2000 wrote: I seem to be having trouble reducing the space between the breve/longa and other notes, For example this command - \[ g\breve e\longa \], leaves a huge space after it. I've tried messing around with notecolumns and such, with no success. My source code is below, so if anyone has some helpful advice that would be great! - \sourcefilename "whtmens.ly" \version "2.10.29" \new Score << \new MensuralVoice = "discantus" { \clef "petrucci-c1" \time 3/2 \relative c' { g'\breve \melisma a1 \[ g\breve e\longa \] f1 g2.\melismaEnd f4 \melisma g2 \melismaEnd a1 g4 f e1.. \melismaEnd } } \new Lyrics \with { fontSize = #-2 \override StaffSymbol #'staff-space = #(magstep -6) } \lyricsto "discantus" { Sanctus sanctus } >> - -- = 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: Half a \prall
On 17 Sep 2007, at 09:52, Mats Bengtsson wrote: I discovered they can be produced using Unicode U+1D19D for the half Pralltriller, and adding U+1D1A0 for the half mordent. So the question becomes: Can ornaments like \prall be created using Unicode characters? Since you can typeset any unicode character in textual indications like c^"Långsammare" you can also insert the symbols you mention using your favourite text editor and save the file using UTF-8 encoding. Yes, that is the idea - I am using UTF-8 files in Xcode (Mac OS X 10.4.10). I have also found a Unicode font Euterpe that does it correctly: http://openfontlibrary.org/media/files/Eimai/191 I also found (replies in the Unicode mailing list) some other Unicode fonts, but U+1D19D is designed wrongly, as a Pralltriller, instead of having only on peak and valley: http://cg.scs.carleton.ca/~luc/music.html http://users.teilar.gr/~g1951d/ http://cg.scs.carleton.ca/~luc/math.html http://www.decodeunicode.org/en/musical_symbols Cf. http://www.unicode.org/charts/symbols.html http://www.unicode.org/charts/PDF/U1D100.pdf They have many other useful musical symbols, though. So the question is how to choose musical symbols selectively from different fonts, and the make say ornament symbols from that. Hans Åberg ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Half a \prall
Hans Aberg wrote: Yes, that is the idea - I am using UTF-8 files in Xcode (Mac OS X 10.4.10). I have also found a Unicode font Euterpe that does it correctly: http://openfontlibrary.org/media/files/Eimai/191 I also found (replies in the Unicode mailing list) some other Unicode fonts, but U+1D19D is designed wrongly, as a Pralltriller, instead of having only on peak and valley: http://cg.scs.carleton.ca/~luc/music.html http://users.teilar.gr/~g1951d/ http://cg.scs.carleton.ca/~luc/math.html http://www.decodeunicode.org/en/musical_symbols Cf. http://www.unicode.org/charts/symbols.html http://www.unicode.org/charts/PDF/U1D100.pdf They have many other useful musical symbols, though. So the question is how to choose musical symbols selectively from different fonts, and the make say ornament symbols from that. In general, the font handling library used in LilyPond will try to find a matching font that contains the symbol. Otherwise you can specify the font-name explicitly, for example using a \markup{...} as shown in section "Font selection", at least as the font works with Unicode. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Half a \prall
On 17 Sep 2007, at 14:32, Mats Bengtsson wrote: Yes, that is the idea - I am using UTF-8 files in Xcode (Mac OS X 10.4.10). I have also found a Unicode font Euterpe that does it correctly: http://openfontlibrary.org/media/files/Eimai/191 I also found (replies in the Unicode mailing list) some other Unicode fonts, but U+1D19D is designed wrongly, as a Pralltriller, instead of having only on peak and valley: http://cg.scs.carleton.ca/~luc/music.html http://users.teilar.gr/~g1951d/ http://cg.scs.carleton.ca/~luc/math.html http://www.decodeunicode.org/en/musical_symbols Cf. http://www.unicode.org/charts/symbols.html http://www.unicode.org/charts/PDF/U1D100.pdf They have many other useful musical symbols, though. So the question is how to choose musical symbols selectively from different fonts, and the make say ornament symbols from that. In general, the font handling library used in LilyPond will try to find a matching font that contains the symbol. So does Mac OS X. Probably a necessity, as I think a Unicode font only can contain a maximum of 2^16 = 65536 characters, whereas Unicode has more than 10. So, in order to cover all Unicode characters, more than one font is needed. Otherwise you can specify the font-name explicitly, for example using a \markup{...} as shown in section "Font selection", at least as the font works with Unicode. Thank you. I will look it up. After a brief look at these fonts, I think one may have to choose between them, to get the right glyphs. The state of the art. :-) Hans Åberg ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: On popular demand: Free Meter :-)
2007/9/17, Rune Zedeler <[EMAIL PROTECTED]>: > Unfortunately I cannot modify the snippet after you approved it. > There was a bug in it so accidentals worked correctly but printed bar > numbers did not. OK, it's corrected. A funny detail: to find your snippet in the database, all I have to do is enter the term: "yeah" :) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: On popular demand: Free Meter :-)
Valentin Villenave skrev: OK, it's corrected. Sorry for the noise. The snippet did not work with grace notes. (Am I the only one who think that the representation of grace timing is a bit messy?) Try with this: %%% BEGIN %%% increaseBarNumber = \applyContext #(lambda (x) (let ((measurepos (ly:context-property x 'measurePosition))) ; Only increase bar number if not at start of measure. ; This way we ensure that you won't increase bar number twice ; if two parallel voices call increaseBarNumber simultanously: (if (< 0 (ly:moment-main-numerator measurepos)) ; ugh. ignore grace part (begin (ly:context-set-property! (ly:context-property-where-defined x 'internalBarNumber) 'internalBarNumber (1+ (ly:context-property x 'internalBarNumber))) (ly:context-set-property! (ly:context-property-where-defined x 'currentBarNumber) 'currentBarNumber (1+ (ly:context-property x 'currentBarNumber))) ; set main part of measurepos to zero, leave grace part as it is: (ly:context-set-property! (ly:context-property-where-defined x 'measurePosition) 'measurePosition (ly:make-moment 0 1 (ly:moment-grace-numerator measurepos) (ly:moment-grace-denominator measurepos))) hardbar = { \bar "|" \increaseBarNumber } { \new Staff \with { \remove Time_signature_engraver } { \cadenzaOn #(set-accidental-style 'modern-cautionary) \key a \major \repeat unfold 2 { c'8 dis' eis' eis' \hardbar c'4 dis' e' eis' \hardbar c' dis' eis'8 dis' eis' \hardbar c'1 dis' eis' eis'2 \hardbar } } } %%% END %%% A funny detail: to find your snippet in the database, all I have to do is enter the term: "yeah" :) :-) -Rune ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: On popular demand: Free Meter :-)
2007/9/17, Rune Zedeler <[EMAIL PROTECTED]>: > Sorry for the noise. > The snippet did not work with grace notes. (Am I the only one who think > that the representation of grace timing is a bit messy?) Oh, definitely. The only difference is *I* never get to say such things out lout :) Applied. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Half a \prall
On 17 Sep 2007, at 14:32, Mats Bengtsson wrote: Yes, that is the idea - I am using UTF-8 files in Xcode (Mac OS X 10.4.10). I have also found a Unicode font Euterpe that does it correctly: http://openfontlibrary.org/media/files/Eimai/191 I also found (replies in the Unicode mailing list) some other Unicode fonts, but U+1D19D is designed wrongly, as a Pralltriller, instead of having only on peak and valley: http://cg.scs.carleton.ca/~luc/music.html http://users.teilar.gr/~g1951d/ http://cg.scs.carleton.ca/~luc/math.html http://www.decodeunicode.org/en/musical_symbols Cf. http://www.unicode.org/charts/symbols.html http://www.unicode.org/charts/PDF/U1D100.pdf They have many other useful musical symbols, though. So the question is how to choose musical symbols selectively from different fonts, and the make say ornament symbols from that. In general, the font handling library used in LilyPond will try to find a matching font that contains the symbol. Otherwise you can specify the font-name explicitly, for example using a \markup{...} as shown in section "Font selection", at least as the font works with Unicode. I got this working, using the variations fis16^\markup {...} cis^\markup {\override #'(font-name . "Euterpe") {...}} where "..." is U+1D19D encoded as UTF-8 in the source-file. However, I noticed what seems to be a bug in in the LilyPond 2.11.28 distribution for Mac OS X 10.4.8: It does not work if the font is installed in the Font Book as User, which is the default for user installed fonts. It must be installed a Computer, and dropped onto this icon. Then the font ends up in / Library/Fonts/, which is one of the LilyPond search places. If installed as User, the font ends up in ~/Library/Fonts/, which LilyPond (or the PS to PDF conversion tool) does not search. Hans Åberg ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP for kids :)
2007/9/17, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Valentin, Hi Charlotte, > I just happened to glance at the first of your links about 'tuplets' and > wondered if this is the right name for it? I have always understood > 'tuplets' to refer to the use of 'simple' time in a compound time > signature (so '2 notes in the time of 3') as opposed to triplets which are > 3 notes in the time of 2. To me, what you've illustrated is actually a > triplet, rather than a tuplet. I see your point; as English isn't my first language, I can't really make the difference here (nor can I for "eight notes" vs "quavers", which is why I intentionally used both). There was a discussion involving these terms a few months ago: http://lists.gnu.org/archive/html/lilypond-user/2006-12/msg00468.html Somebody, IIRC, proposed to create a \triplet keyword to make triplets creation easier (of course, like many "user ideas" in opensource world, this didn't make it to the actual program). When translating the manual, I was struck by the fact that "triplet" is almost never used. The advantage of "tuplet", which made me use it in this page, is that it seems to refer to any "\times p/q" construction, making "triplet" a subspecies of "tuplet". Such a question never happens in French, where we haven't any generic term: "duolet" refers to \times 3/2 (for instance in a 6/8 piece) "triolet" refers to \times 2/3 (the most common use) "quintolet" refers to \times 4/5 etc... My point here was to show that any rhythmic construction can be created, even 4/128 if you need it; that is why I dropped "triplet" and only kept "tuplet". I might, however, be very wrong; therefore I'd appreciate any help or criticism on this matter (and on each English version of my comics as well). Regards, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP for kids :)
On 9/17/07, Valentin Villenave <[EMAIL PROTECTED]> wrote: > 2007/9/17, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Valentin, > > Hi Charlotte, > > > I just happened to glance at the first of your links about 'tuplets' and > > wondered if this is the right name for it? I have always understood > > 'tuplets' to refer to the use of 'simple' time in a compound time > > signature (so '2 notes in the time of 3') as opposed to triplets which are > > 3 notes in the time of 2. To me, what you've illustrated is actually a > > triplet, rather than a tuplet. > > I see your point; as English isn't my first language, I can't really > make the difference here (nor can I for "eight notes" vs "quavers", > which is why I intentionally used both). > > There was a discussion involving these terms a few months ago: > http://lists.gnu.org/archive/html/lilypond-user/2006-12/msg00468.html > Somebody, IIRC, proposed to create a \triplet keyword to make triplets > creation easier (of course, like many "user ideas" in opensource > world, this didn't make it to the actual program). > > When translating the manual, I was struck by the fact that "triplet" > is almost never used. The advantage of "tuplet", which made me use it > in this page, is that it seems to refer to any "\times p/q" > construction, making "triplet" a subspecies of "tuplet". > > Such a question never happens in French, where we haven't any generic term: > "duolet" refers to \times 3/2 (for instance in a 6/8 piece) > "triolet" refers to \times 2/3 (the most common use) > "quintolet" refers to \times 4/5 > etc... Hi Valentin, This is OT, but how does FR then refer to, for example, \times 3/5 and \times 5/7? Or do you have to resort to "rhythmes irrationels" or some such? Trevor. > My point here was to show that any rhythmic construction can be > created, even 4/128 if you need it; that is why I dropped "triplet" > and only kept "tuplet". I might, however, be very wrong; therefore I'd > appreciate any help or criticism on this matter (and on each English > version of my comics as well). > > Regards, > Valentin > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > -- Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: On popular demand: Free Meter :-) [sponsorship offer]
Hi Han-Wen (et al.): The snippet did not work with grace notes. (Am I the only one who think that the representation of grace timing is a bit messy?) Oh, definitely. The only difference is *I* never get to say such things out lout :) What would it take ($$) to clean up grace code? e.g., so that you don't have to synchronize across staves, etc. I've got some sponsorship money burning a hole in my PayPal account. ;-) Cheers, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP for kids :)
Valentin Villenave wrote: There was a discussion involving these terms a few months ago: http://lists.gnu.org/archive/html/lilypond-user/2006-12/msg00468.html Somebody, IIRC, proposed to create a \triplet keyword to make triplets creation easier (of course, like many "user ideas" in opensource world, this didn't make it to the actual program). Now it has at least made it into the LSR. See http://lsr.dsi.unimi.it/LSR/Item?u=1&id=328 ;-) /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GDP for kids :)
2007/9/17, Mats Bengtsson <[EMAIL PROTECTED]>: > Now it has at least made it into the LSR. See > http://lsr.dsi.unimi.it/LSR/Item?u=1&id=328 Oh yes! I didn't realize. I do remember, however, that you posted this same code on the list, and that I preciously copy/pasted it in a functions.ly file I created for the occasion. I'm still using this file today (it's over 800 lines long now, mostly written by myself, but the \t definition is still at the beginning). That was my two geek-nostalgia minutes :) Trevor: there can be *no* name for such hideous rhythms... :) We may use "rythmes irrationnels" (one "h", two "n"s), or "monnayages", but generally speaking the terms we use for such *things* are so rude I can't consider posting any of them here... even in French ;) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
\breathe X-offset
Hi I'm having some difficulty adjusting the X position of a breathing sign using X-offset. According to the program reference the BreathingSign obeys the grob-interface, and indeed Y-offset works fine. But if I replace Y-offset with X-offset in the code below it seems to have no effect. Is this a known bug or is there some other reason why this fails? Trevor (D) \version "2.10.20" { \relative b' { b2. \once \override BreathingSign #'X-offset = #-5 %\once \override BreathingSign #'Y-offset = #-5 \breathe b4 } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
help with stopStaff
Hello folks, Is there a way to achieve the effect of \stopStaff without eliminating the brace at the beginning of the following (PianoStaff) system? I'd like to eliminate only the staff lines, nothing else. Any hints? Thanks. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: help with stopStaff
Nevermind, just figured it out (actually did it before, just didn't remember): \override Staff.StaffSymbol #'transparent = ##t \stopStaff \startStaff and then reverting, in case anybody was wondering. On 9/17/07, Neil Thornock <[EMAIL PROTECTED]> wrote: > > Hello folks, > > Is there a way to achieve the effect of \stopStaff without eliminating the > brace at the beginning of the following (PianoStaff) system? I'd like to > eliminate only the staff lines, nothing else. > > Any hints? > > Thanks. -- Neil Thornock, D.M. Visiting Assistant Professor of Music Theory/Composition Brigham Young University ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: partial SpanBar possible?
Wow Joe, thanks! This kicks ass! I can now remove all the whiteout blocks I've inserted throughout my score! Best, Adam On 9/17/07, Joe Neeman <[EMAIL PROTECTED]> wrote: > On Wed, 5 Sep 2007 16:44:22 Adam James Wilson wrote: > > I have a StaffGroup that contains four staves. Most of the time, I > > want a SpanBar to pass through all four staves. However, there are > > some points at which I'd like the SpanBar to connect only the bottom > > three staves, or the middle two staves. > > In 2.11.33, you will be able to set Staff.BarLine #'allow-span-bar = ##f and > it will disable the SpanBar below that BarLine. > > Joe > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: partial SpanBar possible?
On Wed, 5 Sep 2007 16:44:22 Adam James Wilson wrote: > I have a StaffGroup that contains four staves. Most of the time, I > want a SpanBar to pass through all four staves. However, there are > some points at which I'd like the SpanBar to connect only the bottom > three staves, or the middle two staves. In 2.11.33, you will be able to set Staff.BarLine #'allow-span-bar = ##f and it will disable the SpanBar below that BarLine. Joe ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: help with stopStaff
2007/9/17, Neil Thornock <[EMAIL PROTECTED]>: > Nevermind, just figured it out (actually did it before, just didn't > remember): > > \override Staff.StaffSymbol #'transparent = ##t > \stopStaff \startStaff > > and then reverting, in case anybody was wondering. ...In case anybody was or would ever be wondering, would you mind adding a snippet to the LSR? http://lsr.dsi.unimi.it/ It makes finding such answers a *lot* easier for everyone, and provides great examples for future versions of the manual. Thanks, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
extra set of rehearsal marks
I recently switched to Lilypond 2.11.28-1 and now everything I typeset ends up with an extra set of rehearsal marks. For instance, if I ask for circled barnumbers, then whenever I put "\mark \default" I end up with two circled barnumbers, one above the other. What might be the problem? Thanks, Ruth ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: partial SpanBar possible?
Wow, that is, indeed, very very cool. Thanks, Joe. :-) Trevor. On 9/17/07, Adam James Wilson <[EMAIL PROTECTED]> wrote: > Wow Joe, thanks! This kicks ass! I can now remove all the whiteout > blocks I've inserted throughout my score! > > Best, > Adam > > On 9/17/07, Joe Neeman <[EMAIL PROTECTED]> wrote: > > On Wed, 5 Sep 2007 16:44:22 Adam James Wilson wrote: > > > I have a StaffGroup that contains four staves. Most of the time, I > > > want a SpanBar to pass through all four staves. However, there are > > > some points at which I'd like the SpanBar to connect only the bottom > > > three staves, or the middle two staves. > > > > In 2.11.33, you will be able to set Staff.BarLine #'allow-span-bar = ##f and > > it will disable the SpanBar below that BarLine. > > > > Joe > > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > -- Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user