Working on the glissando plugin with the help of Mike, I discovered a bug in NWC that's visible also to non-programmers.
The API functions doesn't take care of an accidental "inherited" via a tie from a previous measure.
For the common user this is apparent, as far as I can tell, only if you try to use the courtesy accidentals like here:
!NoteWorthyComposerClip(2.751,Single)
|Note|Dur:4th|Pos:b0^
|Bar
|Note|Dur:4th|Pos:n0)
!NoteWorthyComposerClip-End
Not such a big trouble, luckily.
But, as programmer, I had to reinvent the wheel performing a lot of the parsing NWC already does normally... :(
Not sure why this should be a bug: A b-flat is different from a b-natural, so they cannot be tied. What do I overlook?
But there is an obvious bug in NWC, to be seen here:
!NoteWorthyComposerClip(2.751,Single)
|Clef|Type:Treble
|Note|Dur:4th|Pos:b0^
|Bar
|Clef|Type:Bass
|Note|Dur:4th|Pos:0
!NoteWorthyComposerClip-End
These two should not be tied.
H.M.
It's a bug because the courtesy accidental is automatically inserted this way by NWC!
To be more specific, let's start with:
!NoteWorthyComposerClip(2.751,Single)
|Note|Dur:4th|Pos:b0^
|Bar
|Note|Dur:4th|Pos:0
!NoteWorthyComposerClip-End
Then right click on the last (the tie receiver) note and select "coutesy accidental".
VoilĂ ... wrong.
My 2.75a.2 is "even wronger" - when I do what you say I get a completely impossible thing :o :P :'( - see the attached images!!
But after saving and reloading it's actually as you show it.
Ok - a bug, or maybe two :)
H.M.