[Top][All Lists]

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

Re: Pitch variable

From: Mats Bengtsson
Subject: Re: Pitch variable
Date: Mon, 03 Jan 2005 13:19:18 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

If you know the Scheme programming language, you can do this
fairly easily, see for example the example in
the Tips and Tricks document. However, there's no builtin support
for this kind of variables using the \transpose syntax.


Gilles wrote:

Is it possible to have a variable for referring to a pitch?
I.e to be able to write something like:
from = e
to = g
music = \notes { a4 b a c d }
transposedmusic = \transpose \from \to \music

Best regards,

lilypond-user mailing list

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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