included midichan value in midikeys haps
This commit is contained in:
parent
0c61cd7670
commit
05a43ef687
1 changed files with 1 additions and 1 deletions
|
|
@ -633,7 +633,7 @@ export async function midikeys(input) {
|
||||||
*/
|
*/
|
||||||
return;
|
return;
|
||||||
} else {
|
} 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, {}));
|
kHaps[input].push(new Hap(span, span, value, {}));
|
||||||
if (!noteoff && triggerAvailable) {
|
if (!noteoff && triggerAvailable) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue