My aim is to slow down the second time, so I tried this way:
!NoteWorthyComposerClip(2.51,Single)
|Clef|Type:Treble
|TimeSig|Signature:4/4
|Key|Signature:C|Tonic:C
|Dynamic|Style:f|Pos:-11
|Tempo|Tempo:100|Pos:8|Visibility:Never
|Bar|Style:MasterRepeatOpen
|Rest|Dur:8th
|Note|Dur:8th|Pos:-7|Opts:Stem=Up
|Chord|Dur:8th|Pos:-5,-2|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-7|Opts:Stem=Up,Beam=End
|Rest|Dur:8th
|Note|Dur:8th|Pos:-6|Opts:Stem=Up
|Chord|Dur:8th|Pos:-4,-2|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-6|Opts:Stem=Up,Beam=End
|Bar
|TempoVariance|Style:Ritardando|Pos:8|Visibility:Never
|Rest|Dur:8th
|Note|Dur:8th|Pos:-8|Opts:Stem=Up
|Chord|Dur:8th|Pos:-5,-3|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-8|Opts:Stem=Up,Beam=End
|Rest|Dur:8th
|Note|Dur:8th|Pos:-8|Opts:Stem=Up
|Chord|Dur:8th|Pos:-6,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-8|Opts:Stem=Up,Beam=End
|Bar
|Ending|Endings:1|ClosedBracket:Y
|Rest|Dur:8th
|Note|Dur:8th|Pos:#-9|Opts:Stem=Up
|Chord|Dur:8th|Pos:-7,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-9|Opts:Stem=Up,Beam=End
|Rest|Dur:8th
|Note|Dur:8th|Pos:-8|Opts:Stem=Up
|Chord|Dur:8th|Pos:-6,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-8|Opts:Stem=Up,Beam=End
|Bar|Style:MasterRepeatClose
|Ending|Endings:2
|Rest|Dur:8th
|Note|Dur:8th|Pos:#-9|Opts:Stem=Up
|Chord|Dur:8th|Pos:-7,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-9|Opts:Stem=Up,Beam=End
|Rest|Dur:4th
|Rest|Dur:4th
|Tempo|Tempo:50|Pos:8|Visibility:Never
|Bar
|Chord|Dur:Whole|Pos:-6,-4,-3
!NoteWorthyComposerClip-End
As you can ear, that's not the case.
To begin with, it slows down the first time too (why?).
Then, when it reaches the "ritardando" for the second time, all of a sudden it restores the standard time and then slows down. (???)
I tried this way:
!NoteWorthyComposerClip(2.51,Single)
|Clef|Type:Treble
|TimeSig|Signature:4/4
|Key|Signature:C|Tonic:C
|Dynamic|Style:f|Pos:-11
|Tempo|Tempo:100|Pos:8|Visibility:Never
|Bar|Style:MasterRepeatOpen
|Rest|Dur:8th
|Note|Dur:8th|Pos:-7|Opts:Stem=Up
|Chord|Dur:8th|Pos:-5,-2|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-7|Opts:Stem=Up,Beam=End
|Rest|Dur:8th
|Note|Dur:8th|Pos:-6|Opts:Stem=Up
|Chord|Dur:8th|Pos:-4,-2|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-6|Opts:Stem=Up,Beam=End
|Bar
|TempoVariance|Style:Ritardando|Pos:8|Visibility:Never
|Rest|Dur:8th
|Note|Dur:8th|Pos:-8|Opts:Stem=Up
|Chord|Dur:8th|Pos:-5,-3|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-8|Opts:Stem=Up,Beam=End
|Rest|Dur:8th
|Note|Dur:8th|Pos:-8|Opts:Stem=Up
|Chord|Dur:8th|Pos:-6,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-8|Opts:Stem=Up,Beam=End
|Bar
|Ending|Endings:1|ClosedBracket:Y
|Tempo|Tempo:100|Pos:8|Visibility:Never
|Rest|Dur:8th
|Note|Dur:8th|Pos:#-9|Opts:Stem=Up
|Chord|Dur:8th|Pos:-7,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-9|Opts:Stem=Up,Beam=End
|Rest|Dur:8th
|Note|Dur:8th|Pos:-8|Opts:Stem=Up
|Chord|Dur:8th|Pos:-6,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-8|Opts:Stem=Up,Beam=End
|Bar|Style:MasterRepeatClose
|Ending|Endings:2
|Rest|Dur:8th
|Note|Dur:8th|Pos:#-9|Opts:Stem=Up
|Chord|Dur:8th|Pos:-7,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-9|Opts:Stem=Up,Beam=End
|Rest|Dur:4th
|Rest|Dur:4th
|Tempo|Tempo:50|Pos:8|Visibility:Never
|Bar
|Chord|Dur:Whole|Pos:-6,-4,-3
!NoteWorthyComposerClip-End
With my great surprise, now it never slows down.
It seems that the tempo indications are not subjected to the special endings parser.
Try this:
!NoteWorthyComposerClip(2.51,Single)
|Clef|Type:Treble
|TimeSig|Signature:4/4
|Key|Signature:C|Tonic:C
|Dynamic|Style:f|Pos:-11
|Tempo|Tempo:100|Pos:8|Visibility:Never
|Bar|Style:MasterRepeatOpen
|Rest|Dur:8th
|Note|Dur:8th|Pos:-7|Opts:Stem=Up
|Chord|Dur:8th|Pos:-5,-2|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-7|Opts:Stem=Up,Beam=End
|Rest|Dur:8th
|Note|Dur:8th|Pos:-6|Opts:Stem=Up
|Chord|Dur:8th|Pos:-4,-2|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-6|Opts:Stem=Up,Beam=End
|Bar
|Ending|Endings:1|Visibility:Never
|Ending|Endings:2|Visibility:Never
|TempoVariance|Style:Ritardando|Pos:8|Visibility:Never
|Ending|Endings:1,2|Visibility:Never
|Rest|Dur:8th
|Note|Dur:8th|Pos:-8|Opts:Stem=Up
|Chord|Dur:8th|Pos:-5,-3|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-8|Opts:Stem=Up,Beam=End
|Rest|Dur:8th
|Note|Dur:8th|Pos:-8|Opts:Stem=Up
|Chord|Dur:8th|Pos:-6,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-8|Opts:Stem=Up,Beam=End
|Bar
|Ending|Endings:1|ClosedBracket:Y
|Rest|Dur:8th
|Note|Dur:8th|Pos:#-9|Opts:Stem=Up
|Chord|Dur:8th|Pos:-7,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-9|Opts:Stem=Up,Beam=End
|Rest|Dur:8th
|Note|Dur:8th|Pos:-8|Opts:Stem=Up
|Chord|Dur:8th|Pos:-6,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-8|Opts:Stem=Up,Beam=End
|Bar|Style:MasterRepeatClose
|Ending|Endings:2
|Rest|Dur:8th
|Note|Dur:8th|Pos:#-9|Opts:Stem=Up
|Chord|Dur:8th|Pos:-7,-4|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-9|Opts:Stem=Up,Beam=End
|Rest|Dur:4th
|Rest|Dur:4th
|Tempo|Tempo:50|Pos:8|Visibility:Never
|Bar
|Chord|Dur:Whole|Pos:-6,-4,-3
!NoteWorthyComposerClip-End
or try the attachment which uses a different approach.
Good workaround, thank you Rick!
Still, I don't understand why I need it.
What's the logic?
P.S. The hidden tempo staff trick is too complicated in my real score.
You are welcome. I view my solutions here as standard notation rather than workarounds or tricks.
You need to tell NWC not to perform the "ritard." on the first pass. Special Endings are the standard way to do this.
I don't know if logic is the correct word, but here is NoteWorthy's description:
It appears that "before" and "after" are meant in a visual sense rather than a logical or musical sense, e.g.:
!NoteWorthyComposerClip(2.51,Single)
|Tempo|Tempo:100|Pos:8
|TempoVariance|Style:Ritardando|Pos:13
|Note|Dur:4th|Pos:0
|Note|Dur:4th|Pos:0
|Note|Dur:4th|Pos:0
|Note|Dur:4th|Pos:0
|Ending|Endings:7
|Tempo|Tempo:16|Pos:8
!NoteWorthyComposerClip-End
I don't see any bugs here.
That's exactly what I meant with "It seems that the tempo indications are not subjected to the special endings parser."
Well, at least we can say that's not very intuitive.
What's the logic behind that choice?
Sticking my oar in here....
The parser, being a computer program and not a performer, processes things in the order in which they appear in the file, not in musical order. If the file includes an instruction to leap backward or forward in the file to a certain point, it can do that, but then it just starts processing things in order again from that point. Special endings (and other computer flow instructions) include a counter that is incremented each time the program comes to the instruction, so it knows how many times it has been there and can execute different instructions accordingly. Ritards (and other similar purely musical instructions) don't have a counter, so the program can't be told to follow them conditionally. It would be possible to include a counter, and give the user access to it through an attribute of the "ritard" command, but so far that hasn't been done, and I can understand why Eric would consider other things more important to be added or worked on.
The file is apparently stored in the order that symbols appear in the score, so "backward" and "forward" in the file would also have to be in this order. Since NWC's primary purpose is to produce a printed score, this order makes perfect sense to me.
Nothing in the hidden tempo staff is complicated. Give NWC an intial tempo to contemplate, add a ritard where you want that tempo to start and another tempo where you want the ritard to end. Unrolling the flow in a hidden staff and being simple and explicit removes complexities. At worst it requires some math, and math is hard ...
That's it.
In the actual score there are many refrains and to unroll all of them is a p.i.t.a., with the added burden of having a staff (the hidden one) completely out of synch with the others and much longer.
Very error prone, for my taste.
Your first suggestion is my way to go.