Re: concatenating notes with a music expression
Le 2018-05-12 00:16, Sirius Barras a écrit : I have a sequence of notes and a music expression. How could be done a function concatenating each element of the sequence with the music expression? For instance, if the sequence is {c b a } and the music expression is { f g } I would like to obtain c f g b f g a f g Don't known what Lilypond version you have. This should work in 2.18 and 2.19 %% #(define (foo seq1 seq2) (map (lambda(note) ;(ly:music-deep-copy ;; if music is re-used (make-sequential-music (cons note (ly:music-property seq2 'elements (ly:music-property seq1 'elements))) seqI = { c b a } seqII = { f g } #(for-each display-lily-music (list seqI seqII)) #(display "=>\n") #(for-each display-lily-music (foo seqI seqII)) %%% Output : { c4 b4 a4 } { f4 g4 } => { c4 f4 g4 } { b4 f4 g4 } { a4 f4 g4 } Good week. -- Gilles ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LilyPond and FontForge
Hi, foxfanfare! On Fri, May 11, 2018 at 3:02 PM, foxfanfarewrote: > foxfanfare wrote > Werner LEMBERG wrote > Hmm, I can't help here. No problem. I'll continue > my investigations! Thx! > > Finally! I did solve this problem and succeed to make modifications in the > fonts. Werner did directed me in the good direction, and it needed the use > of TTX. But ...*ouch ... what a nightmare to make this works with Windows > (python, ttx, etc...) ! If someone is interested in also doing this kind of > stuff and want me to write a quick tutorial, just let me know. Cheers. > Glad to hear you got something working! Congrats! There are a lot of nuances you should be aware of. It's not as cut-and-dry as it appears, but getting something working at all is half the battle. I'm curious to know how you used TTX to accomplish the task. I can see how I would do it, but anyway, I'd be interested to hear yours. Best, Abraham ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Is it possible to run lilypond and not produce MIDIs?
On 14.05.2018 20:27, Risto Vääräniemi wrote: Hi all, Well, the subject says pretty much all. It'd be nice to be able to run lilypond and disable MIDI generation with a flag or something (e.g. when producing the PDFs for printing in a designated folder). Is there a way? If any your scores contain \midi blocks, then MIDI files will be generated. Unlike with \layout for graphic output, it is never implied. Best, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Is it possible to run lilypond and not produce MIDIs?
I usually do it like this: \score { %... all the other stuff here layout{} } --- Knute Snortum (via Gmail) On Mon, May 14, 2018 at 11:28 AM Risto Vääräniemiwrote: > Hi all, > > Well, the subject says pretty much all. It'd be nice to be able to run > lilypond and disable MIDI generation with a flag or something (e.g. when > producing the PDFs for printing in a designated folder). Is there a way? > > BR, > Risto > ___ > 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
Is it possible to run lilypond and not produce MIDIs?
Hi all, Well, the subject says pretty much all. It'd be nice to be able to run lilypond and disable MIDI generation with a flag or something (e.g. when producing the PDFs for printing in a designated folder). Is there a way? BR, Risto ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: disabling \break
Thank your for all your suggestions. I'm now dealing with tags. This is very easy to use. Best regards 2018-05-09 10:56 GMT+02:00 Caagr98: > If you want a more lightweight way to do it, this function should also > work: > ⋘ > removeBreaks = > #(define-music-function (mus) (ly:music?) > (music-filter >(lambda (v) (not (music-is-of-type? v 'break-event))) >mus)) > ⋙ > > > On 05/08/18 14:17, Jan-Peter Voigt wrote: > > Hi Herbie, > > > > this is *the* use case for the edition-engraver: > > https://github.com/openlilylib/edition-engraver/ > > or the page-layout package > > https://github.com/openlilylib/page-layout > > (which is using the edition-engraver for the conditional breaks) > > > > If you install openLilyLib (https://github.com/openlilylib/oll-core), > you can make use of these packages quite easily. That way you can separate > breaks and page-layout from the music-content. > > > > So the short answer is: Yes, it is possible to add a command that avoids > certain breaks for certain commands. > > > > If you want to know more about these tools don't hesitate to ask! > > > > HTH > > Jan-Peter > > > > > > > > Am 08.05.2018 um 07:50 schrieb Herbert Liechti: > >> Hello > >> > >> I searched a long time in the forum an internet and could not find an > answer for my issue. > >> > >> I write all my music with lilypond and at the end I have two output > targets. One is the paper form and one > >> is a page layout for the tablet. The latter layout is optimized so that > the screen of the table is used with small > >> margins. I use two book sections for this > >> > >> I often do a line break at the end of each part (i.E. part A, part B, > part C). For the paper output this is useful for > >> the tablet it is wasting place. > >> > >> Is it possible to add a command that skips/disables/avoids the manual > breaks when creating the tablet version? > >> > >> Thanks & best regards > >> Herbie > >> > >> > >> > >> ___ > >> 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 > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > -- herbert.liec...@thinx.ch, ThinX networked business services, Bielstrasse 69, CH-4500 Solothurn Mobile +41 (0)76 334 81 66, http://thinx.ch ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: \cadenzaOn: clefs, key signatures on line breaks
Robert Kubosz wrote > Still I have question refering the breaks: is there any other method for > line breaking (preferably auto-breaking)? I don't understand your question. In your exemple, the breakings are working because you have added the barlines in your \repeat command. Then LP automatically did the breaks. If you want to hide the barlines, this could also work: \relative f' { \clef treble \key f \major \cadenzaOn \repeat unfold 9 { f4 f f f \bar "" } \cadenzaOff } -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user