included midichan value in midikeys haps

This commit is contained in:
eefano
2026-06-02 13:14:30 +02:00
parent 0c61cd7670
commit 05a43ef687
+1 -1
View File
@@ -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) {