One-button shortcut for tuplets?

Discussions about our next-generation scoring application, Dorico.
Post Reply
jeffrags
Junior Member
Posts: 64
Joined: Wed Oct 19, 2016 4:11 pm
Contact:

One-button shortcut for tuplets?

Post by jeffrags » Wed Oct 11, 2017 3:25 am

Re: viewtopic.php?f=246&t=103511#p572323
and viewtopic.php?t=104214

I have a piece of music with lots of quarter-note triplets. Unfortunately, they are almost all separate, which requires me to do 4 ; 3 enter over and over again.

The dream, of course, is to have the ability to set one or more specific tuplet ratios-with-note-basis (as in quarter-3:2) and unique shortcuts for each. How close are we to this?

Many thanks!

Chris Davey
New Member
Posts: 9
Joined: Fri May 20, 2016 5:54 am
Location: England
Contact:

Re: One-button shortcut for tuplets?

Post by Chris Davey » Wed Oct 11, 2017 7:10 am

The best I've found is this.

For a single triplet while in note entering mode:

Choose your note value (e.g. 6 for quarter note)
Click the tuplet button in the left bar with the mouse (toggle on)
Click the tuplet button again (toggle off)
Enter your notes.

This gives a single triplet without needing to type 3, reverting to non-triplet entry directly afterwards. You do have to use the mouse, but that's second nature to me, and I prefer it to using the popover. Although you have to click twice, the second click follows on from the first in the same place.

For continuing triplets enter your notes before clicking the tuplet button the second time.

Maybe this helps?
Chris Davey
Sibelius 7.1.3, Dorico 1.1.10, Windows 10

User avatar
Daniel at Steinberg
Moderator
Posts: 5397
Joined: Mon Nov 12, 2012 10:35 am
Contact:

Re: One-button shortcut for tuplets?

Post by Daniel at Steinberg » Wed Oct 11, 2017 8:59 am

Jeff, you could use a third-party macro program to record the key sequence and then map that to a shortcut otherwise unused in Dorico.

fkretlow
Junior Member
Posts: 142
Joined: Tue Nov 01, 2016 10:10 am
Contact:

Re: One-button shortcut for tuplets?

Post by fkretlow » Wed Oct 11, 2017 9:08 am

jeffrags wrote:
Wed Oct 11, 2017 3:25 am
The dream, of course, is to have the ability to set one or more specific tuplet ratios-with-note-basis (as in quarter-3:2) and unique shortcuts for each.
If you don’t want to use a macro program: Paul explained how to do this in the first thread you linked.
PaulWalmsley wrote:I haven't tried this myself, but I *think* you can create your own shortcut to your desired tuplet ratios. The command is:

NoteInput.StartTupletRun?Definition=4:3

It's likely you won't be able to edit this in the shortcut editor as it can't deal with every function that takes parameters, but you should be able to edit the keycommands.json file that you'll find in your AppData / Application Support folder.
Be sure not to break the json syntax when you edit that file. ;)
Florian

jeffrags
Junior Member
Posts: 64
Joined: Wed Oct 19, 2016 4:11 pm
Contact:

Re: One-button shortcut for tuplets?

Post by jeffrags » Wed Oct 11, 2017 9:24 am

Daniel at Steinberg wrote:
Wed Oct 11, 2017 8:59 am
Jeff, you could use a third-party macro program to record the key sequence and then map that to a shortcut otherwise unused in Dorico.
Daniel, Yamaha/Steinberg could allow you all to add this functionality (or something like it) natively to this program in a future update - lol!

In all seriousness, I'll think on the third-party macro for sure. Thanks for the idea. :-)

User avatar
MarcLarcher
Member
Posts: 900
Joined: Fri Oct 21, 2016 9:38 am
Location: France
Contact:

Re: One-button shortcut for tuplets?

Post by MarcLarcher » Wed Oct 11, 2017 7:12 pm

