Tuesday, 7 February 2012

Audit Note Stems bug

!347
Please note that you can see and participate in the most current discussion for this topic in our new user community area
- https://www.noteworthysoftware.com/forum/?topic=5111 -
View the msg source Started by Rick G. on 2005-08-09 10:19:05
NWC Text Clip What's This?  

When I enter the first Chord and then Audit Note Stems, the clipboard shows it as the second Chord. This appears to happen on all Chords with notes going in both directions.

The file saves and restores correctly and I can copy and paste. It seems that the Noteworthy Composer 2 clip format is being handled correctly but the Text clip format is lost forever. It is not corrected by a save and restore.

This bug won't be a problem for anyone not using User Tools, but it could be a rather insidious bug for those that do.

Question to Noteworthy: Is there a better way to alert you to bugs than posting the to the forum?

View the reply source  Reply 1 by David Palmquist on 2005-08-09 11:36:04
Rick, I think you entered the first chord with the forced stem direction on one or the other note. NWC interprets this as a deliberate divisi chord, and has no way to know you want it over-ridden.

If NWC were to automatically correct this, choral music writers would be a bit frustrated, I think.

David

View the reply source  Reply 2 by Rick G. on 2005-08-09 12:49:53
David, I'm not saying that NWC2 should not allow divisi. I am saying that it needs to be handled correctly.

You have to force stem direction on both notes to get the first chord. It is the normal way to get 2 voices of the same duration on one staff. Audit Note Stems should be intelligent enough to leave it alone (and in fact it does in it's internal clip format).

As it is now, Preview 1q will wreck havoc on User Tools.

adp_TransposeChords.php, adp_Ranges.php, and adp_Parts.php

are all likely to to fail or produce inaccurate results.

It is hardly acceptable to tell folks not use Audit Note Stems if the staff contains "split" chords, but that would be my best advice until there is a fix.

Anyone currently trying to debug a script has my sympathies ...

View the reply source  Reply 3 by NoteWorthy Online on 2005-08-09 13:03:47
>When I enter the first Chord and then Audit Note Stems, the clipboard shows it as the second Chord.

I am not able to reproduce the behaviour as described. Is this exactly what you did? If not, can you explain exactly what you did?

View the reply source  Reply 4 by NoteWorthy Online on 2005-08-09 13:06:18
>Audit Note Stems should be intelligent enough to leave it alone

In all of my tests, it does exactly this.

View the reply source  Reply 5 by Rob den Heijer on 2005-08-09 13:33:56
I have been trying to find out what the problem is, exactly. To no avail. Could it be that the clip is already altered? And if so, what was the 'real' original, before the Audit-operation?

Note: beware of insidious expressions like 'wreak havoc', and shun the frumious apostrophe in it's...
(or you will run into the ubiquitous grammar police)

View the reply source  Reply 6 by Rick G. on 2005-08-09 14:22:56
To produce my output:
Start with a blank score.
click quarter note. click note up. position cursor to +1. Press <enter>
click note down. Press <ctrl+down>. Press <enter>

Add a staff. Copy the chord just created to it.
Audit Note Stems on the new staff. Copy the "audited" chord to NotePad. Select all in NotePad, copy it, and paste it to the right of the chord that you entered manually. Copy both of them into the forum.

Original Chord:
|Chord|Dur:4th|Pos:1|Opts:Stem=Up|Dur2:4th|Pos2:-6

After Audit Note Stems:
|Chord|Dur:4th|Pos:|Dur2:4th|Pos2:1o|Color:0|Visibility:Default

Maybe someone can tell me what the o in Pos2:1o means. And why Color and Visibility are now listed?

I know that this looks convoluted, but this is what a User Tool sees and it is important that it be accurate.

Hope this helps,

View the reply source  Reply 7 by Rick G. on 2005-08-09 14:56:26
An easier way to see it.
Fire up Micro$oft's Clipboard Viewer
Copy this into a blank score:

NWC Text Clip What's This?  

The above is what you will see in the Clipboard Viewer's window.

Audit Note Stems then copy the two Chords. The Clipboard Viewer's display changes to:

NWC Text Clip What's This?  

As I said before, this only affects the Text Clipboard format.
The binary format appears not to be affected. That is why you see no change if you paste ...

View the reply source  Reply 8 by Rob den Heijer on 2005-08-09 16:54:09
Some light at last.
If I Audit Note Stems, then copy into my editor, and from there copy back, the first chord is changed into the second chord.
Waaaal, now that is a mite strange. And yes, it indeed means that any text-dependent tool will be affected - and it might send back wrong information.

No further questions, your honour.

View the reply source  Reply 9 by Francis Beaumier on 2005-08-09 20:25:16
Confirmed

View the reply source  Reply 10 by NoteWorthy Online on 2005-08-10 08:49:48
Confirmed. As you point out, the stem audit seems to have a strange effect on split-stem chords. Looking into it...

Copyright © 2012 NoteWorthy Software™, Inc.
All Rights Reserved.

Powered by NoteworthySoftware.com