lilypond-user
[Top][All Lists]
Advanced

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

Re: How to write a ly:pitch? as element of a pair?


From: Urs Liska
Subject: Re: How to write a ly:pitch? as element of a pair?
Date: Wed, 21 Mar 2018 15:48:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Hi Malte, David,

thank you for your suggestions.


Am 21.03.2018 um 15:43 schrieb David Kastrup:
Urs Liska <address@hidden> writes:

Hi all,

...


So is there a convenient way to write a pitch within a Scheme expression?
Like usual with quoting.

transposition = #`( ,#{ d' #} . "D")

Or even without quoting:

transposition = #(cons #{ d' #} "D")

But frankly: I'd use separate variables instead.


Indeed, now that I see it this really isn't an option. Probably I'll rather change the other end of the rope and don't treat the data as a pair internally at all.

Thanks again
Urs



reply via email to

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