Simple tuplets input

Feature Request: Simplify tuplet input I would like Dorico to have a simpler way to input tuplets. When entering just a number X, it automatically creates a tuplet ratio of X : (the largest power of two that is less than or equal to X).

Examples:

  • Type 5 → 5:4
  • Type 6 → 6:4
  • Type 7 → 7:4
  • Type 9 → 9:8
  • Type 26→ 26:16

The existing tuplet input logic should remain unchanged, so users can still type explicit custom ratios for special tuplets.

Of course I know that 3 already works with this shorthand. I hope this behaviour can be extended to support more numbers.

That would be amazing!

Use AutoHorKey on Windows, the equivalent on Mac. No need for Dorico feature. And its much more powerful than the suggestion here. AutoHotKey is free and the scripting language can be learned in ten minutes.

I am using a Mac and I need to input tuplets very frequently so I have created a workaround for myself.
I have 4 Dorico scripts that represent what I need most often:
3:2, 6:4, 5:4 7:4
One script example:

local app=DoApp.DoApp()
app:doCommand([[NoteInput.EndTupletRun]])
app:doCommand([[NoteInput.StartTupletRun?Definition=7:4]])

As you see it will end the previous tuplet run, if present (I am not using nested tuplets to save performers’ nerves) and then defines the tuplet.
These scripts are invoked from Keyboard Maestro that simply calls their menu items using simple keycommands like ctrl-NUM7 in this case.
I could also do this:

  1. bring up Keyboard Maestro with dialog asking user to input a number (or 2)
  2. insert entered data to a predefined script file
  3. have Dorico run that script

Absolutely doable but I do not really need it :slight_smile:

I have assigned Keyboard Maestro function key commands to the most common tuplets.

How is that implemented?
My first approach was that Keyboard Maestro opened the Tuplet Popover and pasted tuplet definition there + ENTER. That works also but there is a BUT: why do I need to see Popover in that case? I don’t, it is just visual pollution and also takes time. The result I want is a certain tuplet run to start so I created a solution that does just that.
I am prone to overthinking and therefore I ask if you have found a simpler solution that I might have overlooked.

Sorry, I posted my solution but the idea of @William_Ren is really great and has a strong logic.

Sorry to disappoint. I am doing what you call “visual pollution”. Its a two step process.

I have re-assigned Function-12 to open the Tuplet Popover. When it is open, Function-13 pastes 3:2 into the popover, Function-14 pastes 4:3, Function-15 pastes 5:4, Function-16 pastes 6:4, Function 17 pastes 7:4, and Function-18 pastes 9:8.

The numerical sequence aids my memory.