Re: Multiple repeat nested with alternative
I think some clarifications might be needed: - LilyPond typesets the final alternative without a terminating vertical bar, except when the end of the alternative coincides with any of the following types of bar lines: ":|", "|:", "|.", ":|:", ":|.|:", ":|.:", ".|". Can any of you who have proposed a new \finalalternative please provide a simple example showing when such a feature would be needed, just as Valentine requested. - One way to obtain the desired layout using current Lilypond features, has already been proposed. An alternative solution is \relative c'{ \repeat volta 2 { a a a a | b b b b | } \alternative{{c c c c | }{\bar ":|:" d d d d | }} \repeat volta 2 { % Trick needed to fool LilyPond to not typeset the "|:" bar line: \once \set Timing.defaultBarType = "" \bar "|" e e e e | } \alternative {{f f f f }{g g g g }} } Unfortunately, this hack will not work nicely together with \unfoldRepeats or MIDI output, for obvious reasons. /Mats Hans Aberg wrote: On 12 Mar 2009, at 09:49, Werner LEMBERG wrote: [1. ] [2. [1. ] [2. | x x x x | x x x x | x x x x :||: x x x x | x x x x | x x x x :|| x x x | x | A B CD E F G The correct order of performance/reading should be: A B C A B D E F D E G Honestly, I would just scrap the repeats alltogether and write it all out. As a person reading this, I would be very confused by what was meant. I strongly disagree. This is standard notation since centuries; many works by Mozart, Beethoven et al. use exactly this. Hindemith, "Elementary training...", p. 70, uses it. So it seems to be standard. Note the subtlety that the last alternative is without a terminating vertical bar, indicating a continuation. It might suffice to support a syntax like \repeat volta 2 {A B} \alternative {C} \repeat volta 2 {D E} \alternative {F} G H I J ... That is, simply indicating one alternative less than in the "volta". LilyPond could then infer that there should be another alternative mark added in the following measure. Strictly speaking, this additional last alternative mark is redundant from the semantic point of view: drop it and the music should be played the same. (Though it may have to be there for traditional reasons.) Hans ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: unbeamed 128th note is also unflagged
2009/3/17 Patrick McCarty : > On Mon, Mar 16, 2009 at 11:58 AM, Francisco Vila > wrote: >> 2009/3/16 David Bobroff : >>> I'm getting this same problem on 2.12.2 with the PDF. I also get: >>> >>> warning: flag `d7' not found >>> >>> This is with version 2.12.2 >>> >>> -David >> >> 'u7' is not found, either. Tested on a newly compiled 2.12.3 1967f949e3c. > > That's strange that you are getting this error when compiling from > git. Are you sure you did a `make clean'? This should clear out > mf/out/*, and `make all' should rebuild the fonts. > > Can you test on the latest master? The commit you mention is nearly a > month old. > > As you can see, the new 2.13 doc NEWS page shows the correct example: > > http://lilypond.org/doc/v2.13/Documentation/topdocs/NEWS > > > -Patrick Now it works. Besides, my last-resort script which I call "makemake" fails to build the docs. Any ideas? $ cat makemake make clean rm `find |grep pyc$` make make web-clean make web >& err $ tail err ./out-www/lilypond-snippets.texi:155: Menu reference to nonexistent node `Expressive marks' (perhaps incorrect sectioning?). ./out-www/lilypond-snippets.texi:154: Menu reference to nonexistent node `Rhythms' (perhaps incorrect sectioning?). makeinfo: Removing output file `out-www/lilypond-snippets.info' due to errors; use --force to preserve. make[3]: *** [out-www/lilypond-snippets.info] Error 1 make[3]: Leaving directory `/home/fravd/source/lilypond/input/lsr' make[2]: *** [WWW-1] Error 2 make[2]: Leaving directory `/home/fravd/source/lilypond/input' make[1]: *** [WWW-1] Error 2 make[1]: Leaving directory `/home/fravd/source/lilypond' make: *** [web-1] Error 2 -- Francisco Vila. Badajoz (Spain) The incredible carnival of Badajoz http://www.flickr.com/photos/pacovila/tags/carnaval/show/ ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: unbeamed 128th note is also unflagged
2009/3/17 Francisco Vila : > 2009/3/17 Patrick McCarty : >> On Mon, Mar 16, 2009 at 11:58 AM, Francisco Vila >> wrote: >>> 2009/3/16 David Bobroff : I'm getting this same problem on 2.12.2 with the PDF. I also get: warning: flag `d7' not found This is with version 2.12.2 -David >>> >>> 'u7' is not found, either. Tested on a newly compiled 2.12.3 1967f949e3c. >> >> That's strange that you are getting this error when compiling from >> git. Are you sure you did a `make clean'? This should clear out >> mf/out/*, and `make all' should rebuild the fonts. >> >> Can you test on the latest master? The commit you mention is nearly a >> month old. >> >> As you can see, the new 2.13 doc NEWS page shows the correct example: >> >> http://lilypond.org/doc/v2.13/Documentation/topdocs/NEWS >> >> >> -Patrick > > Now it works. Besides, my last-resort script which I call "makemake" > fails to build the docs. Any ideas? Fixed in git - it's a docstring in the wrong place. As for the font problem, if you have a look at 2.13 on kainhofer.com, it's still not right, since the \snappizzicato articulation is blank. Regards, Neil ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: MIDI interface (feature request)
On 17 Mar 2009, at 02:32, Kees van den Doel wrote: I would like to see a general method to insert MIDI command in the score. My specific need is to add vibrato to certain notes by setting the appropriate controller. My application is Persian music where vibrato is a "must" on certain notes. First you can write something like %mytrill = mytrill = and then comment the one you don't use in two different compiles for PDF and MIDI. The second step might be to combine these two definitions into one, which can recognize the two \layout and \midi contexts. I don't know if that is possible, but perhaps somebody here could tell. Hans ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond