[JW Lua] FCNote:GetString() doesn't return the written note chromatic transposition

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Wed Apr 1 09:34:49 CEST 2015


On 2015-03-30 21:52, jwlua at motetmusic.com wrote:
> With chromatic transposition, FCNote:GetString() doesn't return the
> written note. In the attached, all notes sound G4 and play back
> correctly. GetString() reports the proper /written/ note in staves 1, 2,
> and 4, but staves 3 and 5, which are set to chromatic transposition, are
> misreported. For staff 3, which is in chromatic Bb (up M. 2nd),
> GetString() returns the concert pitch of G4 instead of the written pitch
> A4. For staff 5, which is in chromatic F (up P. 5), GetString() returns
> G5 instead of the written pitch of D5. Select all before running the
> attached Lua script.
>
> I have noticed what is probably a related problem with JW Accidental and
> chromatic transposions.

Thanks for the bug report! I can confirm it and have documented it for a 
future fix. You're correct that this would affects JW Accidentals as 
well, since that plug-in uses the same method.


Best regards,

Jari Williamsson





More information about the JWLua mailing list