use performance clock for osc mode
This commit is contained in:
parent
8da1d9fbf3
commit
796f741a92
5 changed files with 19 additions and 8 deletions
|
|
@ -412,6 +412,11 @@ export class ClockCollator {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
export function getPerformanceTimeSeconds() {
|
||||
return performance.now() / 1000
|
||||
}
|
||||
|
||||
// Floating point versions, see Fraction for rational versions
|
||||
// // greatest common divisor
|
||||
// export const gcd = function (x, y, ...z) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue