Re: How to write Non sequential repeat alternatives
MarcM mouries.net> writes: > When i run your code i get this message: "warning: already have a volta > spanner, ending that one prematurely" Oh, so that's why you had the explicit (volta #f) in your version. If I see a warning, but the output is good, I consider myself warned and happy, but I should have kept your good idea to avoid the warning \score { \relative c'' { \time 6/8 \partial 8 a16 b \repeat volta 5 { c 4 c8 c d e d 8 b g g a b } \alternative { { \set Score.repeatCommands = #'((volta "1,3") ) c 8 a a a b c b 8 e, e e4 a16 b } { \set Score.repeatCommands = #'((volta #f)(volta "2") end-repeat) c 8 b a b4 g8 a4 a8a4 a16 b } { c8b a b4 g8 a4 a8a8 e' f } { a,4 a8 }} a4.\fermata \bar "|." } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to write Non sequential repeat alternatives
thanks much Keith. When i run your code i get this message: "warning: already have a volta spanner, ending that one prematurely" I had that warning as well and thought i was doing something wrong. -- View this message in context: http://lilypond.1069038.n5.nabble.com/How-to-write-Non-sequential-repeat-alternatives-tp167294p167327.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: Contemporary Music Notation
Am 08.10.2014 22:11, schrieb Marco Bagolin: Hello all, I'm new Lilypond user and I am interested in Contemporary Music Notation. I read all 2.8 Contemporary music manual section: http://www.lilypond.org/doc/v2.18/Documentation/notation/contemporary-music but lot of the chapters are empty and most of links are inactive. Yes, this is a pity. Please how can I learn to use Lilypond for write music using Contemporary Music Notation? I think the best way would be to come up with examples (how should we know what you are interested in specifically?) and ask on this list. If you're not overdoing it (i.e. asking too many questions at a time) you will probably get solutions, advice, but also an impression about the (current) limitations. Please don't be disappointed if it seems daunting at first. Even if it is not always straightforward to get it right LilyPond definitely is a good tool for doing non-standard notation too. If you are seriously interested in the topic and stick to it for a while we could also try to use your learning experience to provide more documentation (be it in the manual or in other places). The issue with these empty chapters seems to be that there is no clear concept about what "contemporary notation" actually is. If I have a topic such as time administration it is quite clear what has to be covered ... Best wishes Urs Thank you in advance for all your answer and help. Regards Marco Bagolin ___ 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
Contemporary Music Notation
Hello all, I'm new Lilypond user and I am interested in Contemporary Music Notation. I read all 2.8 Contemporary music manual section: http://www.lilypond.org/doc/v2.18/Documentation/notation/contemporary-music but lot of the chapters are empty and most of links are inactive. Please how can I learn to use Lilypond for write music using Contemporary Music Notation? Thank you in advance for all your answer and help. Regards Marco Bagolin ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How does map-some-music work?
Paul > > Hi Jay, Did you see my reply here: > http://lilypond.1069038.n5.nabble.com/map-some-music-question- tp167241p167250.html Thanks. I will try your suggestions. I was watching this site. http://news.gmane.org/gmane.comp.gnu.lilypond.general For some reason, there were no updates on the sites on the 6th and 7th of Oct. So I missed your reply. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How does map-some-music work?
Jay Vara wrote > I am trying to display all the names that appear in a piece of music > (NoteEvent etc.) using map-some-music. It the function musShow is only > printing the top level name. What am I missing here? Hi Jay, Did you see my reply here: http://lilypond.1069038.n5.nabble.com/map-some-music-question-tp167241p167250.html Hopefully it helps, I don't know more about it than that. Cheers -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/How-does-map-some-music-work-tp167311p167321.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: Still confused about horizontal shifts in NoteColumns
Hi Fred I think your basic problem is not appreciating how notes should be assigned to voices. When you place the notes in the correct voices LilyPond gives you the alignment you seek with no overrides and no errors, like this: \version "2.18.0" \new Staff = "treble" \with { \consists "Span_arpeggio_engraver" } << \relative c'' { \set Staff.connectArpeggios = ##t \key a\major << { e2 \arpeggio a, } \\ { cis,1 \arpeggio } \\ { e4 \arpeggio e e fis8 g } >> } >> Voices 1 and 2 are not shifted by default, other voices are, but only if there would otherwise be a collision. The section in the manuals which might help you with this are: http://www.lilypond.org/doc/v2.18/Documentation/learning/real-music-example and http://www.lilypond.org/doc/v2.18/Documentation/notation/multiple-voices#single_002dstaff-polyphony in particular the section on Voice order. Trevor - Original Message - From: Frederick Bartlett To: LilyPond Users Sent: Wednesday, October 08, 2014 5:05 PM Subject: Still confused about horizontal shifts in NoteColumns Running 2.18.2 under Linux, I'm looking to duplicate this: I currently have this: I would like to shift the first quarter note a bit to the right, about half as much as the third, but force-hshift and the various \shiftOxxx commands have no effect. (The stems of the quarter and half notes should be noticeably separate.) Snippet: \new Staff = "treble" \with { \consists "Span_arpeggio_engraver" } << \relative c'' { \set Staff.connectArpeggios = ##t \key a\major << { e2 \arpeggio a, } \\ { \voiceOne e4 \arpeggio e \shiftOn e fis8 g } \\ { cis,1 \arpeggio } >> } >> I get the usual warning -- "ignoring too many clashing note columns". The LM says, at 4.6.1, "If and only if two or more note columns within a single Staff context, both with stems in the same direction, occur at the same musical moment, the values of their horizontal-shift properties are used to rank them and the columns in the higher ranks are progessively offset to avoid collisions of the noteheads." So -- shouldn't the alignment I want occur automagically? Or should "both with stems in the same direction" be "all with stems ..."? But whole notes have no stems ... is that the problem? Thanks! Fred -- ___ 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: Bounty for Fixing Ligature Bug?
To reiterate, most of what is said is over my head. I'll continue to follow and help as I can. IC, Josh On Tue, Oct 7, 2014 at 3:41 AM, Werner LEMBERG wrote: > > Sorry for the late reply. > > >> This is not correct. The most important part, namely to write a > >> small test program for Pango that should be run on Windows and/or > >> 64bit GNU/Linux platforms, is *not* done. > > > > I have a couple of development environments for Windows: a gcc-based > > one, which I've used for LilyPad development and a M$ C# one which I > > use more extensively. If you could point to what the test program > > would need to do, I could write, compile and test it. > > See https://code.google.com/p/lilypond/issues/detail?id=2656#c25. > > The smaller the test code, the better. The basic idea is to isolate > the problem so that we can ask Pango developers (and/or Behdad, see > comment #26) to look at, if necessary. > > > Werner > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Still confused about horizontal shifts in NoteColumns
Frederick, Does this work? \version "2.18.0" \new Staff = "treble" \with { \consists "Span_arpeggio_engraver" } << \relative c'' { \set Staff.connectArpeggios = ##t \key a\major << { \voiceOne e2 \arpeggio a, } \\ { \voiceThree e4 \arpeggio e e fis8 g } \\ { \voiceTwo cis,1 \arpeggio } >> } >> Mark From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Frederick Bartlett Sent: Wednesday, October 08, 2014 9:06 AM To: LilyPond Users Subject: Still confused about horizontal shifts in NoteColumns Running 2.18.2 under Linux, I'm looking to duplicate this: Inline images 2 I currently have this: Inline images 2 I would like to shift the first quarter note a bit to the right, about half as much as the third, but force-hshift and the various \shiftOxxx commands have no effect. (The stems of the quarter and half notes should be noticeably separate.) Snippet: \new Staff = "treble" \with { \consists "Span_arpeggio_engraver" } << \relative c'' { \set Staff.connectArpeggios = ##t \key a\major << { e2 \arpeggio a, } \\ { \voiceOne e4 \arpeggio e \shiftOn e fis8 g } \\ { cis,1 \arpeggio } >> } >> I get the usual warning -- "ignoring too many clashing note columns". The LM says, at 4.6.1, "If and only if two or more note columns within a single Staff context, both with stems in the same direction, occur at the same musical moment, the values of their horizontal-shift properties are used to rank them and the columns in the higher ranks are progessively offset to avoid collisions of the noteheads." So -- shouldn't the alignment I want occur automagically? Or should "both with stems in the same direction" be "all with stems ..."? But whole notes have no stems ... is that the problem? Thanks! Fred ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Still confused about horizontal shifts in NoteColumns
Am 08.10.2014 18:05, schrieb Frederick Bartlett: Running 2.18.2 under Linux, I'm looking to duplicate this: Inline images 2 I currently have this: Inline images 2 I would like to shift the first quarter note a bit to the right, about half as much as the third, but force-hshift and the various \shiftOxxx commands have no effect. (The stems of the quarter and half notes should be noticeably separate.) Snippet: \new Staff = "treble" \with { \consists "Span_arpeggio_engraver" } << \relative c'' { \set Staff.connectArpeggios = ##t \key a\major << { e2 \arpeggio a, } \\ { \voiceOne e4 \arpeggio e \shiftOn e fis8 g } \\ { cis,1 \arpeggio } >> } >> I get the usual warning -- "ignoring too many clashing note columns". The LM says, at 4.6.1, "If /and only if/ two or more note columns within a single Staff context, both with stems in the same direction, occur at the same musical moment, the values of their |horizontal-shift| properties are used to rank them and the columns in the higher ranks are progessively offset to avoid collisions of the noteheads." So -- shouldn't the alignment I want occur automagically? Or should "both with stems in the same direction" be "all with stems ..."? But whole notes have no stems ... is that the problem? The e'4 should be \voiceThree, then it is on its own noteColumn. If you don't like the automatic spacing you can *then* manually override the shift. HTH Urs Thanks! Fred ___ 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
Still confused about horizontal shifts in NoteColumns
Running 2.18.2 under Linux, I'm looking to duplicate this: [image: Inline images 2] I currently have this: [image: Inline images 2] I would like to shift the first quarter note a bit to the right, about half as much as the third, but force-hshift and the various \shiftOxxx commands have no effect. (The stems of the quarter and half notes should be noticeably separate.) Snippet: \new Staff = "treble" \with { \consists "Span_arpeggio_engraver" } << \relative c'' { \set Staff.connectArpeggios = ##t \key a\major << { e2 \arpeggio a, } \\ { \voiceOne e4 \arpeggio e \shiftOn e fis8 g } \\ { cis,1 \arpeggio } >> } >> I get the usual warning -- "ignoring too many clashing note columns". The LM says, at 4.6.1, "If *and only if* two or more note columns within a single Staff context, both with stems in the same direction, occur at the same musical moment, the values of their horizontal-shift properties are used to rank them and the columns in the higher ranks are progessively offset to avoid collisions of the noteheads." So -- shouldn't the alignment I want occur automagically? Or should "both with stems in the same direction" be "all with stems ..."? But whole notes have no stems ... is that the problem? Thanks! Fred ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Automatic ottava handling
>Here's a preliminary experiment. It will add an automatic \ottava 1 before passages where notes have at least a specified number of ledger lines. This is a terrific start! The solution I'm using in my program counts the number of commas or single quotes and applies the ottava marking based on that which works fine but doesn't give as aesthetically a pleasing result as your method does. I will totally ditch my method if this one progresses much further. On Tue, Oct 7, 2014 at 4:32 PM, David Nalesnik wrote: > Hi, > > On Mon, Oct 6, 2014 at 3:51 PM, David Bellows > wrote: > >> I ended up creating my own solution to use in my code that generates >> scores. Unfortunately it doesn't really translate into anything usable by >> anyone else. Likewise I created my own staff switching method as well so >> that rests would be printed in the other staff. >> >> Still, I think the automatic ottava marking would be a good idea and >> maybe even doable. Alas, I am not the one to do it, though. >> >> On Sun, Oct 5, 2014 at 2:14 PM, Gilberto Agostinho < >> gilbertohasn...@gmail.com> wrote: >> >>> Malte Meyn-3 wrote >>> > There is a pitch-dependent staff switching automatism in LilyPond (I >>> > don’t know how it works but you can have a look at piano/harp section >>> in >>> > the notation reference) so I think what you are asking for should at >>> > least not be impossible. >>> >>> You are talking about \autochange (see: >>> >>> http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-keyboards#changing-staff-automatically >>> ). >>> >>> And indeed an automatic function to add ottava markings for every pitch >>> higher than a certain threshold (and ottava bassa lower than another >>> defined >>> threshold) would be a fantastic addition to LilyPond. >>> >>> > I think this should be doable. > > Here's a preliminary experiment. It will add an automatic \ottava 1 > before passages where notes have at least a specified number of ledger > lines. > > Right now this is pretty limited. It won't handle \relative, for one > thing. I'll have to get deeper into the music representation for that, but > this should serve as a proof-of-concept. > > Another issue is adapting to different clefs. The function \octavate is > hard-coded for treble clef at the moment. The problem is that > 'clefMiddleCPosition is a context property, and I'm not sure how to get at > context properties through a music function. Any ideas? With this > property it's easy to have this work automatically with different clefs. > (The number -6 in the function represents the value of > 'clefMiddleCPosition for treble clef--middle C is 6 staff-steps below the > center line.) > > Best, > David > > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Overlapping ties in different voices
Trevor, I am, indeed, using 2.18.2. I obviously should have mentioned that. Sorry! I finally got it to work in such a way that it precisely mimics the original: [image: Inline images 1] [image: Inline images 2] I had to add a \hideNotes: << { s1 | \once \override NoteColumn.force-hshift = 1.75 b1~ | b2 cis } \\ { a1~ | 2 4 | 1 } \\ { } \\ { r2 a,~ | \once \override NoteColumn.force-hshift = 0.75 \hideNotes a \unHideNotes } >> Thanks again for your help! Fred On 8 October 2014 05:10, Trevor Daniels wrote: > Fred > > Did you not see my follow-up adding the A to reinstate the > tie? > > Anyway, the correct solution depends on which version > you're using. After adding back the A you might get > a warning about clashing note columns, but only in > version 2.18. > > Keith posted a patch to 2.19 which limits the warning about clashing > note columns if the notes were actually too far apart to clash, as > they are here. In 2.18 either use voice 4 rather than voice 3 (just > insert another \\) or add \voiceFour to remove the warning. > > Trevor > > - Original Message - > *From:* Frederick Bartlett > *Cc:* LilyPond Users > *Sent:* Wednesday, October 08, 2014 2:12 AM > *Subject:* Re: Overlapping ties in different voices > > I neglected to send this to the group .. sorry! Out of date anyway, since > the a tie between mm 1 & 2 isn't working in Trevor's solution. > > Trevor, > > Your solution is what I was after. Thanks! > > But -- why 2 as the parameter for force-hshift? Doesn't that mean two > notehead widths? > > For others -- I was looking for this: > > [image: Inline images 2] > from > IMSLP305644-PMLP30753-IMSLP252089-PMLP30753-Saint_Saens-Oratorio_de_Noel-Partition_Chant_et_Piano_-_scantailored.pdf, > print page 9, PDF page 11. > > Thanks to all! > > Fred > > On 7 October 2014 18:25, Trevor Daniels wrote: > >> Hi Fred >> >> Here's the way I'd do it (if I've interpreted what you wanted correctly): >> >> \relative c''' << >> >> { s1 | >> >> \once \override NoteColumn.force-hshift = 2 >> >> b1~ | b2 cis | } >> >> \\ >> >> { a1~ | 2 4 | 1 } >> >> \\ >> >> { \voiceTwo r2 a,~ | } >> >> >> >> >> >> >> Trevor >> >> >> >> - Original Message - >> *From:* Frederick Bartlett >> *To:* LilyPond Users >> *Sent:* Tuesday, October 07, 2014 8:57 PM >> *Subject:* Overlapping ties in different voices >> >> Hi! >> >> I'm trying to set selection from Saint-Saën's Oratorio de Noël for my >> choir. >> In the Gloria in altissimis (p9 in the IMSLP PDFs), I found an odd >> combination of ties: >> \relative c''' { >> << { s1 | b1 ~ | b2 cis } \\ >> { a1 ~| a2 s2 | s1 } \\ >> { \voiceTwo r2 a, ~ | a 4 | 1 } >> >> >> } >> This peculiar mess is almost right; I just need to figure out how to >> keep the b and a on the first beat of the second measure from colliding -- >> but no combination of \shiftOxxx and \once \override >> NoteColumn.force-hshift that I've tried has answered the case. Leaving the >> \voiceTwo command out prevents the collision -- but at the cost of getting >> many other things wrong. >> >> To match the 19th-century original, the b should be shifted a notehead's >> width right. >> >> Help? >> Thanks! >> Fred >> >> -- >> >> ___ >> lilypond-user mailing list >> lilypond-user@gnu.org >> https://lists.gnu.org/mailman/listinfo/lilypond-user >> >> > > > -- > “To my knowledge I have no knowledge.” -- John Kerry, the Secretary of > State of the United States of America, in response to Senator Barbara > Boxer, 3 Sep 2013 > > -- > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- “To my knowledge I have no knowledge.” -- John Kerry, the Secretary of State of the United States of America, in response to Senator Barbara Boxer, 3 Sep 2013 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
How does map-some-music work?
I am trying to display all the names that appear in a piece of music (NoteEvent etc.) using map-some-music. It the function musShow is only printing the top level name. What am I missing here? \version "2.18.2" #(define (showMus music) (display-scheme-music (ly:music-property music 'name "Not Defined"))) musShow = #(define-music-function (parser location myx ) (ly:music?) (map-some-music (lambda (evt) (showMus evt )) myx) #{ #}) music = {c ~ c} \musShow #music %%% ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Overlapping ties in different voices
Noeck you wrote Tuesday, October 07, 2014 11:43 PM > Am 08.10.2014 um 00:31 schrieb Trevor Daniels: >> Whoops, sorry, missed an 'a' out, needed to give the tie: > > but with that tie you have the issue of colliding note heads again (in > the upper voices). Ah, so you do, but only in version 2.18, not in 2.19.15 which I'm using. Keith posted a patch to 2.19 which limits the warning about clashing note columns if the notes were actually too far apart to clash, as they are here. In 2.18 either use voice 4 rather than voice 3 (just insert another \\) or add \voiceFour to remove the warning. Trevor ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user