pub fn get_script_root(note_index: NoteIdx) -> Word
Returns the script root of the input note at note_index.
note_index