What happens to a note when it is deleted from a chord by a plugin?

• Jun 9, 2012 - 10:45
Type
Plugins
Severity
S5 - Suggestion
Status
closed
Project

I want to write a plugin to check voice 1 chords for chords with two notes, and move the lower of the notes to voice 2. I'm wondering about the following code:

noteToShift = voice1Cursor.note(0);
voice1Cursor.removeNote(0)

is noteToShift still a valid note after this, that I can add to a new chord for voice 2, or has it been deleted?

Thanks,
Yvonne


Comments