remove console statement
This commit is contained in:
parent
c29c4c0a8b
commit
ad230a8dc7
1 changed files with 0 additions and 1 deletions
|
|
@ -6,7 +6,6 @@ const OFF_MESSAGE = 0x80;
|
||||||
|
|
||||||
export function processMidi(output) {
|
export function processMidi(output) {
|
||||||
return this.onTrigger((time, hap, currentTime) => {
|
return this.onTrigger((time, hap, currentTime) => {
|
||||||
console.log('here');
|
|
||||||
const { note, nrpnn, nrpv, ccn, ccv } = hap.value;
|
const { note, nrpnn, nrpv, ccn, ccv } = hap.value;
|
||||||
const offset = (time - currentTime) * 1000;
|
const offset = (time - currentTime) * 1000;
|
||||||
const velocity = Math.floor((hap.context?.velocity ?? 0.9) * 100); // TODO: refactor velocity
|
const velocity = Math.floor((hap.context?.velocity ?? 0.9) * 100); // TODO: refactor velocity
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue