/* MuseScore Plugin: Tab Ring * * Copyright © 2024 yonah_ag * * This program is free software; you can redistribute it or modify it under * the terms of the GNU General Public License version 3 as published by the * Free Software Foundation and appearing in the accompanying LICENSE file. * * Description * ----------- * Collapse multi-voice stave into a single voice * It's very slow due to the use of cmd-pad but I can't find an alternative * * 26 Oct 2024 | 1.0 | Initial release * 27 Oct 2024 | 1.1 | Handle chords and ties */ import QtQuick 2.2 import QtQuick.Controls 1.5 import QtQuick.Layouts 1.3 import QtQuick.Controls.Styles 1.4 import QtQuick.Dialogs 1.2 import MuseScore 3.0 MuseScore { version: "1.1" description: "Merge voices in first stave of score" menuPath: "Plugins.Merge Voices" requiresScore: true pluginType: "dialog" // Global variables property var zLog : false // view process log only property var zMV : true // = !zLog but used inside inner loop so have a var property var nofSel : 0 // count of selected elements property var nofUpd : 0 // count of notes updated property var tout : "" // text output file property var tlog : "" // text output log line property var tdet : "" // message dialog detail property var nofM : 0 // no. of measures property var nofS : 0 // no. of segments property var nofN : 0 // no. of notes property var nofT : 0 // no. of tiebacks property var tickEnd : 0 // end of score tick property var tickFr : 0 // Tick From property var tickTo : 0 // Tick To // Score Map property var mIX : [] // Map index property var mMez : [] property var mTick : [] property var mFace : [] // Face value length property var mMIDI : [] // MIDI note value for 2nds detection property var mTup : [] // Tuplet factor or 0:Not a tuplet property var mTie : [] // 0:No tie, 1:Tie forward, -1:Tie back property var mVox : [] // Voice 0-3 within each Part property var mPlay : [] // Play flag:
=Play,