Re: Tuplets in Metric Modulations

2018-12-20 Thread Saul Tobin
I've attached the snippet I use for metric modulation markings. Hopefully others find it useful. To use it you would write something like: \metricMark { \tuplet 3/2 { r8*2 c8 } } { c16 r16*3 } "Più tranquillo" #108 FYI – there are some issues with spacing if the marking is at a line break. On

Re: Tuplets in Metric Modulations

2018-12-20 Thread Ben
On 12/20/2018 2:27 PM, Ld2020 wrote: I am notating some rhythms that use metric modulations (a.k.a. tempo modulations). I am indicating that a triplet quarter becomes the new quarter note. What I want is a single quarter note with a triplet mark over it (3 and a bracket, spaced in such a way as

Tuplets in Metric Modulations

2018-12-20 Thread Ld2020
I am notating some rhythms that use metric modulations (a.k.a. tempo modulations). I am indicating that a triplet quarter becomes the new quarter note. What I want is a single quarter note with a triplet mark over it (3 and a bracket, spaced in such a way as to make it obvious this is one third

Frescobaldi with LilyPond in WSL (was: Fatal error compiling large project (Win10/2.19.82))

2018-12-20 Thread Urs Liska
Am 19.12.18 um 21:56 schrieb Michael Gerdau: First step would be running Frescobaldi from its Git repository (and at that occasion test if the description is accurate and also works for Windows 10): https://github.com/wbsoft/frescobaldi/wiki/Run-Frescobaldi-3-from-Git-on-Windows Commenting as

Re: scheme function

2018-12-20 Thread Gianmaria Lari
On Thu, 20 Dec 2018 at 13:35, David Kastrup wrote: > Gianmaria Lari writes: > > >> Uh, there is a difference between \markup and \mark . > > > > > > I put \mark just to make things more interesting. I'm joking. > > Shit! I made the usual stupid mistake that's perfect to complicate > >

Re: scheme function

2018-12-20 Thread David Kastrup
Gianmaria Lari writes: >> Uh, there is a difference between \markup and \mark . > > > I put \mark just to make things more interesting. I'm joking. > Shit! I made the usual stupid mistake that's perfect to complicate > things :( > > >> Once you fixed >> that, your counter will be reset

Re: scheme function

2018-12-20 Thread Gianmaria Lari
> Uh, there is a difference between \markup and \mark . I put \mark just to make things more interesting. I'm joking. Shit! I made the usual stupid mistake that's perfect to complicate things :( > Once you fixed > that, your counter will be reset to 0 for each invocation of the >

Re: scheme function

2018-12-20 Thread David Kastrup
Urs Liska writes: >>>(set! counter (1+ counter)) > > And it must be > > (set! counter (+ 1 counter)) > > (first the procedure "+", then the arguments) Have you tried? 1+ is defined as a function taking one argument. Scheme has a lot less restrictions on identifier names than some

Re: scheme function

2018-12-20 Thread Gianmaria Lari
On Thu, 20 Dec 2018 at 13:12, Gianmaria Lari wrote: > > > On Thu, 20 Dec 2018 at 13:10, Urs Liska wrote: > >> >> >> Am 20. Dezember 2018 13:02:22 MEZ schrieb David Kastrup : >> >Gianmaria Lari writes: >> > >> >> %alternate version >> >> \version "2.19.82" >> >> nextcount = >> >> #(let

Re: scheme function

2018-12-20 Thread Gianmaria Lari
On Thu, 20 Dec 2018 at 13:10, Urs Liska wrote: > > > Am 20. Dezember 2018 13:02:22 MEZ schrieb David Kastrup : > >Gianmaria Lari writes: > > > >> %alternate version > >> \version "2.19.82" > >> nextcount = > >> #(let ((counter 0)) > >> (lambda () > >>(set! counter (1+ counter))

Re: scheme function

2018-12-20 Thread Urs Liska
Am 20. Dezember 2018 13:02:22 MEZ schrieb David Kastrup : >Gianmaria Lari writes: > >> %alternate version >> \version "2.19.82" >> nextcount = >> #(let ((counter 0)) >> (lambda () >>(set! counter (1+ counter)) >>(number->string counter))) >> >> \markup #(nextcount) >>

Re: scheme function

2018-12-20 Thread David Kastrup
Gianmaria Lari writes: > %alternate version > \version "2.19.82" > nextcount = > #(let ((counter 0)) > (lambda () >(set! counter (1+ counter)) >(number->string counter))) > > \markup #(nextcount) > \markup #(nextcount) > > > I would like to know if it is possible to write

scheme function

2018-12-20 Thread Gianmaria Lari
Periodically I spend some time on lilypond/scheme hoping to understand a bit more how use them together. This is what I these days. I tried to write in different way the function nextcount that return a number, as a string, increased by one each time you call it. %standard version \version

Compiling LilyPond on Linux Mint 19.1

2018-12-20 Thread Lukas-Fabian Moser
Folks, this is mostly to give a reference to those who might hit the same problems that I had: I decided to switch from my ancient Linux Mint 17.3 to Linux Mint 19.1 yesterday. In order to set up a working build environment, I had to provide a working Guile 1.8 which seems not to be in the

Re: scheme compile error

2018-12-20 Thread Gianmaria Lari
> > [] > > For me these are not enough clear to understand the problem. Is there any > way to get a more precise indication of the error I did? > > Yes, by reading the whole output ;-) Sorry for sounding harsh, I agree > that it is non-intuitive. But often the messages for "GUILE signaled an >

Re: scheme compile error

2018-12-20 Thread Urs Liska
Am 20.12.18 um 10:52 schrieb Gianmaria Lari: This program does not compile because myvar is not defined. \version "2.19.82" test = #(cond          ((= myvar 0) "zero")          ((= myvar 1) "one")           ) \markup \test And this is the fixed version \version

scheme compile error

2018-12-20 Thread Gianmaria Lari
This program does not compile because myvar is not defined. \version "2.19.82" test = #(cond ((= myvar 0) "zero") ((= myvar 1) "one") ) \markup \test And this is the fixed version \version "2.19.82" myvar = 1 test = #(cond ((= myvar 0) "zero") ((=