Tap tempo
Reported version
3.0
Type
Ergonomical (UX)
Frequency
Few
Severity
S5 - Suggestion
Status
active
Regression
No
Workaround
No
Project
Hi guys,
Just got an idea about feature into musescore. I make a mockup with this idea consisting in adding a Tap Tempo button near the BPM selection when creating a score. You can find the tempo by clicking repeatedly on the button.
See attachement for a more precise idea ;-)
Comments
This is something I'd like to work on, if there's a chance that the end result would actually be merged.
Interesting idea.
It seems to me that it would be better to assign the switch to a key on the keyboard rather than the mouse. As a keyboard player I really can tell the difference. :) Great project.
Hi, has anyone worked on this ? This would so useful !!
In reply to Hi, has anyone worked on… by parkingb
In the meantime, I made this plugin for MS3.x:
Tap Tempo plugin for MuseScore 3.x : https://github.com/lgvr123/musescore-taptempo
If such a feature were to be implemented, probably;y it makes sense to do it in a way that it can be accessed from a tempo text as well as in the new score wizard, as it would be at least as important in setting tempo after score creation. Perhaps even during playback.
In reply to If such a feature were to be… by Marc Sabatella
> it makes sense to do it in a way that it can be accessed from a tempo text as well
That's what my plugin is about.
I would like to see also a global tempo change :
the user changes one tempo text and all the tempo texts are changed proportionality, so that the "tempo structure/ratios" of the score stays unaffected (so incl. the tempo texts added by the TempoChange plugin).
Regarding the playback tempo, I would definitely keep that separates from the score tempo.
I would be a merely "Play at : [ 50 ] %". So that it doesn't affect the tempo structure/ratios of the score.
Does this tap tempo plugin work with MuseScore 4? Would really be handy to have some kind of tap tempo in the menu bar of MuseScore. I write charts all the time and workflow is always opening the song/piece on youtube, opening an app called tempomate and then tapping with the letter T to find the tempo and then I enter that tempo into my new score in MuseScore. Would be great if I could do that all in MuseScore even if it isn't implemented in any complex kind of way. Just a clickable box on the menu bar that shows you an average of your mouse clicking to display a tempo in that same box and additionally if there could be a shortcut for that so that you don't even have to use the mouse.. Just tap a specific key and it shows you what the average tempo is of your tapping.
In reply to Does this tap tempo plugin… by pmzilfo
> Does this tap tempo plugin work with MuseScore 4?
Haven't tried yet. The best way to know is to try by yourself.
On my side, I know I haven't adapted the plugin for 4.0. But the modification are simple. Feel free to fork my code, port it to MS4.0 using these guidelines and to create a pull requested so that I can merge it.
+1 on the Tap Tempo feature request!
Would like to see this built in rather than implemented via a plugin.
In reply to Does this tap tempo plugin… by pmzilfo
I made a quick attempt to port my "Tap tempo" plugin to MS4.0. Unfortunately, it doesn't show up the MS4 plugins list. I don't know why. I already had this issue with other plugins. I won't investigate further that issue. I'll wait until a MS4.x version with an improved support for plugins.
You can nevertheless download that version code and try to solve it on your side.
In reply to I made a quick attempt to… by parkingb
The problem in MS4 is (error in log):
MuseScore4Development/Plugins/musescore-taptempo-MS4/taptempo/taptempo.qml:123:14: Cannot override FINAL property"
line 123:
property var valueRole: "mult"
if i change this to just:
valueRole: "mult"
the plugin shows up. (and seems to work ok)
PR submitted
If OK is clicked in the "Invalid Selection" warning box, MS4 just crashes however => 2nd PR
In reply to The problem in MS4 is (error… by graffesmusic
The fix for having it working in MS4.0 breaks the plugin in MS3.6.2. :facepalm:
property var valueRole: "mult"
leads to "Cannot override FINAL property" in MS4, whilevalueRole: "mult"
leads to "Cannot assign to non-existent property "valueRole" in MS3.6How to deal with this is beyond my knowledge of QML.
But this seems an error in MS4.0.
Because this is the same code, using the same library version : "QtQuick.Controls 2.2"
And
valueRole
has been added from "QtQuick.Controls 2.14". So MS4.0 should not complain about it being explicitly declared in the code.Is this something to report as issue for MS4.0 ?
In reply to The fix for having it… by parkingb
guys thanks for trying really.. I don't have any coding background so I can't offer anything useful. Would be great to have this feature added even if it's really simple like just a button that you tap on that calculates an avg tempo of your taps. The plugin doesn't have to automatically insert it into the score or anything fancy.. Just a button that you tap and the button text can be the avg tempo of the last 8 taps.. I dunno.. I wish I knew how to code.. What coding language do you use for MuseScore?
Try
If that doesn't work, I'm affraid you'd need separate versions for Mu3 and M4
In reply to Try Component… by Jojo-Schmitz
The version in https://github.com/lgvr123/musescore-taptempo/tree/MS4 works fine in MS4
But, as far as I understood, not in Mu3
But well possible that I misunderstood...
Yes, this MS4 version cannot be used in MS3.
My comment was for pmzilfo, not for your solution to make it work for both versions. Sorry.
In reply to Yes, this MS4 version cannot… by graffesmusic
Thanks graffesmusic I’ll download and give it a shot!
In reply to But, as far as I understood,… by Jojo-Schmitz
I could manage to make it work by a workaround.
But the strange behaviour of MS3.6 vs. MS4.0 with
Qt.QuickControls 2.2
is still there...In reply to The problem in MS4 is (error… by graffesmusic
Hi @graffesmusic, you debugged my Tap Tempo under MS4. I'm interested to know how you achieved this. My last plugin doesn't work in MS4 and I wanted to quickly check if this was something fixable or not. Thanks.
Hi parkingb
Under Ubuntu Linux, using a nightly build, the errors (with line number) are being logged in ~/.local/share/MuseScore/MuseScore4Development/logs/
e;g.
2023-02-06T07:02:55.358 | ERROR | main_thread | PluginView | load: Failed to load QML plugin from QVariant(QUrl, QUrl("file:///home/xxx/Documents/MuseScore4Development/Plugins/HarmonyAnalyzer.qml"))
2023-02-06T07:02:55.358 | ERROR | main_thread | PluginView | load: "file:///home/xxx/Documents/MuseScore4Development/Plugins/HarmonyAnalyzer.qml:4:1: module \"QtWebEngine\" is not installed"
or
2023-02-06T07:02:55.392 | ERROR | main_thread | AppShell | run: error: file:///home/xxx/Documents/MuseScore4Development/Plugins/Modulator_MuseScore4-main/modulator.qml:687:17: QML GridLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
I guess this also would be logged in Windows, somewhere.
What is your latest plugin?
In reply to Hi parkingb Under Ubuntu… by graffesmusic
Thanks. I found it on Windows too. It is in C:\Users\xxxx\AppData\Local\MuseScore\MuseScore4Development\logs.
My new plugin is not published yet . First some debug in MS4.
For anyone interested, I just released a new plugin "Score from Template" that helps creating a score from a template (like it would be done in office-like applications).
And I have incorporated my "Tap Tempo" box in it:
Unfortunately it doesn't work with MS4.0 as the minimal API support of MS4.0 does not allow to read and write scores.