Noteflight Tuplet Improver

allows you to make tuplets of any size in Noteflight!

作者
Colton Stone
日安装量
0
总安装量
1
评分
0 0 0
版本
1.2.0
创建于
2025-06-14
更新于
2025-06-18
大小
2.0 KB
许可证
GPL-3.0-or-later
适用于

About

Noteflight only gives you the option to make tuplets with up to 7 notes, but if you take a look at its code, you'll notice that you can actually make tuplets of any size! I made this userscript because I didn't want to have to keep pasting code into the console every time I opened a score.

How to use

  1. Select the note or rest you want to turn into a tuplet.
  2. In the Rhythm palette, click the septuplet button.
  3. Enter the number of notes you want in the dialog that will open.
  4. Press enter or click OK.

Credits

Extra stuff

If anyone wants the original code but doesn't want to go to the comment section of the score to find the code, here it is:

nfeditor.palette().currentPalette().applyTuplet=(e) => {if (e=="septuplet") {l=prompt("Enter number of notes in tuplet: ");nfeditor.documentController.controller.createTuplet(parseInt(l));} else {nfeditor.palette().currentPalette().applyAction("tuplet",{duplet:2,triplet:3,quadruplet:4,quintuplet:5,sextuplet:6}[e])}}

But there's really no point in not going to the score because it's an amazing piece of music.

Notes

In a later version, I might add an item to either the userscript context menu, the site context menu, or both, I'm not sure yet. I might also add a new button to the palette (obviously with GM_addElement) for larger tuplets.

Changelog

  • v1.0.0 — Initial release