lilypond-user
[Top][All Lists]
Advanced

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

Re: Getting pitch out of a pair


From: address@hidden
Subject: Re: Getting pitch out of a pair
Date: Sat, 17 Jan 2015 00:21:30 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2015-01-17 00:16, Jay Anderson wrote:
On Fri, Jan 16, 2015 at 4:02 PM, address@hidden <address@hidden> wrote:
I store two pitches in a pair variable
x = #'(b . cis')


pitches = #(cons #{ b #} #{ cis' #})
#(display (ly:pitch? (car pitches)))  => #t


Ok that works but looks really bad....
I liked the clean way the #'(b . cis') looks.

Is there some other way of storing two pitches and accessing each one in a music-function?

// Anders

--
English isn't my first language.
So any error or strangeness is due to the translation.
Please correct my English so that I may become better.



reply via email to

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