You can also copy-paste the tuplets and replace the pitches using lock mode (l) when the caret is active. It is very efficient.
OS X 10.11.6, macbook pro retina Late 2013
Opera singer (lyric tenor), photographer, sound engineer, XeLaTeX user and a sometimes music engraver
French is my native language

lbuckley
Junior Member
Posts: 173
Joined: Fri Nov 04, 2016 2:52 pm
Contact:

Re: One-button shortcut for tuplets?

Post by lbuckley » Mon Oct 16, 2017 6:18 am

I use Keyboard Maestro (a macro application for Mac—don’t know if there’s a PC version) widely in every application I use daily, including Dorico. For triplets, I set up F18 to start a triplet and F19 to end it (they’re easy to reach from the numeric keypad.)

And if you do enough “tripletizing" to make it worthwhile, you cd set up a pair of keystrokes for each of several triplet values. You can even use a particular keystroke to trigger the pop up, type whatever you program, and close it with Enter or Return.

Works really well.
Lew Buckley
Dorico 1.1.10
Late 2012 iMac
2.9 Ghz, 8G RAM

Waldbaer
New Member
Posts: 9
Joined: Wed Aug 23, 2017 5:49 pm
Contact:

Re: One-button shortcut for tuplets?

Post by Waldbaer » Mon Oct 16, 2017 4:40 pm

Chris Davey wrote:
Wed Oct 11, 2017 7:10 am
For a single triplet while in note entering mode:

Choose your note value (e.g. 6 for quarter note)
Click the tuplet button in the left bar with the mouse (toggle on)
Click the tuplet button again (toggle off)
Enter your notes.
...
This comes down to a double-click, which is acceptably fast. Thanks for that hint (I always used to turn of the tuplets after inputting them, which is a lot slower)!

Anyway, is there a possibility to assign a keyboard shortcut to this button? This would save the time to get to the mouse/touchpad and find the button and therefore make it faster once more.

fkretlow
Junior Member
Posts: 142
Joined: Tue Nov 01, 2016 10:10 am
Contact:

Re: One-button shortcut for tuplets?

Post by fkretlow » Mon Oct 16, 2017 7:55 pm

Waldbaer wrote:
Mon Oct 16, 2017 4:40 pm
Anyway, is there a possibility to assign a keyboard shortcut to this button? This would save the time to get to the mouse/touchpad and find the button and therefore make it faster once more.
Yes. Find your keycommands_en.json file. Depending on your language the two letters before .json might be different. The file is somewhere in your AppData or Application support folder. Add these lines within the kStepTimeInput section. Replace X with your desired shortcut. Don’t omit the apostrophes and be careful not to break the json syntax!

Code: Select all

{
"NoteInput.StartTupletRun?Definition=3:2" : [ "X" ]
},
The double click method doesn't work with a shortcut, but you always have the end tuplet shortcut for that. (Instead you can easily create a triplet within a triplet within a triplet within a triplet... :))
Hope it helps!
Florian

lbuckley
Junior Member
Posts: 173
Joined: Fri Nov 04, 2016 2:52 pm
Contact:

Re: One-button shortcut for tuplets?

Post by lbuckley » Mon Oct 16, 2017 9:15 pm

Florian, that file doesn't appear to exist on my Mac. Are you a PC guy?
Lew Buckley
Dorico 1.1.10
Late 2012 iMac
2.9 Ghz, 8G RAM

fkretlow
Junior Member
Posts: 142
Joined: Tue Nov 01, 2016 10:10 am
Contact:

Re: One-button shortcut for tuplets?

Post by fkretlow » Mon Oct 16, 2017 10:49 pm

Yep, I'm on Windows.

A quick Google search gave me this path to the Mac equivalent of the Windows AppData folder:

~/Library/Application Support

This folder is probably hidden.
Paul mentioned that folder too so I'd be very surprised if you didn't find your keycommands file there.

I'm sorry I can't be more specific. I think I've never even touched a Mac in my life...
Florian

Post Reply

Return to “Dorico”

Who is online

Users browsing this forum: Chris Davey, Robert Enns, tonywardarts and 10 guests