Re: using Lilypond as a graphical drawing app
ohmygod, is anybody still working on this? The idea to somebody re-doing Treatise in Lily *as vector graphics* literally made me gasp. That's some next-level insanity. Kudos to you, to whoever coded that, and to everybody. I … I need to go sit down for a while. Cheers, A On Sat, Dec 8, 2018 at 9:25 PM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Pierre, > > > Your topic reminds me some test pages done with a C. Cardew score two > years ago: > > http://lilybin.com/u8vxbi/1 > > WOW! Lilypond never ceases to amaze me. > > A non-trivial detail: we’re viewing that in a browser. > Just let that sink in. =) > > Thanks! > Kieren. > > > Kieren MacMillan, composer > ‣ website: www.kierenmacmillan.info > ‣ email: i...@kierenmacmillan.info > > > ___ > 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
Fwd: [MEI-L] Digital Interactive Mozart Edition, Public Launch
Ursprüngliche Nachricht Von: Norbert Dubowy Internationale Stiftung Mozarteum Gesendet: 12. Dezember 2018 23:32:38 MEZ An: me...@lists.uni-paderborn.de, Music Encoding Initiative Betreff: [MEI-L] Digital Interactive Mozart Edition, Public Launch Dear MEI community, The Digital Mozart Edition, a collaborative project of the Stiftung Mozarteum, Salzburg, and the Packard Humanities Institute, Los Altos (CA), is happy to announce the public launch of its Digital Interactive Mozart Edition. On the occasion of the web publication, a press conference is held on Friday, 14 December 2018, 10:30 a.m. (CET), at the Mozart Residence, Makartplatz 8, A-5020 Salzburg, Austria. The press conference is transmitted via live stream on [ http://www.facebook.com/StiftungMozarteum/ -> www.facebook.com/StiftungMozarteum/ ]. The Digital Interactive Mozart Edition will be accessible, from 14 December 2018 on, through our website at [ https://dme.mozarteum.at/ -> dme.mozarteum.at ]. Its use is free of charge for private, scientific and educational purposes. Kind regards, Norbert Dubowy Dr. Norbert Dubowy Mozart-Institut/Digitale Mozart-Edition Cheflektor/Managing Editor Internationale Stiftung Mozarteum Schwarzstr. 26 5020 Salzburg, Austria T +43 (0) 662 889 40 66 F +43 (0) 662 889 40 68 E mailto:dub...@mozarteum.at [ http://www.mozarteum.at/ -> www.mozarteum.at ] [ http://www.mozarteum.at/content/newsletter -> Newsletter Stiftung Mozarteum ] [ http://www.facebook.com/StiftungMozarteum -> Facebook Stiftung Mozarteum ] ZVR: 438729131, UID: ATU33977907 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Generate staff-less chord and lyrics sheet
Hi Kieren, thanks for your replies. Your first solution was sort of working for me. Seems like a good idea to develop a better solution. One problem I immediately ran into was syncopes at measure boundaries. Assume that the information given to Lilypond is for example that a syllable starts at the last eigth of a measure and continues into the next measure. In a chord sheet you would want to place the chord symbol right on top of that syllable, not between it and the next one, which will make the sheet harder to read. I guess, one might give directions to Lilypond in some way to to straighten syncoped syllables, either by comparing the length of the tone before and after the measure boundary, or by setting a certain value, for Pop/Rock for example one eight: If a syllable stretches over a measure boundary and the first measure contains only one eigth, then ignore that eigth. I am not a very frequent user of Lilypond and won't be able to technically help develop any solution, so I will follow the further development of this mailing thread and issue only when time allows. Thanks all, and Happy Christmas Season! Annette 2018-12-07 16:02 GMT+01:00, Kieren MacMillan : > Hi Carl (et al.), > >> I really find Kieren's solution to be interesting. > > I’m glad! > > Below, I’ve done a little custom-context-building, in the hopes we might > crowd-source a real solution to this problem (which crops up on the list > fairly often). I’ve added a way (using tags) to break lyrics at appropriate > spots, independent of breaks in the musical score. I’ve also shown how > lyrics could be "centred" on the page (using indents, etc.); of course, this > could also be done using margins, but I wanted to see if it could be done on > a single page (equiv. in a single bookpart). > > Best, > Kieren. > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: using Lilypond as a graphical drawing app
Beautiful, Kieren. Trevor. On Fri, Dec 7, 2018 at 2:23 PM Henning Hraban Ramm wrote: > Am 2018-12-07 um 20:57 schrieb Kieren MacMillan < > kieren_macmil...@sympatico.ca>: > > > As a further example of what Lilypond is capable of, and how I’m pushing > it — in this case, for jobs engraving other people’s music and music theory > articles — consider the following Riemannian Tonnetz graph [excerpt] I just > finished engraving: > > > > > > > > Lilypond is so amazing. =) > > And you, apparently. Just wow. > > > Greetlings, Hraban > --- > fiëé visuëlle > Henning Hraban Ramm > https://www.fiee.net > > > > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > -- Trevor Bača www.trevorbaca.com soundcloud.com/trevorbaca ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: score-lines-markup-list in Lyrics?
Am Mi., 12. Dez. 2018 um 09:53 Uhr schrieb David Kastrup : > > David Kastrup writes: > > > Thomas Morley writes: > > > >> Hi all, > >> > >> this works: > >> > >> \version "2.19.82" > >> > >> tst = \markuplist \italic #(make-list 2 "buzz") > >> > >> << > >> \new Staff { R1 \break R1 } > >> \new Lyrics \lyricmode { $@tst } > > >> > >> This doesn't work: > >> > >> tstA = > >> \markuplist \score-lines { \repeat unfold 80 a'16 } > >> > >> << > >> \new Staff { R1 \break R1 } > >> \new Lyrics \lyricmode { $@tstA } > > >> > >> > >> I have some vague thoughts why it refuses to work, though I can't > >> really word them ... > > > > A list of markups is only one possible form of a markup list. > > Obviously™ a markup command call cannot be a list of markups since the > > call is only done when typesetting and then a list of stencils (not of > > markups) is getting produced. > > > >> Anyway, is it somehow doable? > > > > Lyrics would need to accept markup lists. That's not readily possible > > since the number of stencils produced is only known at the time of > > calling the markup list command (during iteration) and the length of a > > music expression is often needed before. > > > > So I don't readily see how this could be reliably done. > > Unreliably, one could produce sequential music with a elements-callback > field producing lyrics elements from individual \stencil markups. The > stencil list would be produced at time of iteration by the > elements-callback, and the length callback would be made to return some > nonsense or approximation. > > -- > David Kastrup Hi David, thanks for the insights. Background is: https://lists.gnu.org/archive/html/lilypond-user/2018-12/msg00199.html Well, hopefully my disclaimer is sufficient ... Thanks, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Line-breaking with non-aligned barlines - again!
Am Di., 11. Dez. 2018 um 13:56 Uhr schrieb David Sumbler : > This may well be the answer I need for my full score. But now that you > have introduced me to "strict-note-spacing" etc., I am again wondering > whether there might perhaps be a way of getting Lilypond to make 2 > separate calculations of spacing, one for the harpsichord and another > for the rest of the orchestra; or, in the case of my small example, one > for the top stave and one for the bottom. Perhaps this can be done by > modifying the stavesFound variable, but I have little idea of how to go > about this. I doubt. Here a hack, hackish as hackish could be. with the need to do a plethora of manual adjustments. Fragile like hell and with a lot of limitations. And _very_ expensive. You'll experience a slow-down even in the small example. I can't recommend to use it --- but, well, here you are (also, see inline comments): \version "2.19.82" \paper { %% indent needs to be zero indent = 0 } #(define val -1) sc = \score { { \repeat unfold 20 { a'16 b' c' d'' } \break \repeat unfold 4 { a'16 b' c' d'' } } \layout { %% indent needs to be zero indent = 0 \omit Score.BarNumber } } m = { \time 2/4 b4 b \time 3/8 b4 b8 \time 6/8 b4. b4 b8 \break \time 5/8 b2 b8 \time 2/4 \repeat unfold 8 b16 \break \time 8/8 b1 b } << \new Staff \with { %% Probably needs to be adjusted \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 12) (minimum-distance . 18) (padding . 1)) } \m \new Lyrics \lyricmode { \override LyricText.after-line-breaking = #(lambda (grob) (set! val (1+ val)) (let* ((paper-score (ly:score-embedded-format sc (ly:grob-layout grob))) (pap-sys-vector (ly:paper-score-paper-systems paper-score)) (pap-sys-ls (vector->list pap-sys-vector)) (pap-sys-stils (map (lambda (pap-sys) (ly:prob-property pap-sys 'stencil)) pap-sys-ls))) (ly:grob-set-property! grob 'stencil (list-ref pap-sys-stils val %% Likely this has to be repeated frequently with adjusted values \override LyricText.before-line-breaking = #(lambda (grob) (ly:grob-translate-axis! grob -8.6 X)) %% Always need to adjust the duration, it needs to be the duration %% of the line of music above (or below) \withMusicProperty #'duration #(ly:make-duration 3 0 13) "foo" \withMusicProperty #'duration #(ly:make-duration 3 0 9) "foo" \withMusicProperty #'duration #(ly:make-duration 3 0 16) "foo" } \new Staff \m >> Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: score-lines-markup-list in Lyrics?
David Kastrup writes: > Thomas Morley writes: > >> Hi all, >> >> this works: >> >> \version "2.19.82" >> >> tst = \markuplist \italic #(make-list 2 "buzz") >> >> << >> \new Staff { R1 \break R1 } >> \new Lyrics \lyricmode { $@tst } >> >> This doesn't work: >> >> tstA = >> \markuplist \score-lines { \repeat unfold 80 a'16 } >> >> << >> \new Staff { R1 \break R1 } >> \new Lyrics \lyricmode { $@tstA } >> >> >> I have some vague thoughts why it refuses to work, though I can't >> really word them ... > > A list of markups is only one possible form of a markup list. > Obviously™ a markup command call cannot be a list of markups since the > call is only done when typesetting and then a list of stencils (not of > markups) is getting produced. > >> Anyway, is it somehow doable? > > Lyrics would need to accept markup lists. That's not readily possible > since the number of stencils produced is only known at the time of > calling the markup list command (during iteration) and the length of a > music expression is often needed before. > > So I don't readily see how this could be reliably done. Unreliably, one could produce sequential music with a elements-callback field producing lyrics elements from individual \stencil markups. The stencil list would be produced at time of iteration by the elements-callback, and the length callback would be made to return some nonsense or approximation. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: score-lines-markup-list in Lyrics?
Thomas Morley writes: > Hi all, > > this works: > > \version "2.19.82" > > tst = \markuplist \italic #(make-list 2 "buzz") > > << > \new Staff { R1 \break R1 } > \new Lyrics \lyricmode { $@tst } >>> > > This doesn't work: > > tstA = > \markuplist \score-lines { \repeat unfold 80 a'16 } > > << > \new Staff { R1 \break R1 } > \new Lyrics \lyricmode { $@tstA } >>> > > > I have some vague thoughts why it refuses to work, though I can't > really word them ... A list of markups is only one possible form of a markup list. Obviously™ a markup command call cannot be a list of markups since the call is only done when typesetting and then a list of stencils (not of markups) is getting produced. > Anyway, is it somehow doable? Lyrics would need to accept markup lists. That's not readily possible since the number of stencils produced is only known at the time of calling the markup list command (during iteration) and the length of a music expression is often needed before. So I don't readily see how this could be reliably done. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user