你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/539438-noteflight-tuplet-improver,源站連結 點此以跳轉。
allows you to make tuplets of any size in Noteflight!
当前为
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.
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.
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.