Retrieving the note "type" or "name"
In my plugin I would like to retrieve the type/name of a note which is selected ("A" ... "G") .
I can very well get to the Note object, gets its accidental. But not its name.
I tried "note.text", "note.label", ... I even tried
console.log('-->Note: '+ JSON.stringify(note)); (but it crashes MuseScore 8-O )
"note.pitch" gives the pitch of note, so there is no difference between a B and Cb.
Any other ideas ?