Skip to main content
Topic: Fake Key item not provided to User Tool (Read 3875 times) previous topic - next topic

Fake Key item not provided to User Tool

With this clip:
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.51,Single)
|Key|Signature:Bb|Tonic:F
|Note|Dur:Whole|Pos:0
|Bar
|Key|Signature:F#|Tonic:G
|Note|Dur:Whole|Pos:0
!NoteWorthyComposerClip-End
if measure 2 selected, the context provided to a User Tool is:
Quote from: STDIN (snippet)
|Context|Bar:1
IMO, it should be:
Quote
|Fake|Key|Signature:Bb|Tonic:F
|Context|Bar:1
If a Tool inserts item(s) before the bar, it may matter very much what the Key is.
The PHP library function: NWC2PlayContext() will make bad assumptions about the Key and subtle bugs may result.
Registered user since 1996