[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making notes in Scheme?
From: |
Nicolas Sceaux |
Subject: |
Re: Making notes in Scheme? |
Date: |
Mon, 16 Oct 2006 23:09:49 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
"Marcus Macauley" <address@hidden> writes:
> What I'm trying to do is create a music function whereby one can input
> certain starting values, like:
>
> \makeinfinityseries #2 #7 #1 #13
>
> Those values would be used to generate a pitch series; and then that
> pitch series would be printed in the score.
>
> I've got a working version where I specify those values at the top of
> the file, e.g.:
>
> firstNote = #2
> secondNote = #7
> octave = #1
> modulus = #13
>
> and those definitions are followed by the Scheme code, which ends with
> a (make-music) thing that prints the music, without any \score block
> (or which is assigned to an identifier that I call from within the
> \score block).
You may have a look at this article:
<http://nicolas.sceaux.free.fr/prelude/prelude.html>.
Note that it was written for a previous version of LilyPond, where
define-music-function was then called def-music-function, and other
things may be outdated.
nicolas