diff --git a/euclidian/BeatCheckBox.qml b/euclidean/BeatCheckBox.qml similarity index 100% rename from euclidian/BeatCheckBox.qml rename to euclidean/BeatCheckBox.qml diff --git a/euclidian/TempoUnitBox.qml b/euclidean/TempoUnitBox.qml similarity index 100% rename from euclidian/TempoUnitBox.qml rename to euclidean/TempoUnitBox.qml diff --git a/euclidian/euclidian.qml b/euclidean/euclidean.qml similarity index 97% rename from euclidian/euclidian.qml rename to euclidean/euclidean.qml index c62a095..f05347d 100644 --- a/euclidian/euclidian.qml +++ b/euclidean/euclidean.qml @@ -17,17 +17,17 @@ import "selectionhelper.js" as SelHelper /**********************************************/ MuseScore { - menuPath: "Plugins." + qsTr("Euclidian Rhythm") + menuPath: "Plugins." + qsTr("Euclidean Rhythm") version: "1.0.0" requiresScore: true - description: qsTr("Create an euclidian rhythm") + description: qsTr("Create an euclidean rhythm") pluginType: "dialog" id: mainWindow Component.onCompleted: { if (mscoreMajorVersion >= 4) { - mainWindow.title = qsTr("Euclidian Rhythm"); + mainWindow.title = qsTr("Euclidean Rhythm"); mainWindow.thumbnailName = "logo.png"; // mainWindow.categoryCode = "batch-processing"; } @@ -53,7 +53,7 @@ MuseScore { var pArr=settings.freePattern; console.log("pArr: "+(pArr?JSON.stringify(pArr):"undefined")); console.log("is array ? "+Array.isArray(pArr)); - console.log("Size %1 vs. pattern %2".arg(pArr.length).arg(freePattern.count)); + console.log("Size %1 vs. pattern %2".arg(pArr?pArr.length:0).arg(freePattern.count)); if (pArr && Array.isArray(pArr)) { for(var i=0;i=0)?durationmult.get(mult.currentIndex).mult:1; for (var i = 0; i < beats.length; i++) { var play = beats[i]; var action={index: i, action: play, dur:1}; diff --git a/euclidian/logo.png b/euclidean/logo.png similarity index 100% rename from euclidian/logo.png rename to euclidean/logo.png diff --git a/euclidian/notehelper.js b/euclidean/notehelper.js similarity index 100% rename from euclidian/notehelper.js rename to euclidean/notehelper.js diff --git a/euclidian/selectionhelper.js b/euclidean/selectionhelper.js similarity index 100% rename from euclidian/selectionhelper.js rename to euclidean/selectionhelper.js