Re: How to change clef style
See the section on Ancient clefs in the manual. Note that you can click on every example in the on-line manual to see the corresponding .ly code. /Mats Morten Lemvigh wrote: I'm trying to typeset a book in different styles; modern and ancient looking. By including the same file in all the pieces I've almost succeeded in making the ancient style, with something like: \override NoteHead #'style = #'neomensural in a layout block But I cannot figure out how to change the clef symbols. I just need to change the symbols to something ancient looking. It shouldn't be a direct clef change, I would like the notes to stay on the same lines in the staff, as if it was still a G- or F-clef. Can this be done in some clever way? Regards, Morten ___ 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 = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \breathe X-offset
Trevor Daniels wrote: Mats Many thanks - this works perfectly! Could I have discovered this for myself from the documentation? Partly, but not entirely. space-alist is not mentioned in the 2.10 User Manual, and although space-alist is shown as one of the standard settings for BreathingSign in the Program Reference the list shown there mentions neither next-note nor fixed-space. You have to click on break-aligned-interface at the bottom of the page to get more documentation of space-alist. What's not documented anywhere, and I discovered myself very recently in a post on the mailing list, is the possibility to add one entry to the list, using the extended syntax: \override Object #'property #'subproperty = ... which happens to work also here, since subproperties are internally represented in exactly the same kind of list structure that is used in space-alist. OTOH it _does_ say BreathingSign supports the grob-interface, which says that X-offset is user-settable, yet it is not. Or am I misunderstanding something? It's certainly settable! However, it seems that the value is never read. The same holds in many other occasions as well, see for example the documentation of minimum-length at http://lilypond.org/doc/v2.11/Documentation/user/lilypond-internals/spanner_002dinterface Unfortunately, most of these dependencies are not fully documented and I guess that providing an exhaustive documentation would be more or less impossible, given the possibilities to extend and modify LilyPond using inline Scheme code. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
rehearsal marks continued
Here's the relevant sample. Thanks. Ruth \version 2.11.28 global= { \time 4/4 \key e \minor } violinOne = \new Voice \with {\consists Mark_engraver} { \relative c''{ \set Staff.instrumentName = Violin I \set Score.markFormatter = #format-mark-circle-barnumbers r2^arco b'\mf \upbow \mark \default c b fis d' \bar |. }} \score { \new Staff \global \violinOne \layout { } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 120 4)}} } It's not strange that you get doubled rehearsal marks if you add the engraver to the Voice context and keep it in the Score context. What do you try to achieve when you add the Mark_engraver to the Voice context (in my opinion, it does make sense in a few special situations to move it from the Score context to the Staff context, but not to the Voice context)? /Mats This is pure incompetence in my part. I am learning lilypond by trial and error. The \with {\consists Mark_engraver} was left over from the score version, so segnos etc. would appear on all systems. Ruth Just remove the: \with {\consists Mark_engraver} to get rid of the extra rehearsal mark. /Mats Thank you! That worked, Ruth ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to change clef style
From that section it's clear, how I can insert different kinds of ancient clefs, but I already have a large collection of pieces, where I've used \clef G, \clef G_8 and \clef F. I would like to change the look of them without having to edit all the documents. Since they all include the same file, I hoped for a way to globally change the look of the clefs. Maybe it's clear from that section as well, but then I just don't get it... Sorry! Morten Mats Bengtsson wrote: See the section on Ancient clefs in the manual. Note that you can click on every example in the on-line manual to see the corresponding .ly code. /Mats Morten Lemvigh wrote: I'm trying to typeset a book in different styles; modern and ancient looking. By including the same file in all the pieces I've almost succeeded in making the ancient style, with something like: \override NoteHead #'style = #'neomensural in a layout block But I cannot figure out how to change the clef symbols. I just need to change the symbols to something ancient looking. It shouldn't be a direct clef change, I would like the notes to stay on the same lines in the staff, as if it was still a G- or F-clef. Can this be done in some clever way? Regards, Morten ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
TrillSpanner inside slur
In the next example, the first two bars have trills outside the slur. The \trill can be moved inside with \override Script..., shown in bar three. Is it possible to move the trillspanner also inside a slur? I tried \override TrillSpanner... but without success. \version 2.11.32 \relative c'' { c4( d^\trill d^\trill e) c( d\startTrillSpan d\stopTrillSpan e) \override Script #'avoid-slur = #'inside \override TrillSpanner #'avoid-slur = #'inside c( d^\trill d^\trill e) c( d\startTrillSpan d\stopTrillSpan e) } Toine Schreurs ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: TrillSpanner inside slur
On 9/19/07, Toine Schreurs [EMAIL PROTECTED] wrote: In the next example, the first two bars have trills outside the slur. The \trill can be moved inside with \override Script..., shown in bar three. Is it possible to move the trillspanner also inside a slur? I tried \override TrillSpanner... but without success. \version 2.11.32 \relative c'' { c4( d^\trill d^\trill e) c( d\startTrillSpan d\stopTrillSpan e) \override Script #'avoid-slur = #'inside \override TrillSpanner #'avoid-slur = #'inside c( d^\trill d^\trill e) c( d\startTrillSpan d\stopTrillSpan e) } Hi Toine, Have you tried setting the TrillSpanner's outside-staff-priority to a small number (meaning close to the staff) and setting the Slur's outside-staff-priority to a larger number (meaning further away from the staff)? Trevor. -- Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: TrillSpanner inside slur
Before, I tried \override TrillSpanner #'outside-staff-priority = #20 without success, but I did not set \override Slur #'outside-staff-priority = #50 because there is no mention of outside-staff-priority in the program reference for Slur. But specifying both overrides does the trick. Thanks, Toine Trevor Bača wrote: Have you tried setting the TrillSpanner's outside-staff-priority to a small number (meaning close to the staff) and setting the Slur's outside-staff-priority to a larger number (meaning further away from the staff)? Trevor. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: TrillSpanner inside slur
Hi Toine, because there is no mention of outside-staff-priority in the program reference for Slur. You have to click on through to the grob-interface list. Yet another example (so many recently!) of why there should be a complete settable-properties list available for each grob... =) Best regards, Kieren. p.s. Nicely done, Trevor! This is LSR material, probably... ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: TrillSpanner inside slur
On 9/19/07, Kieren MacMillan [EMAIL PROTECTED] wrote: Hi Toine, because there is no mention of outside-staff-priority in the program reference for Slur. You have to click on through to the grob-interface list. Yet another example (so many recently!) of why there should be a complete settable-properties list available for each grob... =) Best regards, Kieren. p.s. Nicely done, Trevor! This is LSR material, probably... Thanks, Kieren. I do a lot with layered spanners and lines of all sorts to show different strata of stuff, so I happened to know that one off the top of my head. Joe did some pretty amazing stuff with the skyline code and IIRC the outside-staff-priority property in the grob-interface comes from his work on that code. The cool thing is that outside-of-staff-priority is very very *systemmatic* ... it operates on a very general principle and you don't have to keep the intricacies of different grobs in mind when you're playing around with it. In case anybody else stumbles on this thread later, the two things you *do* have to keep in mind when using outside-staff-priority are ... 1. If you have two (or more) different grobs fighting for vertical position outside of the staff, make sure to set outside-staff-priority on *both* grobs (which is what caught Toine), and 2. It is possible to set outside-staff-priority = ##f. This fact isn't readily apparent in the docs, but it can be very powerful. What you're doing with outside-staff-priority = ##f is basically saying hey grob, I don't want you to participate in the whole skyline spacing business. (Seems like newcomers probably first discover staff-padding as a way to control the vertical positioning of indvidual grobs; using outside-staff-priority (possibly together with staff-padding) is probably more of an advanced thing; I should probably write up a quick something about the differences and find a place to stick in the docs, possibly in a new spacing section or something. But not until the dust settles from the GDP.) -- Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Author credit in LSR?
Hey Valentin, What do you think about providing author credit for the different snippets in the LSR? I was looking at the metric modulation one earlier and it's amazing. Somebody clearly spent a great deal of effort thinking through example ... maybe giving credit would be a nice way to give back to contributors, and possibly even encourage more submissions? Trevor. -- Trevor Bača [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Author credit in LSR?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Mittwoch, 19. September 2007 schrieb Trevor Bača: Hey Valentin, What do you think about providing author credit for the different snippets in the LSR? I was looking at the metric modulation one earlier and it's amazing. Somebody clearly spent a great deal of effort thinking through example ... maybe giving credit would be a nice way to give back to contributors, and possibly even encourage more submissions? Yes, I also think that giving credit where credit is due is a must (and developing an example for the LSR is a thing where credit is due!). Some other positive aspects: - -) If your name is attached to something, you will probably be more careful and considerate. - -) Having your name attached to something gives yourself a little more confidence. - -) Visitors of the LSR know who knows about that stuff. - -) It's easier to track down an author when problems with a new version appear. Cheers, Reinhold - -- - -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung Jung-Wien, http://www.jung-wien.at/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG8YX4TqjEwhXvPN0RAp6CAKCrnSIUFcMLaWMcTrbN96vo3x/7jQCfVsPu s1QvPzvYM8CYBCbLx4TW5KQ= =h0ZN -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Author credit in LSR?
Trevor Bača wrote: What do you think about providing author credit for the different snippets in the LSR? I have no objections to people adding a comment with their name and email (if they're happy with whatever spam protection they add). Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Partcombine and Lyrics
Hi, Basically, I've got something like this \new Staff = smed \new Voice = med { \medMusic } \new Lyrics = med { s1 } \context Lyrics = med \lyricsto med \medWords Now I want to add a second melody. It's identical to the first, with a few exceptions. So I want to use partcombine. \new Staff = smed \new Voice = med { \set Staff.printPartCombineTexts = ##f \partcombine \medMusic \lowMusic } \new Lyrics = med { s1 } \context Lyrics = med \lyricsto med \medWords However, now Lilypond complains cannot find Voice 'med'. How can I add lyrics to combined parts? Thanks, Johan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Author credit in LSR?
2007/9/19, Graham Percival [EMAIL PROTECTED]: Trevor Bača wrote: What do you think about providing author credit for the different snippets in the LSR? I have no objections to people adding a comment with their name and email (if they're happy with whatever spam protection they add). As a matter of fact, I already added some names in the snippet descriptions whenever I found something clever on the list (yesterday it was Rune's free However, it would be a nice feature if the authors could be automatically be identified, based on existing LSR user accounts, like on a wiki (while they still have the choice to create an account or not). Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: tuplets (was: GDP for kids :)
Am 2007-09-17 um 17:00 schrieb Valentin Villenave: Trevor: there can be *no* name for such hideous rhythms... :) We may use rythmes irrationnels (one h, two ns), 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 ;) In German the word is Tupel vs. Duole, Triole, Pentole etc. I never really heard Tupel in musical context, only mathemathically. My musical lexicon doesn't know it - but my favourite online dictionary doesn't know tuplet either. Greetlings from Lake Constance --- fiëé visuëlle Henning Hraban Ramm http://www.fiee.net http://angerweit.tikon.ch/lieder/ https://www.cacert.org (I'm an assurer) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problem with full-measure rests in differently time-scaled staves
Sorry about my previous garbage post - I was in a hurry and replied to a digest email rather than to my previous send. I had intended to correct the post to which the title of this email correctly refers: the snippet included with the post actually shows *9* bars in the space of four, not 3 as I mistakenly wrote originally. Thanks, Adam On 9/18/07, Adam James Wilson [EMAIL PROTECTED] wrote: Hi folks: Here's a snippet with two staves: one with four bars of 3/8 and another with 3 bars of 3/8 in the same time as the first four bars. I used compressMusic to line them up, and I'm using a global breaking voice (imagine this pattern continuing for page and pages). The problem is, the full measure rests inside the compressMusic block are not getting compressed with the rest of the music. Is there a workaround for this? begin example \version 2.11.32 #(set-global-staff-size 8) \paper { ragged-right = ##t } \layout { \context { \Score \remove Timing_translator \remove Time_signature_engraver \remove Default_bar_line_engraver \override SpacingSpanner #'uniform-stretching = ##t \override SpacingSpanner #'strict-note-spacing = ##t proportionalNotationDuration = #(ly:make-moment 1 64) } \context { \Staff \consists Timing_translator \consists Time_signature_engraver \consists Default_bar_line_engraver } } global = { \set Timing.defaultBarType = \repeat unfold 4 { s4. } \bar \break } \new Score { \new StaffGroup { \new Staff \global { \time 3/8 \repeat unfold 4 { R4. \bar | } } \new Staff \global { \compressMusic #'(4 . 9) { \time 3/8 \repeat unfold 9 { R4. \bar | } } } } } %%% end example PNG attached . . . Best, Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
ANSWER, Re: problem with full-measure rests in differently time-scaled staves
I answered my own question: it turns out if I set the \time of the offending staff to [global voice \time * crosspulse ratio] - in this case 3/8 * 4/9, or 1/6, the full measure rests appear correctly in the lower staff. This gives a time signature of 1/6, but this can easily be replaced with a dummy 3/8. Solution below. \version 2.11.32 #(set-global-staff-size 8) \paper { ragged-right = ##t } \layout { \context { \Score \remove Timing_translator \remove Time_signature_engraver \remove Default_bar_line_engraver \override SpacingSpanner #'uniform-stretching = ##t \override SpacingSpanner #'strict-note-spacing = ##t proportionalNotationDuration = #(ly:make-moment 1 64) } \context { \Staff \consists Timing_translator \consists Time_signature_engraver \consists Default_bar_line_engraver } } global = { \set Timing.defaultBarType = \repeat unfold 4 { s4. } \bar \break } \new Score { \new StaffGroup { \new Staff \global { \time 3/8 \repeat unfold 4 { R4. \bar | } } \new Staff \global { \compressMusic #'(4 . 9) { \time 1/6 \repeat unfold 9 { R4. \bar | } } } } } Best, Adam On 9/18/07, Adam James Wilson [EMAIL PROTECTED] wrote: Hi folks: Here's a snippet with two staves: one with four bars of 3/8 and another with 3 bars of 3/8 in the same time as the first four bars. I used compressMusic to line them up, and I'm using a global breaking voice (imagine this pattern continuing for page and pages). The problem is, the full measure rests inside the compressMusic block are not getting compressed with the rest of the music. Is there a workaround for this? begin example \version 2.11.32 #(set-global-staff-size 8) \paper { ragged-right = ##t } \layout { \context { \Score \remove Timing_translator \remove Time_signature_engraver \remove Default_bar_line_engraver \override SpacingSpanner #'uniform-stretching = ##t \override SpacingSpanner #'strict-note-spacing = ##t proportionalNotationDuration = #(ly:make-moment 1 64) } \context { \Staff \consists Timing_translator \consists Time_signature_engraver \consists Default_bar_line_engraver } } global = { \set Timing.defaultBarType = \repeat unfold 4 { s4. } \bar \break } \new Score { \new StaffGroup { \new Staff \global { \time 3/8 \repeat unfold 4 { R4. \bar | } } \new Staff \global { \compressMusic #'(4 . 9) { \time 3/8 \repeat unfold 9 { R4. \bar | } } } } } %%% end example PNG attached . . . Best, Adam ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ANSWER, Re: problem with full-measure rests in differently time-scaled staves
2007/9/20, Adam James Wilson [EMAIL PROTECTED]: I answered my own question: it turns out if I set the \time of the offending staff to [global voice \time * crosspulse ratio] - in this case 3/8 * 4/9, or 1/6, the full measure rests appear correctly in the lower staff. This gives a time signature of 1/6, but this can easily be replaced with a dummy 3/8. Solution below. Great! (honestly, I had no idea how to solve it -- though I didn't really try, since all these \compressMusic things are usually painful to get working)... How about adding it to the LSR so that anyone can find it easily? Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ANSWER, Re: problem with full-measure rests in differently time-scaled staves
Hi Valentin, Most of my music has two or more tempos going simultaneously, so I have become intimately acquainted with the use of compressMusic. :) Will the chunk of code I sent to the list suffice for an LSR snippet? Best regards, Adam On 9/19/07, Valentin Villenave [EMAIL PROTECTED] wrote: 2007/9/20, Adam James Wilson [EMAIL PROTECTED]: I answered my own question: it turns out if I set the \time of the offending staff to [global voice \time * crosspulse ratio] - in this case 3/8 * 4/9, or 1/6, the full measure rests appear correctly in the lower staff. This gives a time signature of 1/6, but this can easily be replaced with a dummy 3/8. Solution below. Great! (honestly, I had no idea how to solve it -- though I didn't really try, since all these \compressMusic things are usually painful to get working)... How about adding it to the LSR so that anyone can find it easily? Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user