NoteWorthy Composer Forum

Forums => General Discussion => Topic started by: Flurmy on 2024-01-18 03:20 pm

Title: NWC bug
Post by: Flurmy on 2024-01-18 03:20 pm
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...  :(
Title: Re: NWC bug
Post by: hmmueller on 2024-01-18 04:01 pm
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.
Title: Re: NWC bug
Post by: Flurmy on 2024-01-18 05:08 pm
It's a bug because the courtesy accidental is automatically inserted this way by NWC!
Title: Re: NWC bug
Post by: Flurmy on 2024-01-18 05:13 pm
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.
Title: Re: NWC bug
Post by: hmmueller on 2024-01-18 05:25 pm
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.