Page 1 of 1

Can't get key signature to go away

Posted: Tue Feb 12, 2019 5:08 am
by seimaki
I have a case where the Trumpet needs to switch between Bb, C and D (at least on paper)

So that I can have accurate playback, I used the Change Instrument function, however, when I did this something happened that undid the Hide Key Signatures & Show Accidentals option I had selected in Score Manager. Now there's a key signature change that I really can't have in the middle of the piece.

I'd like to be able to switch instruments and still have hidden key signatures throughout the score.

Thanks!

Re: Can't get key signature to go away

Posted: Tue Feb 12, 2019 6:15 am
by motet
Go to the Score Manager and expand the trumpet part as shown below. For the C and D trumpet, select them and then check "Hide key signature etc." under transposition at the lower right.

Unsolicited advice: trumpet players are transposing kings and can probably deal with a part entirely in C, even playing on the other instruments.

Re: Can't get key signature to go away

Posted: Tue Feb 12, 2019 4:57 pm
by seimaki
Thanks!

It's an arrangement, so I'm trying to keep thing in original keys within reason.

Re: Can't get key signature to go away

Posted: Tue Feb 12, 2019 6:26 pm
by seimaki
Now, how can I prevent Finale adding a double bar for the instrument change. I can't even begin to understand why it would do that

Re: Can't get key signature to go away

Posted: Tue Feb 12, 2019 6:41 pm
by zuill
There is an option for Double Barlines before Key Changes in Document Options, Barlines that can be turned off. However, since I see you are using 2012, I am baffled, as that option was not there in 2012.

Zuill

Re: Can't get key signature to go away

Posted: Tue Feb 12, 2019 7:18 pm
by motet
Since there's no key change in this case, it seems wrong to add a double bar. Probably something else that nobody thought of.

Re: Can't get key signature to go away

Posted: Tue Feb 12, 2019 8:44 pm
by seimaki
Sorry, I'm in 26 now. I need to update that in my profile.

Right, there's no key change, but it auto-inserted a double bar at the instrument change.

Re: Can't get key signature to go away

Posted: Tue Feb 12, 2019 8:49 pm
by zuill
Turn that off in Document Options. Technically, changing from a Bb Trumpet to a C Trumpet is a key change.

Zuill

Re: Can't get key signature to go away

Posted: Wed Feb 13, 2019 3:08 pm
by seimaki
Thanks! I'll have to re-enter the other double bars for key signature changes, but worth it to have the control!

Re: Can't get key signature to go away

Posted: Wed Feb 13, 2019 8:00 pm
by motet
There used to be a plug-in called "Automatic barlines" for putting double barlines at key-signature changes, but I can't find it. Maybe they took it away when they added the above-discussed option. Here's a JW Lua script for putting double barlines at key-signature and/or time-signature changes, but learning to download, install., and use JW Lua may not be worth it unless you have a whole lot of key-signature changes.

Code: Select all

function plugindef()
   -- This function and the 'finaleplugin' namespace
   -- are both reserved for the plug-in definition.
   finaleplugin.MinJWLuaVersion = "0.31"
   finaleplugin.Author = "Motet"
   finaleplugin.Version = "1.0"
   return "Double Barlines", "Double Barlines", "Create double barlnes before key- and/or time-signature changes"
end

measures = finale.FCMeasures()
measures:LoadAll()
region = finale.FCMusicRegion()
if region:SetCurrentSelection() then
    -- We will need to look at one more measure past the end to see if there's
    -- a change
    if region.EndMeasure < measures.Count then
        region.EndMeasure = region.EndMeasure + 1
    end
    measures:LoadRegion(region)
else
    if finenv.UI():AlertYesNo("No selection; entire document will be processed. Continue?", "No selection") == finale.NORETURN then
        return
    end
end

dialog = finenv.UserValueInput()
dialog.Title = "Double Barlines"
dialog:SetDescriptions("At key-signatures changes", "At time-signature changes", "Remove other double barlines")
dialog:SetTypes("Boolean", "Boolean", "Boolean")
dialog:SetInitValues(true, false, false)

options = dialog:Execute()

if options == nil then
    return
end

key = options[1]
time = options[2]
remove = options[3]

doubles = 0
added = 0
removed = 0

for measure in each(measures) do
    if lastmeasure ~= nil then
        if key and not measure.KeySignature:IsIdentical(lastmeasure.KeySignature)
        or time and not measure.TimeSignature:IsIdentical(lastmeasure.TimeSignature)
        then
            if lastmeasure.Barline == finale.BARLINE_NORMAL then
                lastmeasure.Barline = finale.BARLINE_DOUBLE
                lastmeasure:Save()
                added = added + 1
            end
        elseif remove and lastmeasure.Barline == finale.BARLINE_DOUBLE then
            lastmeasure.Barline = finale.BARLINE_NORMAL
            lastmeasure:Save()
            removed = removed + 1
        end
        if lastmeasure.Barline == finale.BARLINE_DOUBLE then
            doubles = doubles + 1
        end
    end
    lastmeasure = measure
end
print(doubles, "double barlines,", added, "added,", removed, "removed.")