Re: c#(+6 2)

2018-03-14 Thread Gianmaria Lari
On 14 March 2018 at 10:13, David Kastrup wrote: > Gianmaria Lari writes: > > > On 12 March 2018 at 10:06, Gianmaria Lari > wrote: > > > >> > >> > >> On 12 March 2018 at 09:25, David Kastrup wrote: > >>> > >>> From the "Extending LilyPond" guide: > >>> > >>> 1.2.1 LilyPond Scheme syntax > >>> -

Re: c#(+6 2)

2018-03-14 Thread David Kastrup
Gianmaria Lari writes: > On 12 March 2018 at 10:06, Gianmaria Lari wrote: > >> >> >> On 12 March 2018 at 09:25, David Kastrup wrote: >>> >>> From the "Extending LilyPond" guide: >>> >>> 1.2.1 LilyPond Scheme syntax >>> >>> >>> The Guile interpreter is part of LilyPo

Re: c#(+6 2)

2018-03-14 Thread Gianmaria Lari
On 12 March 2018 at 10:06, Gianmaria Lari wrote: > > > On 12 March 2018 at 09:25, David Kastrup wrote: > >> Gianmaria Lari writes: >> >> > On 11 March 2018 at 10:58, David Kastrup wrote: >> > >> >> Then Scheme expressions written using # in the middle of music are >> >> expected to be music ex

Re: c#(+6 2)

2018-03-12 Thread Gianmaria Lari
On 12 March 2018 at 09:25, David Kastrup wrote: > Gianmaria Lari writes: > > > On 11 March 2018 at 10:58, David Kastrup wrote: > > > >> Then Scheme expressions written using # in the middle of music are > >> expected to be music expressions. > > > >> If you want to insert an actual > >> duratio

Re: c#(+6 2)

2018-03-12 Thread David Kastrup
Gianmaria Lari writes: > On 11 March 2018 at 10:58, David Kastrup wrote: > >> Then Scheme expressions written using # in the middle of music are >> expected to be music expressions. > >> If you want to insert an actual >> duration, you need to write it preceded with $ so that it can have >> diff

Re: c#(+6 2)

2018-03-12 Thread Gianmaria Lari
On 11 March 2018 at 10:58, David Kastrup wrote: > Gianmaria Lari writes: > > > Just to understand how does it work the relation between scheme and > > lilypond. Why this does not work? > > > > \version "2.19.81" > > { c#(+6 2) } > > > > I would expect this compile to > > > > \version "2.19.81" >

Re: c#(+6 2)

2018-03-11 Thread David Kastrup
Gianmaria Lari writes: > Just to understand how does it work the relation between scheme and > lilypond. Why this does not work? > > \version "2.19.81" > { c#(+6 2) } > > I would expect this compile to > > \version "2.19.81" > { c8 } So much wrong with this... First, (+6 2) calls 6 as function