[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What are the "rules" for repeats?
From: |
Mats Bengtsson |
Subject: |
Re: What are the "rules" for repeats? |
Date: |
Mon, 07 Jun 2004 11:34:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
I think that the manual is quite clear on this:
http://lilypond.org/doc/v2.2/Documentation/user/out-www/lilypond/Repeat-syntax.html#Repeat%20syntax
especially about showing examples both with and without alternative
endings and what happens when the number of alternative endings
does not match the number of times the section is repeated.
The number just specifies the number of times the section should
be played (normally 2).
As always, yuo are welcome to propose clarifications to the
manual.
/Mats
Jim Sabatke wrote:
Mats Bengtsson wrote:
Jim Sabatke wrote:
I've been coding a program to convert BMW bagpipe music files into
lilypond format. I've followed repeat examples and am have not been
using \repeat for repeated sections that do not have alternative
endings.
What is the "approved" format for using repeats?
Didn't you beleive my previous answer?
\repeat volta 2 { some music }
/Mats
Of course I believe you. I just want to be sure I understand. I'm sure
you understand how hard it is to fix a parser once you've committed to a
plan.
I had mentioned in a previous message that I thought that "repeat volta
2" requires 2 alternative endings, so I had not been using the "repeat
volta" syntax for repeats with no alternative endings.
I have not yet tried to generate midi music from the lilypond source,
and I assume the proper syntax is required for that.
If I have two lines that repeat with no alternative endings, do I use
"\repeat volta 0," or "\repeat {," or something different?
Or, if I have one alternative ending, with a d.s. al fine, do I use
\repeat volta 1?
Thank you,
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================