move zzfx stuff to separate file
This commit is contained in:
parent
afb8ab44cf
commit
1463f27a0f
4 changed files with 113 additions and 94 deletions
|
|
@ -6,6 +6,7 @@ import {
|
|||
panic,
|
||||
webaudioOutput,
|
||||
registerSynthSounds,
|
||||
registerZZFXSounds,
|
||||
} from '@strudel.cycles/webaudio';
|
||||
import { registerSoundfonts } from '@strudel.cycles/soundfonts';
|
||||
import { useCallback, useState } from 'react';
|
||||
|
|
@ -26,7 +27,7 @@ async function init() {
|
|||
import('@strudel.cycles/osc'),
|
||||
);
|
||||
|
||||
await Promise.all([loadModules, registerSynthSounds(), registerSoundfonts()]);
|
||||
await Promise.all([loadModules, registerSynthSounds(), registerZZFXSounds(), registerSoundfonts()]);
|
||||
}
|
||||
init();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue