Skip to main content
Topic: Repeat endings problem (Read 7850 times) previous topic - next topic

Repeat endings problem

Hi all - I freely admit I'm not the smartest person in the room, but I cannot figure out how to get the repeat endings feature to playback properly. 

Here's what I'm trying to do.

I have a medley of songs that is 106 measures long from beginning to end.  I want the song to play through measure 100, then repeat back to measure 87.  Then play through measure 96, then skip to measure 101 and play to the end of the song.  Sounds simple enough.

Here's what I did, on all four staffs (staves?).  I should mention that this is a barbershop arrangement and thus has four staffs; from top to bottom - tenor, lead, baritone and bass.

1.  I put the "Master Repeat Open" bar at the beginning of measure 87. 
2.  I put the "Master Repeat Close" bar at the end of measure 100. 
3.  I inserted the 1st "Special Endings" bracket at the beginning of measure 97 and extended it to the "Master Repeat Closed" bar (at the end of measure 100). 
4.  I then inserted the 2nd "Special Endings" bracket at the beginning of measure 101 and extended it to the end of the song, although I don't think that was necessary.

On the printed paper, all this looks fine and should work out great for our barbershop quartet.  However, on the playback, the first repeat ending plays and repeats seven times which I think is the default and then stops. The second ending never plays at all. 

Any help on what I'm doing wrong would be greatly appreciated. And please simplify your answer since evidently I'm not smart enough to do what looks to be a simple repeat ending.

Thanks in advance,

Ron Davidson
Staunton, VA.

Re: Repeat endings problem

Reply #1
I would do it using flow direction commands rather than repeats.

Do the following on all staves.

At measure 87 (after first bar line) put a "segno" mark
At measure 96 (before end bar line)put a "To Coda" instruction
At measure 100 (before end bar line) put a D.S. al Coda"  mark
At measure 101 (after first bar line) put a coda mark

All of these instructions can be found in "Insert"  "Flow Direction"

This should then play back as you want. (Don't forget to do all staves)
Rich.

Re: Repeat endings problem

Reply #2
I have a medley of songs that is 106 measures long from beginning to end.  I want the song to play through measure 100, then repeat back to measure 87.  Then play through measure 96, then skip to measure 101 and play to the end of the song.  Sounds simple enough.
IOW:
1-86 is A
87-96 is B
97-100 is C
101 to the end is D
You want ABCBD
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.5)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|BoundaryBottom:20
|Lyric1|Text:"a b c d\r\n"
|Lyric2|Text:"a b c d\r\n"
|Lyric3|Text:"a b c d\r\n"
|Note|Dur:Half|Pos:-1
|Bar|Style:MasterRepeatOpen
|Ending|Endings:1,2
|Note|Dur:Half|Pos:0
|Ending|Endings:2
|Bar|Style:MasterRepeatClose
|Ending|Endings:1
|Note|Dur:Half|Pos:1
|Bar|Style:MasterRepeatClose
|Note|Dur:Half|Pos:2
|Bar|Style:SectionClose
!NoteWorthyComposer-End
Registered user since 1996

Re: Repeat endings problem

Reply #3
Rich - Your solution worked!  But I guess you already knew it would.  :-) Thanks so much!  At least now I can play the song and it comes out properly.

Rick - Please excuse my ignorance, but I'm not sure what to do with the script you wrote.  I know it's a programming script, and I've seen several here on the forum, but I'm not sure what one is supposed to do with it.  Thank you so much for your efforts!  It is greatly appreciated.  I hope you (or someone) will reply to let me know how these scripts are to be installed(?) and used.

Thanks again!

Ron

Re: Repeat endings problem

Reply #4
I'm not sure what to do with the script you wrote.
Just click the download link. Select 'open' when prompted. If that doesn't work, try 'save' and then drag the saved file onto NoteWorthy. More details here: https://forum.noteworthycomposer.com/?topic=7608.msg52835#msg52835
Here is another. It is a bit simpler.
Code: (nwc) [Select · Download]
!NoteWorthyComposer(2.5)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)
|Lyric1|Text:"a b c d\r\n"
|Note|Dur:Half|Pos:-1
|Bar|Style:MasterRepeatOpen
|Note|Dur:Half|Pos:0
|Bar|Style:Double
|Ending|Endings:1
|Note|Dur:Half|Pos:1
|Bar|Style:MasterRepeatClose
|Note|Dur:Half|Pos:2
|Bar|Style:SectionClose
!NoteWorthyComposer-End
Registered user since 1996

