help-gnu-music
[Top][All Lists]
Advanced

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

Re: Parsing arguments


From: Jan Nieuwenhuizen
Subject: Re: Parsing arguments
Date: 26 Feb 2001 10:27:03 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Han-Wen Nienhuys <address@hidden> writes:

> > rept = "volta"
> > mel = \notes \repeat \rept 2 { c d e f }

> > And then, how do I create repeated midi-output together with volted
> > paper-output...?
> 
> good question. Frankly, I don't know. Your best bet is a Scheme \apply
> also check out repeat-name-to-ctor in c++.scm

well, with your patch, one would do (that's why Rune asked, I guess)

midi-score.ly:
   rept = "unfolded"
   \include score.ly
paper-score.ly:
..

Although the use an 'if' somewhere would be handy...

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

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