Closed
Description
Hi
audioMotion demos are impressive !
I'm trying to use both https://github.com/alemangui/pizzicato and audioMotion.
I've tested many things (i'm completely new with Web Audio). No luck. My last try was
const el = document.getElementById('container');
const audioMotion = new AudioMotionAnalyzer(el, {});
audioMotion.connectInput(Pizzicato.context.destination);
const soundPath = '/path/to/sound.ogg';
const mySound = new Pizzicato.Sound(soundPath, () => {
mySound.play();
});
Error
Uncaught DOMException: Failed to execute 'connect' on 'AudioNode': output index (0) exceeds number of outputs (0)
I have no idea how to "connect" Pizzicato with AudioMotion :(
Any help is welcome, thank you !