fixed
This commit is contained in:
parent
e0c4997f1e
commit
5d8eea7299
5 changed files with 137 additions and 123 deletions
|
|
@ -61,6 +61,11 @@ export const valueToMidi = (value, fallbackValue) => {
|
|||
return fallbackValue;
|
||||
};
|
||||
|
||||
// used to schedule external event like midi and osc out
|
||||
export const getEventOffsetMs = (targetTime, currentTime) => {
|
||||
return (targetTime - currentTime) * 1000;
|
||||
};
|
||||
|
||||
/**
|
||||
* @deprecated does not appear to be referenced or invoked anywhere in the codebase
|
||||
* @noAutocomplete
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue