+
+
Inst
+
+ {instrumentId}
+
+
+
+
+
+
Note
+
noteInputEl?.focus()}
+ onkeydown={handleNoteKeyDown}
+ onkeyup={handleNoteKeyUp}
+ onblur={() => {
+ if (activeNotes.length > 0) {
+ lastPlayedNotes = activeNotes.map((n) => n.note);
+ }
+ activeNotes = [];
+ }}>
+ {activeNotes.length > 0
+ ? activeNotes.map((n) => n.note).join(' ')
+ : lastPlayedNotes.length > 0
+ ? lastPlayedNotes.join(' ')
+ : '—'}
+
+
+