highestNote property
Note
get
highestNote
Implementation
Note get highestNote {
return notes.reduce(
(a, b) => a.pitch.midiNumber > b.pitch.midiNumber ? a : b,
);
}
Note get highestNote {
return notes.reduce(
(a, b) => a.pitch.midiNumber > b.pitch.midiNumber ? a : b,
);
}