Skip to main content
Topic: Bar Numbering using the bar number user plug in (Read 1669 times) previous topic - next topic

Bar Numbering using the bar number user plug in

Is there a way to RE-START bar numbering from "1" (or from any other number for that matter) MIDWAY through a piece of music using the bar number user plugin?

Thank you,
Noel

Re: Bar Numbering using the bar number user plug in

Reply #1
Couldn't be easier. Just insert a new object and specify the number you want it to start at. The numbers will continue from there.
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.751,Single)
|Clef|Type:Treble
|TimeSig|Signature:4/4
|User|BarCounter.nw|Pos:7|Class:StaffSig|AllBars:Y
|Rest|Dur:Whole
|Bar
|Rest|Dur:Whole
|Bar
|Rest|Dur:Whole
|Bar
|Rest|Dur:Whole
|Bar
|Rest|Dur:Whole
|Bar
|User|BarCounter.nw|Pos:7|Class:StaffSig|AllBars:Y
|Rest|Dur:Whole
|Bar
|Rest|Dur:Whole
|Bar
|Rest|Dur:Whole
|Bar
|Rest|Dur:Whole
|Bar
|Rest|Dur:Whole
|Bar
|Rest|Dur:Whole
!NoteWorthyComposerClip-End

Re: Bar Numbering using the bar number user plug in

Reply #2
Thank you!  that fixed the problem.

It appears that there are two bar counter user objects and it seems that I was playing with the wrong one.

Noel

Re: Bar Numbering using the bar number user plug in

Reply #3
I should have named the other object Rehearsal Mark.ms; it is probably a more accurate name for it. That would avoid some confusion.

Re: Bar Numbering using the bar number user plug in

Reply #4
I should have named the other object Rehearsal Mark.ms; it is probably a more accurate name for it. That would avoid some confusion.
??? ???
Probably you're talking about "BarLabel.ms".
Maybe Noel was referring to "BarCounter.nw" and "BarCounter.hmm", even if I don't see why they shouldn't both work as expected.

Re: Bar Numbering using the bar number user plug in

Reply #5
Quote
Maybe Noel was referring to "BarCounter.nw" and "BarCounter.hmm", even if I don't see why they shouldn't both work as expected.

Yes.  I put the barcounter.nw at the very beginning and then barcounter.hmm where I wanted the change.  Just like PageTxt and PageTxtMaestro.  But it did not give me the desired results.

Problem is now solved.

Re: Bar Numbering using the bar number user plug in

Reply #6
I put the barcounter.nw at the very beginning and then barcounter.hmm where I wanted the change.  Just like PageTxt and PageTxtMaestro.
Well, they are alternative, with barcounter.hmm being more advanced (more options).
It's not a good idea to mix them. As far as I know (I didn't try), they are not compatible.

 

Re: Bar Numbering using the bar number user plug in

Reply #7
I recently wanted a bar number at the start of each staff. I inserted BarCounter.hmm at the beginning of the staff with Pos: 7; Starting bar number: 1; Hide starting bar number checked; Every n-th bar: 0.  In what would become the fifth staff line I wanted to number ten bars 1-10. I added another BarCounter.hmm with Pos: -8.5; Starting bar number: 1; Every n-th bar: 1; Excluded bars: 11-999. The bars were numbered as expected, but the original entry was cancelled, so there were no more bar numbers at the start of the rest of the staves. The only way I could get all staff lines numbered was to replace the first entry with BarCounter.nw. So I would say they do work together.
Improvement to .hmm that would be nice: Allow Every n-th bar: 1 to not cancel Every n-th bar: 0.
Another improvement I would like: If Every n-th bar was not 0, provide an option to move the bar number a distance to the right (or left, though I'm not sure that would ever be needed) of the bar line, or to the first note or rest in the bar. Or to print the number in the middle of the measure, but I suspect that calculation would be difficult or impossible.

Re: Bar Numbering using the bar number user plug in

Reply #8
So I would say they do work together.
I would say they work independently as two different plugins, not surprising, having different names.