For AndrewMozley - flow control
Hi Andrew,
quote from your post in the Scripto thread:
The best way to see examples of repeat functionality is at the bottom of this post.
Flow control can sometimes be a tricky problem, but in general if you understand the normal rules of flow control in music in general, the mechanisms in NWC fall into place.
We have:
Master repeat Open and Close (Decorated) bar lines and Special Endings. These function together exactly as you would expect.
- Use a Master Repeat Open bar line to start a repeated section.
- Use a Master Repeat Close bar line to cause the repeat to happen
- Special Endings are used to control how many time a repeat happens (notionally up to 7)
- Multiple Special Endings are also used to permit different repeats to have alternative notes in them.
- A Special Ending is indicated by inserting a <S> Special Ending object in the music. It will continue until it meets a decorated bar line, usually a Master Repeat Close, but it could also be a double bar line, or a section end bar line
- It is also possible to insert special ending objects whose sole purpose is to continue the boundary line to goes over the bars that are part of the particular ending. These do not have a Special Ending numerical identifier.
Unique to NWC are "Local Repeats". These repeat barlines have and open and a close, the closing variant allows you to specify an arbitrary of times through the repeated section. They do NOT exist in normal engraving. They can also cause some confusion if you don't understand how they work. They do NOT understand special endings.
You also have DC, DS, and modified variations like DC al Fine, or DS al Coda. plus, of course Coda, Segno and Fine.
In a special ending's properties you will see a "D"efault ending identifier. This is used if you need a special ending to be used after a DS or DC directive.
Lots of words - I hope it's helpful.
Examples are here:
In NWC, go to |File|Open you will see an option to Open Sample, choose this and a set of sample nwc song files is presented. Look for REPEAT1, REPEAT2, REPEAT3 and REPEAT4 and open them to see how things work.