fix: double registering

This commit is contained in:
Felix Roos 2023-08-30 15:32:45 +02:00
parent 1463f27a0f
commit 90cdea3656
4 changed files with 8 additions and 20 deletions

View file

@ -6,7 +6,6 @@ import {
panic,
webaudioOutput,
registerSynthSounds,
registerZZFXSounds,
} from '@strudel.cycles/webaudio';
import { registerSoundfonts } from '@strudel.cycles/soundfonts';
import { useCallback, useState } from 'react';
@ -27,7 +26,7 @@ async function init() {
import('@strudel.cycles/osc'),
);
await Promise.all([loadModules, registerSynthSounds(), registerZZFXSounds(), registerSoundfonts()]);
await Promise.all([loadModules, registerSynthSounds(), registerSoundfonts()]);
}
init();