lilypond-user
[Top][All Lists]
Advanced

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

question about large-scale use of Pitch objects


From: David Nalesnik
Subject: question about large-scale use of Pitch objects
Date: Wed, 8 Aug 2018 09:53:48 -0500

Hi all,

I'm working with very large Scheme lists of pitches in an ly file,
transforming them, and passing them about from function to function.
Right now, I'm using actual Pitch objects (such as you would produce
with ly:make-pitch).  Would it be a better idea to work with pitches
simply as number lists--for example, (0 0 0) for middle C--and
instantiate the pitches only at the end when I'm ready for
typesetting?  This would of course require writing Scheme versions of
ly:pitch-transpose, ly:pitch-diff, and the like.

This may be a "try it and see" type of question, but I thought I would
ask before I embark on such a major revision of my work.

Best,
David



reply via email to

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