fixed osc server
This commit is contained in:
parent
5d8eea7299
commit
57ad278137
4 changed files with 7 additions and 8 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue