Reading instrument names

• Dec 31, 2013 - 16:56

I need to scan the staves in a score to read the instrument names into a plug-in. However, I cannot see a way of doing that. Am I missing something?


Comments

In reply to by cwhysall

Here is all the code:

var mscorePlugin =
{
menu: 'Plugins.Utilities.View Instrument Parts',
init: init,
run: run
};

mscorePlugin;

function init() {};

function run()
{
pluginName = "View Instruments";

// View Parts
ls_Errors = ""
ls_msg = "";

ls_msg += "\t\tANALYSIS OF INSTRUMENT PARTS\n";
ls_msg += "*********************************************************\n";

ls_msg += " |\tInstrument Name\t\t|\t|\tmidi \t |\n";
ls_msg += "--------|----------|----------------------------|-----------|------------|-----------|\n";
ls_msg += "Index |\tshort |\tlong \t\t| Staves\t| Channel\t | Program |\n";
ls_msg += "--------|----------|----------------------------|-----------|------------|-----------|\n";

for(li=0;li

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