Re: OT: Beauty of programming languages
- Original Message - From: David Kastrup d...@gnu.org To: Andrew Bernard andrew.bern...@gmail.com Cc: LilyPond User Group lilypond-user@gnu.org Sent: Wednesday, August 26, 2015 4:23 PM Subject: Re: OT: Beauty of programming languages Andrew Bernard andrew.bern...@gmail.com writes: lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of imj-muz...@bluewin.ch wrote: 1€ question for the young : whom does EWD stand for, and did he bring to computer science? Writing by hand with a fountain pen. Look it up folks! Seriously? My dad did all of his Theoretical Physics stuff including the scripts by fountain pen for probably more than 4 decades. And he is 4 years younger than Dijkstra (if you digged up the latter). He still does for his own work, though he switched to LaTeX for scripts and articles a few decades ago. I don't know how many bottles of ink and blotter rolls he may have used up over the years... -- David Kastrup === FWIW I did all my physics lecture notes for my BSc with a Rotring pen. -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
set barlines manually
Hi all, how can I set barlines completely manually throughout a whole sheet music? I tried these: \override Staff.TimeSignature #'stencil = ##f \new Staff \with { \hide BarLine } { \new Staff \with {\remove Time_signature_engraver \omit BarLine}{ \omit Score.BarLine \undo \omit Score.BarLine none of them worked well. Once no barlines are visible, and sometimes the barlines which I manually set and what the default 4/4 time signature calculates appears at the same time and looks ugly. Can you please help? Thanks :) Matt ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: set barlines manually
On Wed, Aug 26, 2015 at 12:40 PM, Mátyás Seress serima...@gmail.com wrote: Hi all, how can I set barlines completely manually throughout a whole sheet music? If you have no time signatures, remove Time_signature_engraver and use \cadenzaOn. You can place bars with \bar |. Regards, Nathan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: OT: Beauty of programming languages
Am 26. August 2015 15:38:17 MESZ, schrieb Martin Tarenskeen m.tarensk...@gmail.com: On Wed, 26 Aug 2015, David Kastrup wrote: In the APL course I took years ago, the teacher said: « Exercice for the I recall that crucial to APL was its interactive environment. We had Still have a COMPASS manual around. Put it up to Ebay at minimum starting price, but no takers. :-) This thread makes me wonder: what's the average age of LilyPond users and developers? Remind me in two weeks and I'll start a poll on Scores of Beauty ... Urs -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: OT: Beauty of programming languages
Mark Stephen Mrotek carsonm...@ca.rr.com writes: lilypond-user-bounces+carsonmark=ca.rr@gnu.org wrote: Of David Kastrup Sent: Wednesday, August 26, 2015 8:24 AM To: Andrew Bernard andrew.bern...@gmail.com Cc: LilyPond User Group lilypond-user@gnu.org Subject: Re: OT: Beauty of programming languages Andrew Bernard andrew.bern...@gmail.com writes: lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of imj-muz...@bluewin.ch wrote: 1€ question for the young : whom does EWD stand for, and did he bring to computer science? Writing by hand with a fountain pen. Look it up folks! Seriously? My dad did all of his Theoretical Physics stuff including the scripts by fountain pen for probably more than 4 decades. And he is 4 years younger than Dijkstra (if you digged up the latter). He still does for his own work, though he switched to LaTeX for scripts and articles a few decades ago. I don't know how many bottles of ink and blotter rolls he may have used up over the years... With a great deal of respect and admiration, I return to you a quote you once sent to me: Wrangling down that attacking Rottweiler was actually not all that hard. It boils down to the same grips and holds we used to employ for killing lions when I was young. Oh, lions were smart enough not to mess with my dad. Never pick a fight with people who buy ink by the barrel. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Allow LyricText/SpanBar overlapping
Simon, you wrote Monday, August 24, 2015 8:27 PM following 19th century practice, I am using StaffGroup for choir scores. When there are longer syllables at the end of a measure, they avoid to overlap with the span bar, which costs horizontal space. I’d prefer this to be turned off, but how? I might conduct a lengthy and imprecise search over the manuals, but maybe someone can help out? Sorry to be late picking this up. I think this might do it: \layout { \context { \Lyrics \remove Pure_from_neighbor_engraver \override LyricText #'whiteout = ##t } } Trevor ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: OT: Beauty of programming languages (was: Way to flatten nested \include's?)
On Tue, 25 Aug 2015 18:41:54 +0200 Jacques Menu imj-muz...@bluewin.ch wrote: In the APL course I took years ago, the teacher said: « Exercice for the next two weeks : find out what this sample program (25 symbols altogether) does. A guy says two weeks later: « It does this and that… but it took me two and a half hours to find out! » And teacher answers: « Well, it took me two hours to write! » I recall that crucial to APL was its interactive environment. We had dedicated ttys with APL keys. Program development was adding one symbol at a time, trying what happened. Repeat until the program was finished. For real programming we wrote Algol on punch tapes, later punch cards. Turnaround time was one day, so you wrote the program, printed it, checked manually, proved its correctness (I was educated by EWD) and then delivered it at the computer department. APL wouldn't have stand a chance in that environment. I did like the language, in a peculiar way. -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Repeats in \parallelMusic
On Tue, 2015-08-25 at 18:34 +0200, David Kastrup wrote: David Sumbler da...@aeolia.co.uk writes: Is there a way of using \repeat volta 2 and similar when using the \parallelMusic command? The following does not work: \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \repeat volta 2 { d''1 | \repeat volta 2 { f'1 | %bar 2 c''1 } | e'1 } | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } I have tried repositioning the braces but none of my experiments so far have produced the desired result. It's simpler than you think it is. You only need the structure to descend into once. Lilypond music sheet attachment (repar.ly) \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \repeat volta 2 { d''1 | f'1 | %bar 2 c''1 | e'1 | } g''1 | c''1 | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } Thank you very much for that. I see that the repeat structure is acting at a higher level, so to speak, than the parallelMusic layout. This solution works fine for the piece I am currently setting. However, it raises a question for which I may some day need an answer: is it possible to have repeats starting and ending within a bar when using \parallelMusic? Here is a modified version of the above snippet: \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \repeat volta 2 { d''2 d'' | f'2 f' | %bar 2 c''2 c'' | e'2 e' | } %bar 3 g''1 | c''1 | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } That, of course, works fine. But suppose that the repeat should start in the middle of bar 1 and end in the middle of bar 2. This is easily done when setting the parts separately; but can it be done within a \parallelMusic structure? On the face of it, the answer would seem to be no. Or is it? David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Repeats in \parallelMusic
David Sumbler da...@aeolia.co.uk writes: This solution works fine for the piece I am currently setting. However, it raises a question for which I may some day need an answer: is it possible to have repeats starting and ending within a bar when using \parallelMusic? Here is a modified version of the above snippet: \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \repeat volta 2 { d''2 d'' | f'2 f' | %bar 2 c''2 c'' | e'2 e' | } %bar 3 g''1 | c''1 | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } That, of course, works fine. But suppose that the repeat should start in the middle of bar 1 and end in the middle of bar 2. This is easily done when setting the parts separately; but can it be done within a \parallelMusic structure? On the face of it, the answer would seem to be no. Or is it? Any reason you neither try it out nor add any template to demonstrate on? A user list is primarily a knowledge resource: making use of the different knowledge and skill levels of the participants for overcoming hurdles, not for running the whole track. It should be easy enough for yourself to modify the example such that the repeats are on partial measure positions. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: OT: Beauty of programming languages
Johan Vromans jvrom...@squirrel.nl writes: On Tue, 25 Aug 2015 18:41:54 +0200 Jacques Menu imj-muz...@bluewin.ch wrote: In the APL course I took years ago, the teacher said: « Exercice for the next two weeks : find out what this sample program (25 symbols altogether) does. A guy says two weeks later: « It does this and that… but it took me two and a half hours to find out! » And teacher answers: « Well, it took me two hours to write! » I recall that crucial to APL was its interactive environment. We had dedicated ttys with APL keys. Program development was adding one symbol at a time, trying what happened. Repeat until the program was finished. For real programming we wrote Algol on punch tapes, later punch cards. Turnaround time was one day, so you wrote the program, printed it, You poor backwater guys. Our card punchers printed a human-readable version at the top of the card. And since the line printers were under the auspices of the system operators, one would not have wanted to wait for the printouts of a listing. I mean, in that case you'd have just run the program instead and waited for the printouts of the run. Or more likely, the post-mortem-dump. If you were lucky. Still have a COMPASS manual around. Put it up to Ebay at minimum starting price, but no takers. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: OT: Beauty of programming languages
1€ question for the young : whom does EWD stand for, and did he bring to computer science? JM Le 26 août 2015 à 13:12, David Kastrup d...@gnu.org a écrit : Johan Vromans jvrom...@squirrel.nl writes: On Tue, 25 Aug 2015 18:41:54 +0200 Jacques Menu imj-muz...@bluewin.ch wrote: In the APL course I took years ago, the teacher said: « Exercice for the next two weeks : find out what this sample program (25 symbols altogether) does. A guy says two weeks later: « It does this and that… but it took me two and a half hours to find out! » And teacher answers: « Well, it took me two hours to write! » I recall that crucial to APL was its interactive environment. We had dedicated ttys with APL keys. Program development was adding one symbol at a time, trying what happened. Repeat until the program was finished. For real programming we wrote Algol on punch tapes, later punch cards. Turnaround time was one day, so you wrote the program, printed it, You poor backwater guys. Our card punchers printed a human-readable version at the top of the card. And since the line printers were under the auspices of the system operators, one would not have wanted to wait for the printouts of a listing. I mean, in that case you'd have just run the program instead and waited for the printouts of the run. Or more likely, the post-mortem-dump. If you were lucky. Still have a COMPASS manual around. Put it up to Ebay at minimum starting price, but no takers. -- David Kastrup ___ 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: OT: Beauty of programming languages
On Wed, 26 Aug 2015, David Kastrup wrote: In the APL course I took years ago, the teacher said: « Exercice for the I recall that crucial to APL was its interactive environment. We had Still have a COMPASS manual around. Put it up to Ebay at minimum starting price, but no takers. :-) This thread makes me wonder: what's the average age of LilyPond users and developers? -- MT ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lyric-text::interpolate-alignment
Am 26.08.2015 um 01:31 schrieb David Nalesnik: Simon, On Tue, Aug 25, 2015 at 5:40 PM, Simon Albrecht simon.albre...@mail.de mailto:simon.albre...@mail.de wrote: Am 26.08.2015 um 00:04 schrieb Simon Albrecht: Hello, with my current project I wanted to avoid making too many manual adjustments on LyricText.self-alignment-X, and so I made an essay at having this done automatically depending on the width of the syllable. It’s not a very sophisticated approach – a really intelligent solution is still far away. But it works and I’m interested in hearing your opinion. In particular, I have one question: how must I modify this approach, so that it will still be possible to override individual LyricText grobs? Not sure I understand. What if you keep your layout block as is, and put for example \once \override LyricText.self-alignment-X = #LEFT before the syllable you'd like to change? That’s what I tried, of course. Yesterday, I had some setup where it didn’t seem to work, but upon testing now I see I was mistaken. Good day, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: OT: Beauty of programming languages
On Wed, 26 Aug 2015, Andrew Bernard wrote: Writing by hand with a fountain pen. Look it up folks! I looked it up: https://en.wikipedia.org/wiki/Edsger_W._Dijkstra 1€ question for the young : whom does EWD stand for, and did he bring to computer science? -- MT___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: OT: Beauty of programming languages
Writing by hand with a fountain pen. Look it up folks! Andrew On 26/08/2015 23:30, Jacques Menu lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of imj-muz...@bluewin.ch wrote: 1€ question for the young : whom does EWD stand for, and did he bring to computer science? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Repeats in \parallelMusic
Hello David, Wouldn’t all that be much simpler without \parallelMusic, with just one variable per staff contents? JM Le 26 août 2015 à 16:02, David Sumbler da...@aeolia.co.uk a écrit : On Wed, 2015-08-26 at 14:10 +0200, David Kastrup wrote: David Sumbler da...@aeolia.co.uk writes: is it possible to have repeats starting and ending within a bar when using \parallelMusic? \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \repeat volta 2 { d''2 d'' | f'2 f' | %bar 2 c''2 c'' | e'2 e' | } %bar 3 g''1 | c''1 | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } That, of course, works fine. But suppose that the repeat should start in the middle of bar 1 and end in the middle of bar 2. This is easily done when setting the parts separately; but can it be done within a \parallelMusic structure? On the face of it, the answer would seem to be no. Or is it? Any reason you neither try it out nor add any template to demonstrate on? A user list is primarily a knowledge resource: making use of the different knowledge and skill levels of the participants for overcoming hurdles, not for running the whole track. It should be easy enough for yourself to modify the example such that the repeats are on partial measure positions. With respect, I could see no obvious way in which it could be done, which is why I asked. I suppose it was the proverbial stupid question. Anyway, after trying several more (im)possibilities, I found a method that worked but produced error messages. Then I remembered Stephen MacNeil's helpful suggestion a few months ago regarding incomplete final bars. An example is: \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \set Score.measureLength = #(ly:make-moment 3/4) c''2. | \set Score.measureLength = #(ly:make-moment 3/4) e'2. | \repeat volta 2 { \set Score.measureLength = #(ly:make-moment 1/4) d''4 | \set Score.measureLength = #(ly:make-moment 1/4) f'4 | %bar 2 \set Score.measureLength = #(ly:make-moment 4/4) e''1 | \set Score.measureLength = #(ly:make-moment 4/4) g'1 | %bar 3 d''1 | f'1 | %bar 4 \set Score.measureLength = #(ly:make-moment 3/4) c''2. | \set Score.measureLength = #(ly:make-moment 3/4) e'2. | } \set Score.measureLength = #(ly:make-moment 1/4) b'4 | \set Score.measureLength = #(ly:make-moment 1/4) d'4 | %bar 5 \set Score.measureLength = #(ly:make-moment 4/4) c''1 | \set Score.measureLength = #(ly:make-moment 4/4) e'1 | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } Not exactly succinct, but it works. I am sending this to the list (a) so that I can find it again when I actually need it (b) in case somebody knows a neater solution to the problem. David ___ 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: Repeats in \parallelMusic
David Sumbler da...@aeolia.co.uk writes: On Wed, 2015-08-26 at 14:10 +0200, David Kastrup wrote: David Sumbler da...@aeolia.co.uk writes: But suppose that the repeat should start in the middle of bar 1 and end in the middle of bar 2. This is easily done when setting the parts separately; but can it be done within a \parallelMusic structure? On the face of it, the answer would seem to be no. Or is it? Any reason you neither try it out nor add any template to demonstrate on? A user list is primarily a knowledge resource: making use of the different knowledge and skill levels of the participants for overcoming hurdles, not for running the whole track. It should be easy enough for yourself to modify the example such that the repeats are on partial measure positions. With respect, I could see no obvious way in which it could be done, which is why I asked. I suppose it was the proverbial stupid question. Anyway, after trying several more (im)possibilities, I found a method that worked but produced error messages. Then I remembered Stephen MacNeil's helpful suggestion a few months ago regarding incomplete final bars. An example is: \version 2.18.0 Ugh. It's likely better to return to the method that worked but produced error messages. Possibly even to one that didn't. There has been Issue 4426: Remove bar checks at the end of \parallelMusic passages This allows ending \parallelMusic at non-bar boundaries. in version 2.19.22. There has also been Issue 3984: Let \parallelMusic cope with \repeat .. \alternative \parallelMusic's recursive decent only worked for comparatively simple cases. It now should be able to deal with complex constructs gracefully. in version 2.19.10 so I am surprised that my example presumably even works in 2.18.0. The contraptions you have been using, in contrast, are fairly noisome. \parallelMusic #'(Vone Vtwo) { %bar 1 \set Score.measureLength = #(ly:make-moment 3/4) c''2. | \set Score.measureLength = #(ly:make-moment 3/4) e'2. | \repeat volta 2 { \set Score.measureLength = #(ly:make-moment 1/4) d''4 | \set Score.measureLength = #(ly:make-moment 1/4) f'4 | %bar 2 \set Score.measureLength = #(ly:make-moment 4/4) e''1 | \set Score.measureLength = #(ly:make-moment 4/4) g'1 | %bar 3 d''1 | f'1 | %bar 4 \set Score.measureLength = #(ly:make-moment 3/4) c''2. | \set Score.measureLength = #(ly:make-moment 3/4) e'2. | } \set Score.measureLength = #(ly:make-moment 1/4) b'4 | \set Score.measureLength = #(ly:make-moment 1/4) d'4 | %bar 5 \set Score.measureLength = #(ly:make-moment 4/4) c''1 | \set Score.measureLength = #(ly:make-moment 4/4) e'1 | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } Not exactly succinct, but it works. I am sending this to the list (a) so that I can find it again when I actually need it (b) in case somebody knows a neater solution to the problem. Well, upgrading. Then the following will work just fine: \version 2.19.22 \parallelMusic #'(Vone Vtwo) { %bar 1 { c''2. | e'2. | } \repeat volta 2 { d''4 | f'4 | %bar 2 e''1 | g'1 | %bar 3 d''1 | f'1 | %bar 4 c''2. | e'2. | } b'4 | d'4 | %bar 5 c''1 | e'1 | } \score { \displayLilyMusic \new Staff { \Vone } \new Staff { \Vtwo } } There is, indeed, a slight complication over the most simple version, namely the additional { ... } pair before the \repeat. The reason for that is obvious when looking at the output of the \displayLilyMusic: GNU LilyPond 2.19.26 Processing `sumb.ly' Parsing... \new Staff { { { c''2. } \repeat volta 2 { d''4 | e''1 | d''1 | c''2. } b'4 | c''1 } } \new Staff { { { e'2. } \repeat volta 2 { f'4 | g'1 | f'1 | e'2. } d'4 | e'1 } } One can see that _most_ | events are preserved, but those at the end of some music list are removed. This caters fine for the _end_ of the repeats but it doesn't help before they start. So while the code doesn't special-case this situation as well, one can employ this extra brace pair to fix it. Maybe the code _should_ meddle there as well. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Repeats in \parallelMusic
For example, 2.19.25, given : fagottThemaAndanteConVariazioni = \relative f { \clef bass \key g \major \time 2/4 \tempo Thema andante con variazioni \set Score.skipBars = ##t % page 43 \repeat volta 2 { \partial 8*1 d8\p | \barNumberCheck #1 g4 a | b4 c | d4 c8 cis | d4. r8 | \myBreak\myDisplayBarNum\barNumberCheck #5 r8 g,8\f a4 | r8 b8 c4 | d4 c4 | c4( b8) } \repeat volta 2 { r8 | r8 gis8\p( a b) | c8\f-. d( e) r8 | \myBreak\myDisplayBarNum\barNumberCheck #11 fis,8\p( g a fis) | b8 c( d) r8 | b4\f d | g4 e | r8 d8 c4 | c4( b8) } \break % page 44 produces: JM Le 26 août 2015 à 17:12, Jacques Menu imj-muz...@bluewin.ch a écrit : Hello David, Wouldn’t all that be much simpler without \parallelMusic, with just one variable per staff contents? JM Le 26 août 2015 à 16:02, David Sumbler da...@aeolia.co.uk a écrit : On Wed, 2015-08-26 at 14:10 +0200, David Kastrup wrote: David Sumbler da...@aeolia.co.uk writes: is it possible to have repeats starting and ending within a bar when using \parallelMusic? \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \repeat volta 2 { d''2 d'' | f'2 f' | %bar 2 c''2 c'' | e'2 e' | } %bar 3 g''1 | c''1 | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } That, of course, works fine. But suppose that the repeat should start in the middle of bar 1 and end in the middle of bar 2. This is easily done when setting the parts separately; but can it be done within a \parallelMusic structure? On the face of it, the answer would seem to be no. Or is it? Any reason you neither try it out nor add any template to demonstrate on? A user list is primarily a knowledge resource: making use of the different knowledge and skill levels of the participants for overcoming hurdles, not for running the whole track. It should be easy enough for yourself to modify the example such that the repeats are on partial measure positions. With respect, I could see no obvious way in which it could be done, which is why I asked. I suppose it was the proverbial stupid question. Anyway, after trying several more (im)possibilities, I found a method that worked but produced error messages. Then I remembered Stephen MacNeil's helpful suggestion a few months ago regarding incomplete final bars. An example is: \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \set Score.measureLength = #(ly:make-moment 3/4) c''2. | \set Score.measureLength = #(ly:make-moment 3/4) e'2. | \repeat volta 2 { \set Score.measureLength = #(ly:make-moment 1/4) d''4 | \set Score.measureLength = #(ly:make-moment 1/4) f'4 | %bar 2 \set Score.measureLength = #(ly:make-moment 4/4) e''1 | \set Score.measureLength = #(ly:make-moment 4/4) g'1 | %bar 3 d''1 | f'1 | %bar 4 \set Score.measureLength = #(ly:make-moment 3/4) c''2. | \set Score.measureLength = #(ly:make-moment 3/4) e'2. | } \set Score.measureLength = #(ly:make-moment 1/4) b'4 | \set Score.measureLength = #(ly:make-moment 1/4) d'4 | %bar 5 \set Score.measureLength = #(ly:make-moment 4/4) c''1 | \set Score.measureLength = #(ly:make-moment 4/4) e'1 | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } Not exactly succinct, but it works. I am sending this to the list (a) so that I can find it again when I actually need it (b) in case somebody knows a neater solution to the problem. David ___ 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: OT: Beauty of programming languages
So I owe you 1€: what is you IBAN? JM Le 26 août 2015 à 15:50, Martin Tarenskeen m.tarensk...@gmail.com a écrit : On Wed, 26 Aug 2015, Andrew Bernard wrote: Writing by hand with a fountain pen. Look it up folks! I looked it up: https://en.wikipedia.org/wiki/Edsger_W._Dijkstra 1€ question for the young : whom does EWD stand for, and did he bring to computer science? -- MT___ 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: OT: Beauty of programming languages
Andrew Bernard andrew.bern...@gmail.com writes: lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of imj-muz...@bluewin.ch wrote: 1€ question for the young : whom does EWD stand for, and did he bring to computer science? Writing by hand with a fountain pen. Look it up folks! Seriously? My dad did all of his Theoretical Physics stuff including the scripts by fountain pen for probably more than 4 decades. And he is 4 years younger than Dijkstra (if you digged up the latter). He still does for his own work, though he switched to LaTeX for scripts and articles a few decades ago. I don't know how many bottles of ink and blotter rolls he may have used up over the years... -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: OT: Beauty of programming languages
Jacques Menu imj-muz...@bluewin.ch writes: 1€ question for the young : whom does EWD stand for, and did he bring to computer science? 5 forks. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: OT: Beauty of programming languages
I am older and know the answer. Am I eligible? Andrew On 26/08/2015 23:30, Jacques Menu lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of imj-muz...@bluewin.ch wrote: 1€ question for the young : whom does EWD stand for, and did he bring to computer science? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Repeats in \parallelMusic
On Wed, 2015-08-26 at 14:10 +0200, David Kastrup wrote: David Sumbler da...@aeolia.co.uk writes: is it possible to have repeats starting and ending within a bar when using \parallelMusic? \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \repeat volta 2 { d''2 d'' | f'2 f' | %bar 2 c''2 c'' | e'2 e' | } %bar 3 g''1 | c''1 | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } That, of course, works fine. But suppose that the repeat should start in the middle of bar 1 and end in the middle of bar 2. This is easily done when setting the parts separately; but can it be done within a \parallelMusic structure? On the face of it, the answer would seem to be no. Or is it? Any reason you neither try it out nor add any template to demonstrate on? A user list is primarily a knowledge resource: making use of the different knowledge and skill levels of the participants for overcoming hurdles, not for running the whole track. It should be easy enough for yourself to modify the example such that the repeats are on partial measure positions. With respect, I could see no obvious way in which it could be done, which is why I asked. I suppose it was the proverbial stupid question. Anyway, after trying several more (im)possibilities, I found a method that worked but produced error messages. Then I remembered Stephen MacNeil's helpful suggestion a few months ago regarding incomplete final bars. An example is: \version 2.18.0 \parallelMusic #'(Vone Vtwo) { %bar 1 \set Score.measureLength = #(ly:make-moment 3/4) c''2. | \set Score.measureLength = #(ly:make-moment 3/4) e'2. | \repeat volta 2 { \set Score.measureLength = #(ly:make-moment 1/4) d''4 | \set Score.measureLength = #(ly:make-moment 1/4) f'4 | %bar 2 \set Score.measureLength = #(ly:make-moment 4/4) e''1 | \set Score.measureLength = #(ly:make-moment 4/4) g'1 | %bar 3 d''1 | f'1 | %bar 4 \set Score.measureLength = #(ly:make-moment 3/4) c''2. | \set Score.measureLength = #(ly:make-moment 3/4) e'2. | } \set Score.measureLength = #(ly:make-moment 1/4) b'4 | \set Score.measureLength = #(ly:make-moment 1/4) d'4 | %bar 5 \set Score.measureLength = #(ly:make-moment 4/4) c''1 | \set Score.measureLength = #(ly:make-moment 4/4) e'1 | } \score { \new Staff { \Vone } \new Staff { \Vtwo } } Not exactly succinct, but it works. I am sending this to the list (a) so that I can find it again when I actually need it (b) in case somebody knows a neater solution to the problem. David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: OT: Beauty of programming languages
David, With a great deal of respect and admiration, I return to you a quote you once sent to me: Wrangling down that attacking Rottweiler was actually not all that hard. It boils down to the same grips and holds we used to employ for killing lions when I was young. Sincerely, Mark -Original Message- From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of David Kastrup Sent: Wednesday, August 26, 2015 8:24 AM To: Andrew Bernard andrew.bern...@gmail.com Cc: LilyPond User Group lilypond-user@gnu.org Subject: Re: OT: Beauty of programming languages Andrew Bernard andrew.bern...@gmail.com writes: lilypond-user-bounces+andrew.bernard=gmail@gnu.org on behalf of imj-muz...@bluewin.ch wrote: 1€ question for the young : whom does EWD stand for, and did he bring to computer science? Writing by hand with a fountain pen. Look it up folks! Seriously? My dad did all of his Theoretical Physics stuff including the scripts by fountain pen for probably more than 4 decades. And he is 4 years younger than Dijkstra (if you digged up the latter). He still does for his own work, though he switched to LaTeX for scripts and articles a few decades ago. I don't know how many bottles of ink and blotter rolls he may have used up over the years... -- David Kastrup ___ 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: Make a new staff occupy the same vertical space as a previous staff
On Tue, Aug 25, 2015 at 10:26 PM, Joel Ebel jbe...@mybox.org wrote: On Tue, Aug 25, 2015 at 9:53 PM, David Kastrup d...@gnu.org wrote: The following appears to work here. Of course it begs the question whether we should provide a context definition like that, possibly with a better name, in LilyPond by default. Is there a way to get it to stop printing TAB (vertically, in the clef space) on subsequent lines after switching to a RhythmicStaff? See attached example. \version 2.19.25 \new ChordNames \chordmode { c1 c } \new Line { \new TabStaff { \relative c { c4 e g c %\stopStaff } %\stopStaff } \stopStaff \new RhythmicStaff { 4 8 8~8 8 4 \break 4 4 4 4 1 } } \relative c' { c1 c c c } \layout { \context { \name Line \type Engraver_group \consists Axis_group_engraver \accepts TabStaff \accepts RhythmicStaff } \context { \Score \accepts Line } }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Issue tracker
I've been scouring the list archives for the past half hour trying to find out where the new issue tracker is (now that the Google Code one has been frozen). Can anyone point me in the right direction? Thanks, Dan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user