Re: Repeat endings problem

Reply #5
I saw that there is a folder in Noteworthy for Scripts.  Should the file go into that folder or just into the main folder where all the Noteworthy files are located?

Thanks,

Ron

Re: Repeat endings problem

Reply #6
The main folder. This is simply nwctxt. Scripts (aka User Tools) are mostly PHP. You will see lots of color in a PHP script.
Registered user since 1996

Re: Repeat endings problem

Reply #7
FWIW,
My choice would be Rich's solution for THIS problem.

Re: Repeat endings problem

Reply #8
My choice would be Rich's solution for THIS problem.
You might be right. You may be able to imagine what "THIS problem" is better than I can. The topic originator describes it as:
a medley of songs that is 106 measures long from beginning to end.  I want the song to play through measure 100, then repeat back to measure 87.  Then play through measure 96, then skip to measure 101 and play to the end of the song.
Without seeing the song, it is hard to tell. It could be that Rich's "segno/To Coda/D.S. al Coda/coda" instructions will make perfect sense to the singers. If not, it won't make much difference which method is used since the flow will be hidden (all or in part). Since it is a medley, one might assume that the songs will be named, in which case a simple "Repeat song X here." may suffice :)
Registered user since 1996

Re: Repeat endings problem

Reply #9
I think Ron's description of what he notated is exactly what he should have done.  Bars 87 to 95 should have played twice, and then the program should have jumped to 101.  In other words, one repeat, not six.

Rich's solution (Reply 1) does what's wanted, but more elaborately.  Both of Rick's solutions work, but his first suggestion (Reply 2) is too sophisticated for novices to follow.  Reply 4 works fine, and is really just what Ron described.

If Ron wrote the music exactly as he describes, he should not be getting the section from 87 to 95 played back 7 times, and he should hear bar 101 after bar 95 on the second time through.  If he's not, I think there could be thee possible errors:
  • a.  Maybe he's used local repeats by mistake, with a repeat value (common mistake, I think).
  • b.  Selected 1,2,3,4,5,and 6 in Special Endings (possible but unlikely), or
  • c.  Revealed a new bug in the program.

It would be interesting to see the file to figure out exactly why the repeat is wonky.

Re: Repeat endings problem

Reply #10
I am actually having a similar problem with a score I just entered for my church choir.  There are two repeated sections with special endings 1&2, then 3, and the second repeated section just plays over and over never taking the final ending.  (I never waited for 7 repeats.)  I am keeping an eye on this thread.

I am not a novice user, and have not experienced problems with repeats before.

Thanks,
Jim

Jim in Cleveland

Re: Repeat endings problem

Reply #11
When you see Code (nwc) like in replies 2 and 4 of this thread, click on Select and then Cntl/C to clipboard it.  Start NoteWorthy and then Cntl/Shift/V will create a file from the contents of the clipboard.

Even easier is this shortcut tool for your desktop Rick described in this thread.  If you follow his instructions and then assign a shortcut key to it, after Cntl/C and your shortcut key you are done.
Since 1998

Re: Repeat endings problem

Reply #12
Warren, my browser gives me these choices for the clips
Quote
Code: (nwc)   [Select · Download]

Download saves a couple of steps usually. The file will open as a new file, and if NWC is not yet open, it will open the program at the same time.

This doesn't really make Select redundant, though, because sometimes I want to copy the file to a text program to study it

.

Re: Repeat endings problem

Reply #13
I did some experimenting, and found that the presence of a double bar line within the first & second ending was the culprit in the extra repeating.  Apparently, the double bar somehow negates the repeat count.  The double bar is valid because it separates a verse section from a chorus section within the special ending.  IMO, this is a bug. 

I am used to maintaining two copies of a song file, one to print and another to play. so it's not critical, but I believe the double bar should not scramble the repeat logic.

Thanks,
Jim
Jim in Cleveland

Re: Repeat endings problem

Reply #14
Sticking a double bar line in the middle of the special ending seems unusual.  Have you seen it used often in music notated by other people?
I was able to replicate the behaviour by changing Rick's example in reply 4 as follows:

