[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Composing music functions
From: |
Simon Albrecht |
Subject: |
Re: Composing music functions |
Date: |
Mon, 13 Mar 2017 13:45:32 +0100 |
Am 12.03.2017 um 22:53 schrieb address@hidden:
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 "|.") }
and
{ ##{ \bar "|." #} }
are now completely equivalent.
Best, Simon