remove console statement

This commit is contained in:
Jade Rowland 2023-08-30 08:32:13 -04:00
parent c29c4c0a8b
commit ad230a8dc7

View File

@ -6,7 +6,6 @@ const OFF_MESSAGE = 0x80;
export function processMidi(output) {
return this.onTrigger((time, hap, currentTime) => {
console.log('here');
const { note, nrpnn, nrpv, ccn, ccv } = hap.value;
const offset = (time - currentTime) * 1000;
const velocity = Math.floor((hap.context?.velocity ?? 0.9) * 100); // TODO: refactor velocity