|
From: | Aaron Hill |
Subject: | Re: simple scheme function #{ $note #} |
Date: | Fri, 11 May 2018 10:40:14 -0700 |
User-agent: | Roundcube Webmail/1.3.6 |
On 2018-05-11 09:34, David Kastrup wrote:
There is no "incomplete music expression". #{ ... #} is used for converting a whole slew of different expression types from LilyPond syntax to Scheme: pitches, durations, markups, music, numbers with dimension and other stuff. A pitch is not an "incomplete music expression". It's a type of its own.
The error message reads pretty clearly, though. The result of a music function cannot be a single NOTENAME_PITCH.
Of course, if returning a single pitch *is* valid for a music function, then either the error message is misleading or there is a underlying bug that needs to be addressed.
-- Aaron Hill
[Prev in Thread] | Current Thread | [Next in Thread] |