fixed osc server

This commit is contained in:
Jade (Rose) Rowland 2024-04-21 17:52:22 -04:00
parent 5d8eea7299
commit 57ad278137
4 changed files with 7 additions and 8 deletions

View file

@ -62,8 +62,8 @@ export const valueToMidi = (value, fallbackValue) => {
};
// used to schedule external event like midi and osc out
export const getEventOffsetMs = (targetTime, currentTime) => {
return (targetTime - currentTime) * 1000;
export const getEventOffsetMs = (targetTimeSeconds, currentTimeSeconds) => {
return (targetTimeSeconds - currentTimeSeconds) * 1000;
};
/**