Page 1 of 1

Swap Staves

Posted: Sat Nov 23, 2019 5:30 am
by apkyburz
Hi forum,

Is there a feature that allows me to swap (filtered?) content of two staves quickly? Like a window that lets me select two staves and then exchange the content?

Thanks

Re: Swap Staves

Posted: Sat Nov 23, 2019 7:03 am
by zuill
Jari's JW Staff Polyphony plugin can do it in one click.

Zuill

Re: Swap Staves

Posted: Sat Nov 23, 2019 12:33 pm
by michelp
JW Staff Polyphony, definitely. If the 2 staves are contiguous, 1 click.
As far as I know, Finale cannot select 2 staves that are not contiguous. In this case, the plug-in swaps the top and the bottom staff of the selection.
Things get a bit more complicated, and in this case you could use a temporary additional staff to duplicate the contents of the first staff before replacing the contents of the first staff by the contents of the second. Finally, copy the contents of the temporary staff and paste it into the second staff.

Re: Swap Staves

Posted: Sat Nov 23, 2019 4:35 pm
by zuill
I think an easier way might be to create a new Linked part with just the 2 staves needing swapping. In the linked part, they are now contiguous. Do the swap in the linked part. Then, back in the score, they are now swapped, avoiding, I think, too much extra work.

Zuill

Re: Swap Staves

Posted: Sat Nov 23, 2019 4:55 pm
by michelp
Great idea, zuill !

Re: Swap Staves

Posted: Sat Nov 23, 2019 5:10 pm
by motet
Easy:

1) Select one of the staves. Press Ctrl-C,which will put in on the clipboard.

2) Select the other staff. Copy it to the first one with ctrl-click, which will leave the clipboard alone.

3) With the second staff still selected, press Ctrl-V, which will paste the original first staff from the clipboard.

I think this is even easier than opening up the JW plug-in and locating the proper section.

Re: Swap Staves

Posted: Sat Nov 23, 2019 5:18 pm
by michelp
Thanks, motet, a good reminder.

Re: Swap Staves

Posted: Sat Nov 23, 2019 5:25 pm
by motet
This also has the advantage of employing the filter if desired, which I think apkyburz requested.

Re: Swap Staves

Posted: Sat Nov 23, 2019 5:46 pm
by Peter Thomsen
I always swap staves in that way.

The instructions by motet are for Windows.

Here comes “the Mac version”:

1) Select one of the staves. Press Cmd-C, which will put the selected on the Clipboard.

2) Select the other staff. Copy it to the first one with Option-click, which will leave the Clipboard alone.

3) With the second staff still selected, press Cmd-V, which will paste the original first staff from the Clipboard.

By The Way:
Unless I am mistaken, the Ctrl-Click (Option-click) copying trick was added to Finale in version 2006.

Re: Swap Staves

Posted: Sat Nov 23, 2019 7:11 pm
by Nick Mazuk
There's a JW Lua script that does exactly what you're looking for:

http://jwmusic.nu/jwplugins/wiki/doku.p ... wap_staves

Re: Swap Staves

Posted: Sat Nov 23, 2019 7:22 pm
by motet
Cool. Top and bottom staves is a clever way to get around the non-contiguous problem. Do CopyMusic() and PasteMusic() employ the filter?

Edit: From the comment, it sounds like not.

Re: Swap Staves

Posted: Sat Nov 23, 2019 10:53 pm
by michelp
motet wrote:
Sat Nov 23, 2019 7:22 pm
Top and bottom staves is a clever way to get around the non-contiguous problem.
Unless I miss something, it looks like the JW Lua script has the same limitations as the JW Staff polyphony plugin (top & bottom staves are not contiguous if there are more than 2 staves). But anyway, we have several solutions.

Re: Swap Staves

Posted: Sat Nov 23, 2019 10:59 pm
by Nick Mazuk
michelp wrote:
Sat Nov 23, 2019 10:53 pm
motet wrote:
Sat Nov 23, 2019 7:22 pm
Top and bottom staves is a clever way to get around the non-contiguous problem.
Unless I miss something, it looks like the JW Lua script has the same limitations as the JW Staff polyphony plugin (top & bottom staves are not contiguous if there are more than 2 staves). But anyway, we have several solutions.
What do you mean by "non-contiguous" in this case?

Re: Swap Staves

Posted: Sat Nov 23, 2019 11:12 pm
by michelp
You are right. Swapping 1-2, 1-3, 2-3 is always 1 click. The script and the plug-in function the same way.

Re: Swap Staves

Posted: Sat Nov 23, 2019 11:37 pm
by motet
You're right--JW Staff Polyphony swaps top and bottom selected staves as well, so the two you want to swap need not be contiguous (I didn't read carefully above).

But the copy-and-paste method seems not only easier (no plug-in to find, open, and navigate), but it uses the filter if desired. I guess if you were doing a bunch of swaps in a row, the plug-in might be better.

Re: Swap Staves

Posted: Sun Nov 24, 2019 4:08 am
by Nick Mazuk
If you're looking to use the JW Lua script and combine it with a keyboard shortcut, I just realized I made a video about it a while back.

https://youtu.be/muqHt_X2oFY

This will allow you to:
- swap staves instantly
- use a keyboard shortcut
- avoid opening up a plugin every time
- avoid using extra staves

Re: Swap Staves

Posted: Sun Nov 24, 2019 4:14 am
by apkyburz
Thank you everyone for the competent answers.

@motet: particularly good answer, sometimes we can't see the forest for the trees; thanks.