!NoteWorthyComposerClip(2.51,Single)
|Note|Dur:Half|Pos:-1
|Bar|Style:MasterRepeatOpen
|Note|Dur:Half|Pos:0
|Bar
|Bar|Style:Double
|Ending|Endings:1
|Note|Dur:Half|Pos:1
|Bar
|Note|Dur:Half|Pos:0
|Bar
|Note|Dur:Half|Pos:-1
|Bar|Style:MasterRepeatClose
|Ending|Endings:2
|Note|Dur:Half|Pos:2
|Bar|Style:SectionClose
!NoteWorthyComposerClip-End


The double bar line seems to finish the special ending so the bar(s) between the double bar and the Master Repeat Close bar line is/are not treated as part of the special ending.  

I don't think a first ending is ever used in real life without a matching second ending.  Possibly the program should treat everything after a special ending sign as a special ending until it is cancelled with another special ending.


Re: Repeat endings problem

Reply #15
FWIW, if I remember correctly, any decorated barline will terminate the special ending logic.
I plays 'Bones, crumpets, coronets, floosgals, youfonymums 'n tubies.

Re: Repeat endings problem

Reply #16
Sticking a double bar line in the middle of the special ending seems unusual.  Have you seen it used often in music notated by other people?
Standard notation uses a double bar line as part of a key change. Key changes happen in special endings in real life.

This can result in problems since NWC's treatment of double bar lines is:
Double bar lines are basically treated as special ending termination points.

In light of the above statement, my solution is:
When a double barline appears when a SE is in effect, put a hidden SE immediately after
It is not always obvious when a SE (Special Ending) is "in effect". Sometimes hidden SE's are needed, sometimes not.

I was able to replicate the behaviour by changing Rick's example in reply 4 as follows:
I can't see what you mean. If I add lyrics to it using NoteWorthy Composer 2 Note Names, the playback is ABCBABD. If I delete the double bar, the playback is ABCBABD
Registered user since 1996

 

Re: Repeat endings problem

Reply #17
As I stated earlier:

  The double bar is valid because it separates a verse section from a chorus section within the special ending. 

This is also how the published sheet music appears.  I can't post because it's copyrighted material.  I may post a template example later on today.

Jim
Jim in Cleveland

Re: Repeat endings problem

Reply #18
the double bar somehow negates the repeat count.  The double bar is valid because it separates a verse section from a chorus section within the special ending.  IMO, this is a bug.
I agree, but NoteWorthy does not. It has the only vote that matters.
You can now use this to simulate a double bar line:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.5,Single)
|Bar
|Spacer|Width:22
|Bar
!NoteWorthyComposerClip-End
Registered user since 1996

Re: Repeat endings problem

Reply #19
Thanks, Rick.  I had some kind of notion about a text solution in the back of my mind, but your solution is much cleaner.

Jim
Jim in Cleveland

Re: Repeat endings problem

Reply #20
FWIW, if I remember correctly, any decorated barline will terminate the special ending logic.
You're probably right, Lawrie.  I don't believe single or double, section open and section close bar lines should do that.

By the way, I don't recall seeing the Transparent bar line before, but it is in 2.5.5 as well as the new beta.  When was it introduced, and for what purpose?

Re: Repeat endings problem

Reply #21
I don't recall seeing the Transparent bar line before, but it is in 2.5.5 as well as the new beta.  When was it introduced, and for what purpose?
NoteWorthy Composer 2.5 Beta [Closed, Upgrade Release Available]
Quote
New in Beta Preview 35
 •  New Transparent bar line style

As of Beta Pre 35, it is recommended that you use a transparent bar line after the boundary change gap width. This will allow:
  • a system change immediately after the gap width
  • the bar line to orphan at the end of a system and not be visible

Stated purpose aside, I have tried to find a use for it and have failed. It is on my dunsel list.
Registered user since 1996

Re: Repeat endings problem

Reply #22
...I don't believe single, double, section open and section close bar lines should do that.
G'day David.  While I think there's an argument that double bar lines might be excluded from the "end repeat logic" situation (indicating a key change), I don't agree with section open/close barlines.  They absolutely should terminate the repeat logic.

I might also note that according to Alfred's a double barline prior to a  key change is not mandatory, but can be a single barline instead.
I plays 'Bones, crumpets, coronets, floosgals, youfonymums 'n tubies.

Re: Repeat endings problem

Reply #23
Thanks, Rick.

Thanks, Lawrie, and since I don't know if the section end/beginning lines should interrupt the flow, I'll edit my comment below to tacetly agree with you.