[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Embedded scheme questions
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Embedded scheme questions |
Date: |
26 Feb 2001 10:16:23 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Laurent Martelli <address@hidden> writes:
> Is is possible to actually build a sequence of notes within embedded
> scheme code ?
Not yet; functions to create musics or append musics are not exported
to guile so it seems.
> I would like to implement some kind of repeat-and-shift
> that would repeat a block of music a number of times, shifting it by a
> number of degree each time. From the apply hack exemples, I can only
> tell how to modify some music.
>
> \apply #(repeat-and-shift '(0 1 2 3 2 1 0)) { c e g }
>
> would produce (in the key of C major) :
>
> c e g d f a e g b f a c e g b d f a c e g
>
>
> Also, I would like to implement an auto-fingering function. Is it
> possible to add script to the note in scheme ?
You'd have to create a new script-request from scheme, but
these are also not exported yet.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org