Skip to main content
Topic: NWC bug (Read 2727 times) previous topic - next topic

NWC bug

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:
Code: (nwc) [Select · Download]
!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...  :(

Re: NWC bug

Reply #1
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:
Code: (nwc) [Select · Download]
!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.

Re: NWC bug

Reply #2
It's a bug because the courtesy accidental is automatically inserted this way by NWC!

Re: NWC bug

Reply #3
To be more specific, let's start with:
Code: (nwc) [Select · Download]
!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.

 

Re: NWC bug

Reply #4
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.