lilypond-user
[Top][All Lists]
Advanced

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

Re: trying to create a note pattern using scheme ...


From: Nicolas Sceaux
Subject: Re: trying to create a note pattern using scheme ...
Date: Mon, 01 Jan 2007 18:42:48 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Wilbert Berendsen <address@hidden> writes:

> Hi all,
>
> this time I am really really delving into LilyPond, I am very much impressed 
> with the notation quality of the recent versions. I am trying to set an organ 
> piece with many repetitive notes in it, and to get a grasp on the underlying 
> structure of Lilypond.
>
> Many measures have note patterns like this one:
>
> e8 g16 e g8 e g16 e g8 e g
>
> so, two notes or chords played alternatively with the rhythm |8 16 16 8 | 8 
> 16 
> 16 8 | 8 8 | (in time 8/8).
>
> What would be an efficient way to create those patterns using a scheme 
> function, so that I could write:
>
>       \pat a c

First step: use \displayMusic, first on your function arguments, then on
the expected result:

  \displayMusic e
  \displayMusic g

  \displayMusic { e8 g16 e g8 e g16 e g8 e g }

Your music function will aim at transforming the formers into the later.

nicolas




reply via email to

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