use performance clock for osc mode
This commit is contained in:
parent
8da1d9fbf3
commit
796f741a92
5 changed files with 19 additions and 8 deletions
|
|
@ -87,6 +87,10 @@ export const getAudioContext = () => {
|
|||
return audioContext;
|
||||
};
|
||||
|
||||
export function getAudioContextCurrentTime() {
|
||||
return getAudioContext().currentTime
|
||||
}
|
||||
|
||||
let workletsLoading;
|
||||
function loadWorklets() {
|
||||
if (!workletsLoading) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue