lilypond-user
[Top][All Lists]
Advanced

[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 smart-transpose.ly in
the Tips and Tricks document. However, there's no builtin support
for this kind of variables using the \transpose syntax.

   /Mats

Gilles wrote:
Hello.

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,
Gilles


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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