Harp pedal diagram not working

• Apr 24, 2023 - 11:40

Hello! i am trying to use the harp pedal diagram plugin in musescore 4 and although i download the plugin and install it in the right folder when i open musescore 4 and go to the plugins tab i can't find any installed plugin called "harp pedal diagram". Can anyone please help me fix that?

thanks in advance


Comments

You probably didn't enable it yet - you need to do that via Plugins / Manage plugins.

Last OI checked that plugin wasn't really properly updated for MsueScore 4 either, although maybe that's changed in the last few weeks. I started working on improvising but never finished. I think my version might work better than the one on the download page, though, so feel free to give it a shot (attached).

Attachment Size
harp_pedal_diagram_MS4_1.qml 7.47 KB

In reply to by Marc Sabatella

Seems your Mu4 port is based on an older version than mine (from March 24th, 2023), it is lacking Trudy Firestone's 2 commits from February 5th, 2022.

How about this, should work in Mu3 and Mu4, I've tried to integrate your changes into my latest version.

diff --git a/harp_pedal_diagram.qml b/harp_pedal_diagram.qml
index cc464de..6094179 100644
--- a/harp_pedal_diagram.qml
+++ b/harp_pedal_diagram.qml
@@ -15,6 +15,7 @@
 // Version 3 by Nicolas Froment 2017, use Bravura text, no external font
 // Version 4 by Joachim Schmitz 2019, port to MuseScore 3
 // Version 5 by Trudy Firestone 2021, support updating an existing pedal diagram
+// Version 5.1 by Joachim Schmitz & Marc Sabatella 2023, port to MuseScore 4
 
 import QtQuick 2.9
 import MuseScore 3.0
@@ -25,15 +26,17 @@ import QtQuick.Dialogs 1.2
 MuseScore {
   menuPath: "Plugins.Harp Pedal Diagram"
   description: "Harp Pedal Diagram"
-  version: "4.0"
+  version: "5.1"
+  requiresScore: true
   pluginType: "dialog"
   id: pedalDialog
   width: 370
-  height: 260
+  height: 360
 
   Component.onCompleted : {
     if (mscoreMajorVersion >= 4) {
       pedalDialog.title: "Harp Pedal Diagram"
+      pedalDialogcategoryCode: "composing-arranging-tools"
     }
 
   onRun: {
@@ -119,7 +122,7 @@ MuseScore {
     anchors.left: pedalDialog.left
     anchors.leftMargin: 10
     anchors.top: parent.top
-    anchors.topMargin: -5
+    anchors.topMargin: 5 //-5
     spacing: 10
     width: 20
 
@@ -136,7 +139,7 @@ MuseScore {
       id: radioVals
       anchors.left: pedalPositions.right
       RowLayout {
-        spacing: 41
+        spacing: 39
         Text  { text:  "D"; font.bold: true }
         Text  { text:  "C"; font.bold: true }
         Text  { text:  "B"; font.bold: true }

Please double-check

Attachment Size
harp_pedal_diagram.qml 9.54 KB

In reply to by Jojo-Schmitz

Much better, thanks - and that explains why I wasn't having much luck randomly adding commas!

Two things I had wanted to try to address - the need to select a range first instead of a single note, and the appearance of the dialog itself. I don't know how it looks on anyone else's system, but on mine, the alignment of the dialog is way off - the text labels, radio buttons, and diagram preview are all completely different widths. That's something I was trying to fix but got sidetracked. Could something dependent on some system details like display resolution etc.

In reply to by Jojo-Schmitz

Interesting - neither look great, but the MU4 version at least lines up the column labels with the radio buttons better. I suspect it's over-relying on fixed fixes that actually turn out to be system-dependent. Also, the color choices don't really work in dark mode. I assume that's all fixable. I just don't know how much energy I want to put into learning QML design right now. Especially if the plugin framework itself is going to be undergoing significant changes, which supposedly it will but maybe not any time soon. So I'm more going after the low-hanging fruit.

Do you still have an unanswered question? Please log in first to post your question.