get instrument id for a staff

• Sep 13, 2020 - 04:38

Currently working on a Sax Fingerings plugin, and I'm stuck at finding out what is the transposition of an instrument. For example, if I loop through parts:

cursor = curScore.newCursor();
cursor.staffIdx = 0; // How do I get information about this staff, like which instrument it belongs to, the transposition, etc.

Of course, with instrument changes, it may change mid-staff, so I get why staves do not hold this information, but is this information accessible from somewhere?


Comments

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