Skip to main content
Topic: User Tool Bug in 1z (Read 3596 times) previous topic - next topic

User Tool Bug in 1z

This applies to any User Tool that writes to StdOut.
If your selection includes a Beam=First and does not include a Beam=End, the beamed note group will become unbeamed. This also applies to a selection of Beam=End without Beam=First

This also happens if you simply select the first or last beamed note and press ctrl+c followed by ctrl+v

For testing, here is possibly the world's shortest VBScript User Tool:
Code: [Select · Download]
Do Until WScript.StdIn.AtEndOfStream
WScript.StdOut.WriteLine WScript.StdIn.ReadLine
Loop

Another problem with beamed notes:
Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|Note|Dur:8th|Pos:-1|Opts:Beam=First
|Note|Dur:8th|Pos:1|Opts:Beam=End
|Note|Dur:8th|Pos:1|Opts:Beam=First
|Note|Dur:8th|Pos:-1|Opts:Beam=End
!NoteWorthyComposerClip-End
In order to paste a beamed group and keep it beamed, all the stems should have the same direction.  The paste parser will usually detect this and unbeam them, but it evidently misses the case where notes have different default directions and none of the notes have a stem direction specified.

I was trying to write an enhanced Audit Note Stems, that would ignore RestChords and work with a selection. It works fine until it gets to beamed notes ...

Registered user since 1996

Re: User Tool Bug in 1z

Reply #1
We will evaluate the pasting of beam fragments for possible improvements...

It is intended to allow beam groups to be pasted via text that do not have any pre-established stem direction, so this should behavior probably be fixed.

Re: User Tool Bug in 1z

Reply #2
The next release includes enhancements in this area. In the next release, a user tool, or a clipboard paste operation, can replace any selected part of a beam, including the start or end point.


 

Re: User Tool Bug in 1z

Reply #4
I should also add that the next release will handle clip text that includes beamed groups with no assigned stem direction.