remove unessecary changes

This commit is contained in:
Jade (Rose) Rowland 2024-04-06 17:31:56 -04:00
parent 183d3ea4a1
commit cbfa09a2da
3 changed files with 5 additions and 7 deletions

View file

@ -6,7 +6,7 @@ const OFF_MESSAGE = 0x80;
const CC_MESSAGE = 0xb0;
Pattern.prototype.midi = function (output) {
return this.onTrigger((time, hap, currentTime, cps, targetTime) => {
return this.onTrigger((time_deprecate, hap, currentTime, cps, targetTime) => {
let { note, nrpnn, nrpv, ccn, ccv, velocity = 0.9, gain = 1 } = hap.value;
//magic number to get audio engine to line up, can probably be calculated somehow
const latency = 0.03;