default hydra config without audio detection
This commit is contained in:
parent
9045ce05da
commit
508a6c92b2
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ function appendCanvas(c) {
|
||||||
return testCanvas;
|
return testCanvas;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function initHydra(options = {}) {
|
export async function initHydra(options = {detectAudio: false}) {
|
||||||
//load and init hydra
|
//load and init hydra
|
||||||
if (!document.getElementById('hydra-canvas')) {
|
if (!document.getElementById('hydra-canvas')) {
|
||||||
const { src = 'https://unpkg.com/hydra-synth', ...opts } = options;
|
const { src = 'https://unpkg.com/hydra-synth', ...opts } = options;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue