[JW Lua] Set staff to chromatic transposition

Robert Patterson robert at robertgpatterson.com
Thu Mar 30 17:49:23 CEST 2023


I have added a comment to the docs for SetChromaticTranspose that hopefully
explains this issue. Let me know if you encounter any other issues.

On Thu, Mar 30, 2023 at 9:25 AM Robert Patterson <
robert at robertgpatterson.com> wrote:

> That change is actually happening in the Getter function, and it has to do
> with how Finale stores them. Basically, you should store the
> ChromaticTranspose option first, then set the interval and alteration. Then
> it should stick.
>
> That said, I am not 100% there isn't a bug. Let me know if you are seeing
> incorrect results once they have been set.
>
>
>
> On Thu, Mar 30, 2023 at 9:10 AM Robert Patterson <
> robert at robertgpatterson.com> wrote:
>
>> Yes, I agree Hide Key and Show Acci could be improved as it works with
>> Speedy Entry. But everything else is much better than with Chrom Trans.
>> Especially copy/paste.
>>
>> You may get better Speedy results if you set Enharmonic Spelling to Use
>> Default. (Or if you do like I do and always enter concert pitch with
>> Transpose MIDI on Input enabled.)
>>
>> Nevertheless there is the occasional frustration: like it is impossible
>> to enter Gb on a horn part (with a key of NoKey) no matter which Enharmonic
>> Spelling you use. I complained about this once to MakeMusic and,
>> unbelievably, got pushback.
>>
>> The PDK Framework also has a dump mechanism, but it isn't as
>> comprehensive. Check out __FCBaseData.CreateDataDump.
>>
>>
>> On Thu, Mar 30, 2023 at 8:57 AM Aaron Sherber <aaron at sherber.com> wrote:
>>
>>> Unfortunately, Hide Key Signature and keyless scores don't do what I
>>> want -- they both assume an underlying key. (So, for example, any Cs and Fs
>>> I enter in a Bb clarinet part automatically become sharped.) It seems that
>>> only chromatic transposition lets me enter what I see on the page with no
>>> alterations. I can't understand why Finale implemented keyless scores this
>>> way; Sibelius got it right.
>>>
>>> I did diff the Enigma dumps to see what was going on; it wasn't
>>> immediately clear to me what the differences represent, but I'll take
>>> another look. In any case, this isn't hugely important -- just would be a
>>> nice time saver to have a script to change all key sig transposed staves to
>>> chromatic.
>>>
>>> Thanks,
>>> Aaron.
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Mar 30, 2023 at 9:44 AM Robert Patterson <
>>> robert at robertgpatterson.com> wrote:
>>>
>>>> I can't recall ever having figured this out. I would encourage you not
>>>> to use Chromatic Transposition and instead to use Hide Key Signature and
>>>> Show Accidentals instead. Chromatic Transposition is a legacy feature.
>>>>
>>>> That said, if you are determined to figure it out, you can use my Enigma
>>>> Text Dump
>>>> <https://robertgpatterson.com/-fininfo/-downloads/download-free.html>
>>>> plugin with a text comparison tool as follows:
>>>>
>>>>    1. Create a small file containing only the value you want to change.
>>>>    2. Run the Text Dump plugin and save to somewhere easy: i usually
>>>>    save to my Desktop folder (mac) as 1.txt.
>>>>    3. Make the change in Finale that you are interested in.
>>>>    4. Run the Text Dump plugin and save to 2.txt.
>>>>    5. Compare the results with your text tool.
>>>>
>>>> This shows you the scope of changes you need to make to accomplish your
>>>> task.
>>>>
>>>>
>>>>
>>>> On Thu, Mar 30, 2023 at 7:58 AM Aaron Sherber <aaron at sherber.com>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I'm wondering if anyone knows the secret sauce for changing a
>>>>> transposing staff from key signature transposition to chromatic
>>>>> transposition.
>>>>>
>>>>> If I take a staff with key sig transposition and set
>>>>> TransposeChromatic to true, then odd things happen to other values. For
>>>>> example, a Bb clarinet staff with key sig has interval=1, alter=2. Once I
>>>>> set TransposeChromatic, those numbers immediately change to interval=67,
>>>>> alter=0. And it turns out that the values I actually want in order to get
>>>>> things to look right are interval=2, alter=0. Horn in F starts with
>>>>> interval=4, alter=1 and goes to interval=2, alter=1 after setting
>>>>> TransposeChromatic. And if I try setting alter=0, it becomes -1.
>>>>>
>>>>> Am I missing something here?
>>>>>
>>>>> Thanks,
>>>>> Aaron.
>>>>> _______________________________________________
>>>>> JWLua mailing list
>>>>> JWLua at jwmusic.nu
>>>>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>>>>
>>>> _______________________________________________
>>>> JWLua mailing list
>>>> JWLua at jwmusic.nu
>>>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>>>
>>> _______________________________________________
>>> JWLua mailing list
>>> JWLua at jwmusic.nu
>>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20230330/c9d83bc7/attachment.htm>


More information about the JWLua mailing list