lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert Scheme symbol to pitch


From: David Kastrup
Subject: Re: Convert Scheme symbol to pitch
Date: Fri, 03 Mar 2017 00:03:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

address@hidden writes:

> On 03/02/17 23:41, Jeffery Shivers wrote:
>> Where does the string originate? If it is produced by some other
>> programming interface/language, maybe it be easier to adjust your code
>> so that the string is wrapped in something like `\myMusic = { <strings
>> here> }`.
>>
>> What does the input look like? A bunch of strings in a list/array, or
>> one big string as an input file?
>
> It's mostly a matter of convenience. Since the input data is a quoted
> list, it's easier to convert symbols than hoping #{#} doesn't
> interfere with quoting.

pitchnames is an alist with the current symbol->value associations.  The
parser internally converts this into a hashtable but I don't think that
this table is user-accessible in any way currently.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]