Re: Align notes in accord
Rustik wrote Eluze wrote / \shiftOnn or \once \override NoteColumn.force-hshift = #2 / Where in my example i must paste it? if you use the latter with \once it should be right before the note to shift. \shiftOn will have no effect since \voiceFour implies \shiftOn and would shift the note to the left (if there is shifting at all) for more details see /collision resolution/ in http://www.lilypond.org/doc/v2.16/Documentation/snippets/simultaneous-notes Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Align-notes-in-accord-tp137115p137220.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new and context
Noeck, you wrote Tuesday, December 04, 2012 8:43 PM what is the difference between \new and \context? Very little. In most situations they can be used interchangeably. One difference is that \context Staff = A will search for a previously defined Staff with the same name and use that existing context, whereas \new Staff = A will always create a new context, even if a context with the same name already exists. I always use \new the first time a context is created and \context to refer back to an existing context, but this is just a convention and other users have different conventions. I have read 5.1.2 Creating contexts, but I don't understand it yet. It talks about 3 commands for a context: \new type music expression \context type = id music \context type music Why is \new type = id music not listed with an extra bullet? Or, why is \context type = id and \new type = id is not? This section of the documentation was last amended in 2006, when the style was much more casual than the way the earlier sections of the Notation Reference are now written. It is likely the author was not very clear how contexts worked. It's time this section was revisited. Thanks for drawing our atttention to it. Where would I need \context? There is an example: \new Staff \context Voice = A \music \context Voice = A \arts But I could write \new Staff \music \\ \arts , couldn't I? Yes. Ok, I see some differences in the stem directions, but it's not clear to me why. I would be very happy, if anyone could explain that to me. The former uses a single Voice context, the latter uses two. Would a syntax be possible without new and LilyPond creates the context if it is not there and references an exising one, if it has the same name? That's essentially what \context does. Trevor ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new and context
Trevor Daniels t.dani...@treda.co.uk writes: Noeck, you wrote Tuesday, December 04, 2012 8:43 PM Where would I need \context? There is an example: \new Staff \context Voice = A \music \context Voice = A \arts But I could write \new Staff \music \\ \arts , couldn't I? Yes. Ok, I see some differences in the stem directions, but it's not clear to me why. I would be very happy, if anyone could explain that to me. The former uses a single Voice context, the latter uses two. The latter also uses \voiceOne and \voiceTwo in the respective two contexts. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Aligning Text Above (and Below) Notes
Eric Pancer wrote either put these indications in a supplemental (Lyric) staff (staves) or add some padding: Would I use a \ChoirStaff for it, with drum notation? here's a simplified example: quintosoloA = \drummode { sn8 sn sn r8 sn sn sn r8 sn sn sn r8 sn sn sn r8 sn sn sn r8 r8 r4. } quintosoloATextAbove = \lyricmode { m m m m m m m m m m m m m m m } quintosoloATextBelow = \lyricmode { R L R R L R R L R R L R R L R } % layout the score \score { \new StaffGroup \new DrumStaff = soloA \with { fontSize = #-2 } \repeat volta 2 { \time 6/8 \set Staff.instrumentName = #quinto \new DrumVoice = soloA \with { fontSize = #-2 } { \quintosoloA % \quintosoloB } } \new Lyrics \with { alignAboveContext = soloA } \lyricsto soloA \quintosoloATextAbove \new Lyrics \lyricsto soloA \quintosoloATextBelow } hope you can adapt it Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Aligning-Text-Above-and-Below-Notes-tp137190p137224.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Aligning Text Above (and Below) Notes
On Wed, Dec 5, 2012 at 3:23 AM, Eluze elu...@gmail.com wrote: Eric Pancer wrote either put these indications in a supplemental (Lyric) staff (staves) or add some padding: Would I use a \ChoirStaff for it, with drum notation? here's a simplified example: [..] Thank you, the example worked quite well. One more issue: my lyrics above the second line of music have more affinity towards the bottom lyric of the first line, than the actual notes of the second line. Any pointers on how to fix it are appreciated. http://dl.dropbox.com/u/3107300/Transcriptions/abakua-layout-issue-20121205-1713UTC.png Code snippet: %% BEGIN %% \version 2.16.0 \header { title = Abakuá Solo Licks composer = tagline = } \paper { top-margin = 2\cm bottom-margin = 3\cm } % example A exAAnotes = \drummode { sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 sn sn r8 sn8 r8 r8 r4. r2. } exAAtones = \lyricmode { m m m m m m m m m m m m m m m m m m m m m m m m m m m m } exAAstick = \lyricmode { R L R R L R R L R R L R R L R R L R R L R R L R R L R R } % example B exABnotes = \drummode { sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn sn sn r8 sn8 sn r8 r8 r4. r2. } exABtones = \lyricmode { m m s s m m s s m m s s m m s s m m s s m m s s m m s s m s } exABstick = \lyricmode { R L R L R L R L R L R L R L R L R L R L R L R L R L R L L R } % layout the score \score { \new DrumStaff = exAA \repeat volta 2 { \time 6/8 \set Staff.instrumentName = #ex. A \new DrumVoice = exAA \with { fontSize = #-2 } { \exAAnotes } } \new Lyrics \with { alignAboveContext = exAA fontSize = #-2 } \lyricsto exAA \exAAtones \new Lyrics \with { fontSize = #-2 } \lyricsto exAA \exAAstick } \score { \new DrumStaff = exAB \repeat volta 2 { \time 6/8 \set Staff.instrumentName = #ex. B \new DrumVoice = exAB \with { fontSize = #-2 } { \exABnotes } } \new Lyrics \with { alignAboveContext = exAB fontSize = #-2 } \lyricsto exAB \exABtones \new Lyrics \with { fontSize = #-2 } \lyricsto exAB \exABstick } % set ts=4 %% END %% ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurs, phrasing slurs and fingering
Many thanks for the help and for the extra clarifications regarding usage of these tweaks. Best regards, Olivier ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slurs, phrasing slurs and fingering
Olivier Biot olivier.b...@gmail.com writes: Many thanks for the help and for the extra clarifications regarding usage of these tweaks. It is a nuisance if interfaces change, but sometimes it just takes some time and experience to figure out shortcomings of the initial design. Feel free to discuss anything new you find on the LilyPond issue tracker before it gets cast in (rather soft) stone. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: use of 1/2 staff divisio maior in gregorian chant.
David Kastrup wrote: Keith N. McKenna keith.mcke...@comcast.net writes: Keith N. McKenna wrote: Greetings All; In many some of the Gregorian Chant's I have access to they show the divisio Maior as starting slightly above the third line of the staff and continuing to just below the second line of the staff instead of a full bar line like the Divisio Maxima only less bold. Is it possible to get this configuration using lilypond 2.16? Regards Keith After beating my head against the walls on this for a few few days with some very helpful suggestion off list from Jeffrey Trevino, thank you very much Jeff, I stumbled on a very simple way to do it. While searching through the documentation I discovered a link to the version 2.17.1 docs that Showed the divisio maior to be the half staff mark that I prefer. Installed version 2.17.1 and ran a quick test and in works like a charm. It won't persist as it has been fixed in 2.17.7, and since the code is clever, all bets are off just what will be entailed to reliably change it to the way you prefer. Cf. URL:https://codereview.appspot.com/6778050#msg11. This is really to bad. Changing it back to the former makes it very difficult to differentiate it from the divisioMaxima. The intended audience I have is one that is unfamiliar with chant to begin with so even such an seemingly insignificant thing can make its introduction much more difficult. There is a difference between how a line is performed when it includes a divisioMaior or a divisioMaxima, The 2 signs should be clearly different to convey that to the performer. Given that the fix is in for 2.17.7 and up, is there any over rides that could be applied to make it closer to what it is in 2.17.1. Regards Keith ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Marks above and below simultaneously
Bump. Can anyone help me with this? DR -Original Message- From: Daniel Rosen Sent: Sunday, December 02, 2012 6:31 PM To: lilypond-user@gnu.org Subject: RE: Marks above and below simultaneously OK, I think I've mostly figured this out: \version 2.16.1 marks = { \tempo Tempo s1 \mark \default } \new Score \new Staff \new Voice { c''1 c'' } \new Voice { \marks } \new Dynamics \with { \consists Metronome_mark_engraver \consists Mark_engraver } { \marks } The only problem now is that metronome mark is aligned with the start of the music instead of the time signature. I'm guessing this has something to do with the fact that it's in a Dynamics context--can someone tell me how to fix it? DR -Original Message- From: Daniel Rosen [mailto:drose...@gmail.com] Sent: Saturday, December 01, 2012 10:01 PM To: Pierre Perol-Schneider Cc: lilypond-user@gnu.org Subject: RE: Marks above and below simultaneously The problem with those is that they would require me to remove the engravers from the Score context and include them in the upper- and lowermost Staff contexts, which poses an issue since I'm using \HideEmptyStaves--if I do both of those things and either of those two contexts is empty when the mark occurs, it won't show up. DR From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] Sent: Saturday, December 01, 2012 7:32 PM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Marks above and below simultaneously Maybe those snippets could help : - http://lsr.dsi.unimi.it/LSR/Item?id=735 - http://lsr.dsi.unimi.it/LSR/Item?id=736 2012/12/2 Daniel Rosen drose...@gmail.com I have my rehearsal marks and metronome marks in a separate voice in the score I'm typesetting, and I'd like to get them all to show up both above and below the score. The best thing to do that I can think of is to use Dynamics contexts above and below, but that throws off the vertical spacing between the marks and the top and bottom staves; I'd like it to look as though Score.RehearsalMark #'direction = #1 and Score.RehearsalMark #'direction = #-1 were set simultaneously; same for MetronomeMark. Anyone know how to do this? Should I be using some other context than Dynamics? DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Aligning Text Above (and Below) Notes
Eric Pancer wrote One more issue: my lyrics above the second line of music have more affinity towards the bottom lyric of the first line, than the actual notes of the second line. Any pointers on how to fix it are appreciated. hmm - that's astonishing! if I change the order of the 2 scores this happens too, with the 2nd score being misaligned again! I tried all the kind of spacing overrides: nonstaff-relatedstaff-spacing and others and finally found a working solution: \new Lyrics \with { alignAboveContext = exAA \override VerticalAxisGroup.staff-staff-spacing = #'( (basic-distance . 1) (minimum-distance . 1) (padding . .5) (stretchability . 999) ) \override VerticalAxisGroup.staff-affinity = ##f fontSize = #-2 } note that the staff-affinity has to be set to false for this to work. I wonder if there are better solutions or if this is a bug. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Aligning-Text-Above-and-Below-Notes-tp137190p137230.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
changing spacing between title and first system
Hi there, Could someone please show me a short, working example of an .ly that sets the spacing between the title and the first system? I was about to give it a shot myself, until I saw, under known issues and warnings for version 2.16, The titles (from the \header block) are treated as a system, so ragged-bottom and ragged-last-bottom will add space between the titles and the first system of the score. If this is the case, then how can I change the spacing between the title -- to Lilypond, the first system, I guess -- and the first system of music, without disturbing the spacing between the systems of actual music? Looking at past versions' documentation, it seems like this used to be easier to do. thank you, Jeff -- 《〠》】〶【〖〠〗〶〛〷〚 Jeff Treviño PhD Candidate in Music Composition @ the University of California, San Diego 〖〠〗〶〛〷〚《〠》】〶 Skype: jeffreytrevino E-mail: jeffrey.trev...@gmail.com 〚《〠》】〶【〖〠〗〶〛〷 9310H Redwood Dr. La Jolla, CA 92037 USA 〖〠〗〶〛〷〚《〠》】〶【 http://www.jeffreytrevino.com/ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changing spacing between title and first system
... curious -- there's also this, in section 4.1 (spacing issues), which seems to contradict the statement in the known issues and warnings section; Note that the \paper variables discussed in this section do not control the spacing of staves within individual systems. Within-system spacing is controlled by grob properties, with settings typically entered inside a \score or \layout block, and not inside a \paper block. See Flexible vertical spacing within systemshttp://www.lilypond.org/doc/v2.16/Documentation/notation/flexible-vertical-spacing-within-systems . Well, which is it? Is the title treated as a system, or not? J On Wed, Dec 5, 2012 at 1:39 PM, Jeffrey Trevino jeffrey.trevi...@gmail.comwrote: Hi there, Could someone please show me a short, working example of an .ly that sets the spacing between the title and the first system? I was about to give it a shot myself, until I saw, under known issues and warnings for version 2.16, The titles (from the \header block) are treated as a system, so ragged-bottom and ragged-last-bottom will add space between the titles and the first system of the score. If this is the case, then how can I change the spacing between the title -- to Lilypond, the first system, I guess -- and the first system of music, without disturbing the spacing between the systems of actual music? Looking at past versions' documentation, it seems like this used to be easier to do. thank you, Jeff -- 《〠》】〶【〖〠〗〶〛〷〚 Jeff Treviño PhD Candidate in Music Composition @ the University of California, San Diego 〖〠〗〶〛〷〚《〠》】〶 Skype: jeffreytrevino E-mail: jeffrey.trev...@gmail.com 〚《〠》】〶【〖〠〗〶〛〷 9310H Redwood Dr. La Jolla, CA 92037 USA 〖〠〗〶〛〷〚《〠》】〶【 http://www.jeffreytrevino.com/ -- 《〠》】〶【〖〠〗〶〛〷〚 Jeff Treviño PhD Candidate in Music Composition @ the University of California, San Diego 〖〠〗〶〛〷〚《〠》】〶 Skype: jeffreytrevino E-mail: jeffrey.trev...@gmail.com 〚《〠》】〶【〖〠〗〶〛〷 9310H Redwood Dr. La Jolla, CA 92037 USA 〖〠〗〶〛〷〚《〠》】〶【 http://www.jeffreytrevino.com/ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Aligning Text Above (and Below) Notes
2012/12/5 Eluze elu...@gmail.com: Eric Pancer wrote One more issue: my lyrics above the second line of music have more affinity towards the bottom lyric of the first line, than the actual notes of the second line. Any pointers on how to fix it are appreciated. hmm - that's astonishing! if I change the order of the 2 scores this happens too, with the 2nd score being misaligned again! I tried all the kind of spacing overrides: nonstaff-relatedstaff-spacing and others and finally found a working solution: \new Lyrics \with { alignAboveContext = exAA \override VerticalAxisGroup.staff-staff-spacing = #'( (basic-distance . 1) (minimum-distance . 1) (padding . .5) (stretchability . 999) ) \override VerticalAxisGroup.staff-affinity = ##f fontSize = #-2 } note that the staff-affinity has to be set to false for this to work. I wonder if there are better solutions or if this is a bug. Eluze I've got quite convincing results with: \layout { \context { \Lyrics \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing #'basic-distance = #5 } } \paper { score-system-spacing #'basic-distance = #15 markup-system-spacing #'basic-distance = #15 } (setting them on toplevel) But if one of the paper variables offers not enough space, one (or both) of the Lyric-contexts are not moved. HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changing spacing between title and first system
PPS -- alright, I've found how to manipulate the spacing as I wanted; however, it would be nice to hear a resolution to the above contradiction, if one exists. J On Wed, Dec 5, 2012 at 1:44 PM, Jeffrey Trevino jeffrey.trevi...@gmail.comwrote: ... curious -- there's also this, in section 4.1 (spacing issues), which seems to contradict the statement in the known issues and warnings section; Note that the \paper variables discussed in this section do not control the spacing of staves within individual systems. Within-system spacing is controlled by grob properties, with settings typically entered inside a \score or \layout block, and not inside a \paper block. See Flexible vertical spacing within systemshttp://www.lilypond.org/doc/v2.16/Documentation/notation/flexible-vertical-spacing-within-systems . Well, which is it? Is the title treated as a system, or not? J On Wed, Dec 5, 2012 at 1:39 PM, Jeffrey Trevino jeffrey.trevi...@gmail.com wrote: Hi there, Could someone please show me a short, working example of an .ly that sets the spacing between the title and the first system? I was about to give it a shot myself, until I saw, under known issues and warnings for version 2.16, The titles (from the \header block) are treated as a system, so ragged-bottom and ragged-last-bottom will add space between the titles and the first system of the score. If this is the case, then how can I change the spacing between the title -- to Lilypond, the first system, I guess -- and the first system of music, without disturbing the spacing between the systems of actual music? Looking at past versions' documentation, it seems like this used to be easier to do. thank you, Jeff -- 《〠》】〶【〖〠〗〶〛〷〚 Jeff Treviño PhD Candidate in Music Composition @ the University of California, San Diego 〖〠〗〶〛〷〚《〠》】〶 Skype: jeffreytrevino E-mail: jeffrey.trev...@gmail.com 〚《〠》】〶【〖〠〗〶〛〷 9310H Redwood Dr. La Jolla, CA 92037 USA 〖〠〗〶〛〷〚《〠》】〶【 http://www.jeffreytrevino.com/ -- 《〠》】〶【〖〠〗〶〛〷〚 Jeff Treviño PhD Candidate in Music Composition @ the University of California, San Diego 〖〠〗〶〛〷〚《〠》】〶 Skype: jeffreytrevino E-mail: jeffrey.trev...@gmail.com 〚《〠》】〶【〖〠〗〶〛〷 9310H Redwood Dr. La Jolla, CA 92037 USA 〖〠〗〶〛〷〚《〠》】〶【 http://www.jeffreytrevino.com/ -- 《〠》】〶【〖〠〗〶〛〷〚 Jeff Treviño PhD Candidate in Music Composition @ the University of California, San Diego 〖〠〗〶〛〷〚《〠》】〶 Skype: jeffreytrevino E-mail: jeffrey.trev...@gmail.com 〚《〠》】〶【〖〠〗〶〛〷 9310H Redwood Dr. La Jolla, CA 92037 USA 〖〠〗〶〛〷〚《〠》】〶【 http://www.jeffreytrevino.com/ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changing spacing between title and first system
On Dec 5, 2012, at 15:54, Jeffrey Trevino jeffrey.trevi...@gmail.com wrote: PPS -- alright, I've found how to manipulate the spacing as I wanted; however, it would be nice to hear a resolution to the above Maybe post your solution? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changing spacing between title and first system
2012/12/5 Jeffrey Trevino jeffrey.trevi...@gmail.com: ... curious -- there's also this, in section 4.1 (spacing issues), which seems to contradict the statement in the known issues and warnings section; Note that the \paper variables discussed in this section do not control the spacing of staves within individual systems. Within-system spacing is controlled by grob properties, with settings typically entered inside a \score or \layout block, and not inside a \paper block. See Flexible vertical spacing within systems. Well, which is it? Is the title treated as a system, or not? J On Wed, Dec 5, 2012 at 1:39 PM, Jeffrey Trevino jeffrey.trevi...@gmail.com wrote: Hi there, Could someone please show me a short, working example of an .ly that sets the spacing between the title and the first system? I was about to give it a shot myself, until I saw, under known issues and warnings for version 2.16, The titles (from the \header block) are treated as a system, so ragged-bottom and ragged-last-bottom will add space between the titles and the first system of the score. If this is the case, then how can I change the spacing between the title -- to Lilypond, the first system, I guess -- and the first system of music, without disturbing the spacing between the systems of actual music? Looking at past versions' documentation, it seems like this used to be easier to do. thank you, Jeff -- 《〠》】〶【〖〠〗〶〛〷〚 Jeff Treviño PhD Candidate in Music Composition @ the University of California, San Diego 〖〠〗〶〛〷〚《〠》】〶 Skype: jeffreytrevino E-mail: jeffrey.trev...@gmail.com 〚《〠》】〶【〖〠〗〶〛〷 9310H Redwood Dr. La Jolla, CA 92037 USA 〖〠〗〶〛〷〚《〠》】〶【 -- 《〠》】〶【〖〠〗〶〛〷〚 Jeff Treviño PhD Candidate in Music Composition @ the University of California, San Diego 〖〠〗〶〛〷〚《〠》】〶 Skype: jeffreytrevino E-mail: jeffrey.trev...@gmail.com 〚《〠》】〶【〖〠〗〶〛〷 9310H Redwood Dr. La Jolla, CA 92037 USA 〖〠〗〶〛〷〚《〠》】〶【 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user Hi Jeff, perhaps someone else should explain it. The vertical spacing is very powerful since 2.14.2. But like every very powerful system, it is complicated and sometimes puzzling. But your basic-problem might be solved with: \version 2.16.1 \header { title = TITLE } \paper { markup-system-spacing #'basic-distance = #50 } \relative c' { \repeat unfold 20 { c1 \break } } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changing spacing between title and first system
On 06/12/12 08:39, Jeffrey Trevino wrote: Hi there, Could someone please show me a short, working example of an .ly that sets the spacing between the title and the first system? \version 2.16.1 \header { title = Title composer = Composer } \paper { markup-system-spacing #'padding = #12 ragged-bottom = ##f ragged-last-bottom = ##f ragged-last = ##f } \relative c'' { \repeat unfold 1000 { c4 } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Aligning Text Above (and Below) Notes
Thomas Morley wrote 2012/12/5 Eluze lt; eluzew@ gt;: Eric Pancer wrote One more issue: my lyrics above the second line of music have more affinity towards the bottom lyric of the first line, than the actual notes of the second line. Any pointers on how to fix it are appreciated. hmm - that's astonishing! if I change the order of the 2 scores this happens too, with the 2nd score being misaligned again! I tried all the kind of spacing overrides: nonstaff-relatedstaff-spacing and others and finally found a working solution: \new Lyrics \with { alignAboveContext = exAA \override VerticalAxisGroup.staff-staff-spacing = #'( (basic-distance . 1) (minimum-distance . 1) (padding . .5) (stretchability . 999) ) \override VerticalAxisGroup.staff-affinity = ##f fontSize = #-2 } note that the staff-affinity has to be set to false for this to work. I wonder if there are better solutions or if this is a bug. Eluze I've got quite convincing results with: \layout { \context { \Lyrics \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing #'basic-distance = #5 } } \paper { score-system-spacing #'basic-distance = #15 markup-system-spacing #'basic-distance = #15 } (setting them on toplevel) ok - I must have forgotten some stupid spacing variable somewhere! but I think the toplevel settings don't need to be changed! thanks anyway Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Aligning-Text-Above-and-Below-Notes-tp137190p137238.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Aligning Text Above (and Below) Notes
2012/12/5 Eluze elu...@gmail.com: Thomas Morley wrote 2012/12/5 Eluze lt; eluzew@ gt;: Eric Pancer wrote One more issue: my lyrics above the second line of music have more affinity towards the bottom lyric of the first line, than the actual notes of the second line. Any pointers on how to fix it are appreciated. hmm - that's astonishing! if I change the order of the 2 scores this happens too, with the 2nd score being misaligned again! I tried all the kind of spacing overrides: nonstaff-relatedstaff-spacing and others and finally found a working solution: \new Lyrics \with { alignAboveContext = exAA \override VerticalAxisGroup.staff-staff-spacing = #'( (basic-distance . 1) (minimum-distance . 1) (padding . .5) (stretchability . 999) ) \override VerticalAxisGroup.staff-affinity = ##f fontSize = #-2 } note that the staff-affinity has to be set to false for this to work. I wonder if there are better solutions or if this is a bug. Eluze I've got quite convincing results with: \layout { \context { \Lyrics \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing #'basic-distance = #5 } } \paper { score-system-spacing #'basic-distance = #15 markup-system-spacing #'basic-distance = #15 } (setting them on toplevel) ok - I must have forgotten some stupid spacing variable somewhere! but I think the toplevel settings don't need to be changed! +1 thanks anyway Eluze ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Custom key signature stencils, differentiating major and minor keys
Sorry to send this again, forgot to cc the list. 2012/12/5 Thomas Morley thomasmorle...@googlemail.com: 2012/12/5 Paul Morris p...@paulwmorris.com: On Dec 4, 2012, at 7:27 PM, Thomas Morley thomasmorle...@googlemail.com wrote: [...] May I ask, if you could add a commented 2.16-version of it? Although your code will work for 2.16.1 up to 2.17.6 (so far I tested), it would be nice to show the new make-engraver-macro and the possibility of #{ #} in scheme-code, once the LSR is updated. Ok, I just uploaded a new version with the 2.16 code commented out. The make-engraver-macro is quite nice. Thanks for doing this! It was a little tricky figuring out the #{ \markup ... #} syntax after getting used to the scheme version. If it were not for the need to demonstrate the new syntax (which I'm happy to help with) I'd probably just stick with the scheme version at this point. I know what you mean. :) I tend to use only scheme-syntax in longer scheme-expressions. It's nice to show #{ #}, though. I eventually got it working in all cases, but had to move the accidental markups into variables Well, I do like variables. :) to avoid too much nesting, which wasn't working. Namely this part: (if (pair? tonic-acc) (set! key-name (markup key-name (if (= acc-type 0.5 ) (markup #:translate (cons (* mult -0.3) (* mult 0.8)) #:magnify (* mult 0.9) #:sharp) (markup #:translate (cons (* mult -0.2) (* mult 0.4)) #:magnify (* mult 0.9) #:flat) % the following doesn't work: (if (pair? tonic-acc) (set! key-name #{ \markup #key-name #(if (= acc-type 0.5 ) #{ \markup { \translate #(cons (* mult -0.3) (* mult 0.8)) \magnify #(* mult 0.9) \sharp } #} #{ \markup { \translate #(cons (* mult -0.2) (* mult 0.4)) \magnify #(* mult 0.9) \flat } #} ) #} )) It will work, while adding two braces: (if (pair? tonic-acc) (set! key-name #{ \markup { % == #key-name #(if (= acc-type 0.5 ) #{ \markup { \translate #(cons (* mult -0.3) (* mult 0.8)) \magnify #(* mult 0.9) \sharp } #} #{ \markup { \translate #(cons (* mult -0.2) (* mult 0.4)) \magnify #(* mult 0.9) \flat } #}) } % = #})) % but this does: (if (pair? tonic-acc) (set! key-name #{ \markup { #key-name #(if (= acc-type 0.5 ) txt-sharp txt-flat ) } #} )) Regards, -Paul Now approved: http://lsr.dsi.unimi.it/LSR/Item?id=856 Regards, Harm P.S. I cc-ed the list, because I think it might be of interest for all. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
chord length in beats
Hi all, many thanks to Glen for his reply to my previous post(simple chords only template). Im working my way thru that at the moment. I have a question tho how do I tell it the number of bars to hold the chord for? progChords = \relative c { \hideNotes f1 bes f c bes f' bes f c f bes f g c bes c f c } if I make it f1 f f f bes and use the \set chordChanges = ##t I get the desired output. that is four bars of F followed by Bb. The F text has been removed from the 2,3,4 bar. Perfect My question is tho, is there a better way to script this? that is having to write four f s. Writing it out the long way my song would be written as f1 f f f bes2 f f1 c bes f f bes f c f bes f g c bes c c f c I can use the bes2 to get Bb for 2 beats then F for 2 more (completes the bar) then f1 puts it back 1 chord per bar.. I just cant see anywhere how to tell it I want F for four bars or even 16 beats. thanks ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: chord length in beats
vector wrote Hi all, many thanks to Glen for his reply to my previous post(simple chords only template). Im working my way thru that at the moment. I have a question tho how do I tell it the number of bars to hold the chord for? progChords = \relative c { \hideNotes f1 bes f c bes f' bes f c f bes f g c bes c f c } if I make it f1 f f f bes and use the \set chordChanges = ##t I get the desired output. that is four bars of F followed by Bb. The F text has been removed from the 2,3,4 bar. Perfect My question is tho, is there a better way to script this? that is having to write four f s. Writing it out the long way my song would be written as f1 f f f bes2 f f1 c bes f f bes f c f bes f g c bes c c f c I can use the bes2 to get Bb for 2 beats then F for 2 more (completes the bar) then f1 puts it back 1 chord per bar.. I just cant see anywhere how to tell it I want F for four bars or even 16 beats. it's a pity you don't show the whole code you're using - we might directly point to where it could be improved or simplified. just an idea: could you use /\repeat unfold 4 f1/ ? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/chord-length-in-beats-tp137241p137242.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Marks above and below simultaneously
2012/12/5 Daniel Rosen drose...@gmail.com: Bump. Can anyone help me with this? [...] OK, I think I've mostly figured this out: \version 2.16.1 marks = { \tempo Tempo s1 \mark \default } \new Score \new Staff \new Voice { c''1 c'' } \new Voice { \marks } \new Dynamics \with { \consists Metronome_mark_engraver \consists Mark_engraver } { \marks } The only problem now is that metronome mark is aligned with the start of the music instead of the time signature. I'm guessing this has something to do with the fact that it's in a Dynamics context--can someone tell me how to fix it? [...] Hi Daniel, It has nothing to do with the Dynamicscontext. Have a look at IR 3.1.70 MetronomeMark http://lilypond.org/doc/v2.17/Documentation/internals-big-page#metronomemark There you can find the property called 'break-align-symbols with the vaalue '(time-signature) The description says: A list of symbols that determine which break-aligned grobs to align this to. If the grob selected by the first symbol in the list is invisible due to break-visibility, we will align to the next grob (and so on). Should be clear now, why the MetronomeMark of the Dynamics isn't aligned to the TimeSignature: Because there is none. Hackish workaround: insert the Time_signature_engraver into Dynamics and set the TimeSignature-stencil to point-stencil. \version 2.16.1 marks = { \tempo Tempo s1 \mark \default } \new Score \new Staff \new Voice { c''1 c'' } \new Voice { \marks } \new Dynamics \with { \consists Metronome_mark_engraver \consists Mark_engraver \consists Time_signature_engraver \override TimeSignature #'stencil = #point-stencil } { \marks } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
minor chord produces syntax error
Hi, script shown below the log file is indicating a syntax error, unexpected STRING at the g:m I thought that was ok to indicate a gminor? In fact i cant get any chord modifiers to work at all. \version 2.16.1 \header { title = BluesJam Trk4 composer = me } progChords = \relative c { \hideNotes bes1 es es bes g:m } \score { \new ChordNames { \set chordChanges = ##t \chordmode { \progChords } } \new Staff = guitar \clef G \key f \major \numericTimeSignature \time 4/4 \new Voice = prog \progChords \header { piece = BluesJaminF pg1 tk4 } \layout { \context { \Score \remove Bar_number_engraver } } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Marks above and below simultaneously
Thanks a lot! DR -Original Message- From: Thomas Morley [mailto:thomasmorle...@googlemail.com] Sent: Wednesday, December 05, 2012 7:05 PM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Marks above and below simultaneously 2012/12/5 Daniel Rosen drose...@gmail.com: Bump. Can anyone help me with this? [...] OK, I think I've mostly figured this out: \version 2.16.1 marks = { \tempo Tempo s1 \mark \default } \new Score \new Staff \new Voice { c''1 c'' } \new Voice { \marks } \new Dynamics \with { \consists Metronome_mark_engraver \consists Mark_engraver } { \marks } The only problem now is that metronome mark is aligned with the start of the music instead of the time signature. I'm guessing this has something to do with the fact that it's in a Dynamics context--can someone tell me how to fix it? [...] Hi Daniel, It has nothing to do with the Dynamicscontext. Have a look at IR 3.1.70 MetronomeMark http://lilypond.org/doc/v2.17/Documentation/internals-big-page#metronomemark There you can find the property called 'break-align-symbols with the vaalue '(time-signature) The description says: A list of symbols that determine which break-aligned grobs to align this to. If the grob selected by the first symbol in the list is invisible due to break-visibility, we will align to the next grob (and so on). Should be clear now, why the MetronomeMark of the Dynamics isn't aligned to the TimeSignature: Because there is none. Hackish workaround: insert the Time_signature_engraver into Dynamics and set the TimeSignature-stencil to point-stencil. \version 2.16.1 marks = { \tempo Tempo s1 \mark \default } \new Score \new Staff \new Voice { c''1 c'' } \new Voice { \marks } \new Dynamics \with { \consists Metronome_mark_engraver \consists Mark_engraver \consists Time_signature_engraver \override TimeSignature #'stencil = #point-stencil } { \marks } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: minor chord produces syntax error
2012/12/6 vector vector...@gmail.com: Hi, script shown below the log file is indicating a syntax error, unexpected STRING at the g:m I thought that was ok to indicate a gminor? In fact i cant get any chord modifiers to work at all. \version 2.16.1 \header { title = BluesJam Trk4 composer = me } progChords = \relative c { \hideNotes bes1 es es bes g:m } With \relative you've activated \notemode. I.e. you now could write notes, rests and all the other stuff one can usually find in a Staff. But there is no note called g:m This is a chord. So you need \chordmode _here_ and not later at the time you call progChords. HTH, Harm P.S. Please write tiny examples as described here: http://lilypond.org/website/tiny-examples.html No need for all the header, layout, TimeSignature-stuff. A tiny example for showing your problem would have been: What' wrong with: \version 2.16.1 { g:m } But perhaps you would have seen yourself, why it doesn't work, while creating such tiny code. ;) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: chord length in beats
2012/12/6 Eluze elu...@gmail.com: vector wrote Hi all, many thanks to Glen for his reply to my previous post(simple chords only template). Im working my way thru that at the moment. I have a question tho how do I tell it the number of bars to hold the chord for? progChords = \relative c { \hideNotes f1 bes f c bes f' bes f c f bes f g c bes c f c } if I make it f1 f f f bes and use the \set chordChanges = ##t I get the desired output. that is four bars of F followed by Bb. The F text has been removed from the 2,3,4 bar. Perfect My question is tho, is there a better way to script this? that is having to write four f s. Writing it out the long way my song would be written as f1 f f f bes2 f f1 c bes f f bes f c f bes f g c bes c c f c I can use the bes2 to get Bb for 2 beats then F for 2 more (completes the bar) then f1 puts it back 1 chord per bar.. I just cant see anywhere how to tell it I want F for four bars or even 16 beats. it's a pity you don't show the whole code you're using - we might directly point to where it could be improved or simplified. just an idea: could you use /\repeat unfold 4 f1/ ? Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/chord-length-in-beats-tp137241p137242.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user Try one of the following possibilities: \version 2.16.1 progChordsI = \chordmode { f1*7 c1 } progChordsII = \chordmode { \set chordChanges = ##t \repeat unfold 7 { f1 } c1 } \new ChordNames \progChordsI \new Staff { \repeat unfold 7 { f'1 } c'' } \new ChordNames \progChordsII \new Staff { \repeat unfold 7 { f'1 } c'' } -Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changing spacing between title and first system
Thanks, everyone. That's exactly the solution I found, yes. J On Wed, Dec 5, 2012 at 2:00 PM, Nick Payne nick.pa...@internode.on.netwrote: On 06/12/12 08:39, Jeffrey Trevino wrote: Hi there, Could someone please show me a short, working example of an .ly that sets the spacing between the title and the first system? \version 2.16.1 \header { title = Title composer = Composer } \paper { markup-system-spacing #'padding = #12 ragged-bottom = ##f ragged-last-bottom = ##f ragged-last = ##f } \relative c'' { \repeat unfold 1000 { c4 } } __**_ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/**listinfo/lilypond-userhttps://lists.gnu.org/mailman/listinfo/lilypond-user -- 《〠》】〶【〖〠〗〶〛〷〚 Jeff Treviño PhD Candidate in Music Composition @ the University of California, San Diego 〖〠〗〶〛〷〚《〠》】〶 Skype: jeffreytrevino E-mail: jeffrey.trev...@gmail.com 〚《〠》】〶【〖〠〗〶〛〷 9310H Redwood Dr. La Jolla, CA 92037 USA 〖〠〗〶〛〷〚《〠》】〶【 http://www.jeffreytrevino.com/ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changing spacing between title and first system
On 06/12/12 09:00, Nick Payne wrote: On 06/12/12 08:39, Jeffrey Trevino wrote: Hi there, Could someone please show me a short, working example of an .ly that sets the spacing between the title and the first system? \version 2.16.1 \header { title = Title composer = Composer } \paper { markup-system-spacing #'padding = #12 ragged-bottom = ##f ragged-last-bottom = ##f ragged-last = ##f } \relative c'' { \repeat unfold 1000 { c4 } } BTW, something that I thought was a bit strange with this example. On my machine, when built with 2.17.8 it fits on two pages. But if I comment out ragged-bottom = ##f ragged-last-bottom = ##f ragged-last = ##f then it needs three pages, with slightly less than half of the third page being filled. I would have thought that adding these settings would result in slightly more space being used, rather than less... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
produce midi drums but hide staff
Hi there, Im getting the hang of this even tho it might not look it ;) thanks for all your inputs. I wanted to add a simple drumbeat to the previous script and produce a basic chord and drums midi. so far I have this working. But I want to remove the drums completely from the pdf output. ie just show chord progression only. but \new DrumStaff \stopStaff \hideNotes \new DrumVoice {\voiceOne \up} \new DrumVoice { \voiceTwo \down } did just that, it hid the staff but the notes are left floating. hideNotes had no effect :( maybe its in the wrong place? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: produce midi drums but hide staff
On Wed, Dec 5, 2012 at 8:07 PM, vector vector...@gmail.com wrote: Hi there, Im getting the hang of this even tho it might not look it ;) thanks for all your inputs. I wanted to add a simple drumbeat to the previous script and produce a basic chord and drums midi. so far I have this working. But I want to remove the drums completely from the pdf output. ie just show chord progression only. Do you want to do this temporarily for debugging purposes? If so, you can use block comments. %{ \new DrumStaff \stopStaff \hideNotes \new DrumVoice {\voiceOne \up} \new DrumVoice { \voiceTwo \down } %} but \new DrumStaff \stopStaff \hideNotes \new DrumVoice {\voiceOne \up} \new DrumVoice { \voiceTwo \down } did just that, it hid the staff but the notes are left floating. hideNotes had no effect :( maybe its in the wrong place? Angle brackets indicate simultaneous music, while curly brackets { } indicate sequential music. To make the DrumVoices come after the \stopStaff and \hideNotes, use curly brackets: \new DrumStaff { \stopStaff \hideNotes \new DrumVoice {\voiceOne \up} \new DrumVoice { \voiceTwo \down } } Regards, Nathan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: produce midi drums but hide staff
On Wed, Dec 5, 2012 at 8:07 PM, vector vector...@gmail.com wrote: Hi there, Im getting the hang of this even tho it might not look it ;) thanks for all your inputs. I wanted to add a simple drumbeat to the previous script and produce a basic chord and drums midi. D'oh! My bad. I missed the midi bit. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: minor chord produces syntax error
Thomas Morley thomasmorle...@googlemail.com writes: 2012/12/6 vector vector...@gmail.com: Hi, script shown below the log file is indicating a syntax error, unexpected STRING at the g:m I thought that was ok to indicate a gminor? In fact i cant get any chord modifiers to work at all. \version 2.16.1 \header { title = BluesJam Trk4 composer = me } progChords = \relative c { \hideNotes bes1 es es bes g:m } With \relative you've activated \notemode. Or rather, not changed away from \notemode, the default. \notemode/\chordmode are pure input modes. They don't affect how the stuff is used afterwards, just what kind of input is accepted. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user