fixing some methods
This commit is contained in:
@ -2481,7 +2481,7 @@ export class UserAPI {
|
|||||||
address: address,
|
address: address,
|
||||||
port: port,
|
port: port,
|
||||||
args: args,
|
args: args,
|
||||||
timetag: Math.round(Date.now() + this.app.clock.deadline),
|
timetag: Math.round(Date.now() + (this.app.clock.nudge - this.app.clock.deviation)),
|
||||||
} as OSCMessage);
|
} as OSCMessage);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -437,7 +437,11 @@ export class SoundEvent extends AudibleEvent {
|
|||||||
if (filteredEvent.freq) {
|
if (filteredEvent.freq) {
|
||||||
delete filteredEvent.note;
|
delete filteredEvent.note;
|
||||||
}
|
}
|
||||||
superdough(filteredEvent, this.app.clock.deadline, filteredEvent.dur);
|
superdough(
|
||||||
|
filteredEvent,
|
||||||
|
this.nudge - this.app.clock.deviation,
|
||||||
|
filteredEvent.dur
|
||||||
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -461,7 +465,7 @@ export class SoundEvent extends AudibleEvent {
|
|||||||
address: oscAddress,
|
address: oscAddress,
|
||||||
port: oscPort,
|
port: oscPort,
|
||||||
args: event,
|
args: event,
|
||||||
timetag: Math.round(Date.now() + this.app.clock.deadline),
|
timetag: Math.round(Date.now() + (this.nudge - this.app.clock.deviation)),
|
||||||
} as OSCMessage);
|
} as OSCMessage);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user