"Marcus Macauley" <[EMAIL PROTECTED]> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user