Hi,
I'm trying to create some tools for setting choir pieces. I have run
against a problem where I have a music function that needs the result of
another music function. That other function uses a Lilypond code block, so
it takes both parser and location. For reasons I don't understand, I cannot
g
You can't call music functions directly from Scheme code. You have to
either wrap the call in #{ #} or use `ly:music-function-extract` to
extract the procedure itself and call that.
(In general, `Wrong type to apply` means you're trying to call something
that isn't a procedure.)
On 03/12/17
2017-03-12 22:46 GMT+01:00 Morten Lemvigh :
> Hi,
>
> I'm trying to create some tools for setting choir pieces. I have run against
> a problem where I have a music function that needs the result of another
> music function. That other function uses a Lilypond code block, so it takes
> both parser a
Am 12.03.2017 um 22:53 schrieb caag...@gmail.com:
You can't call music functions directly from Scheme code. You have to
either wrap the call in #{ #} or use `ly:music-function-extract` to
extract the procedure itself and call that.
In recent development versions, that’s obsolete. E.g.
{ #(bar
Hi,
Thank you for your answer - seems so much good is coming :-). Lilypond is
just amazing!
- and also a lesson to myself about checking renames in example code :-)
Best regards,
Morten
On Sun, Mar 12, 2017 at 11:30 PM, Thomas Morley
wrote:
> 2017-03-12 22:46 GMT+01:00 Morten Lemvigh :
> > H