Note octave number in a plugin?
Within a plugin, I can get a note's pitch (e.g. tpc, tpc1, tpc2) but how do you get the octave number, if that is the term (e.g. C3, C4, C5, etc)? The pitch is on the element as in cursor.element.tpc.
Thanks
Jerry
Within a plugin, I can get a note's pitch (e.g. tpc, tpc1, tpc2) but how do you get the octave number, if that is the term (e.g. C3, C4, C5, etc)? The pitch is on the element as in cursor.element.tpc.
Thanks
Jerry
Do you still have an unanswered question? Please log in first to post your question.
Comments
sorry, found how to calculate it using "notes.pitch" in a plugin.
Thanks anyway.
Jerry