[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repeats on paper and on MIDI output
From: |
Han-Wen Nienhuys |
Subject: |
Re: Repeats on paper and on MIDI output |
Date: |
Tue, 12 Jun 2001 10:39:15 +0200 |
address@hidden writes:
> > ly2dvi myscore
>
> Is there a way to accomplish this trick with only one
> file. That is, is it possible to have the equivalent
> of mynotes.ly and myscore.ly in a single file, in the
> above example?
Yes. It involves hacking around with Scheme and \apply; basically,
you change the music-properties 'iterator-ctor and 'length of a repeat
to change repeat behavior. See also c++.scm, function repeat-name-to-ctor
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen/