From 05a43ef687729766524dde006964ef31cf045fce Mon Sep 17 00:00:00 2001 From: eefano <77832+eefano@users.noreply.github.com> Date: Tue, 2 Jun 2026 13:14:30 +0200 Subject: [PATCH] included midichan value in midikeys haps --- packages/midi/midi.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/midi/midi.mjs b/packages/midi/midi.mjs index bd40b743e..51a077115 100644 --- a/packages/midi/midi.mjs +++ b/packages/midi/midi.mjs @@ -633,7 +633,7 @@ export async function midikeys(input) { */ return; } else { - value = { ...value, note: Math.round(note), velocity: velocity / 127 }; + value = { ...value, note: Math.round(note), velocity: velocity / 127, midichan: message.channel }; } kHaps[input].push(new Hap(span, span, value, {})); if (!noteoff && triggerAvailable) {