You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.
I'm not sure it warrants creating another example since it's not that complicated to set up but I thought I'd mention it since it took me a while to figure out that it was possible to use a HTML5 source as an input aka:
audio = p.select('#audio');
analyzer = new p5.Amplitude();
analyzer.setInput(audio);
It's especially useful in cases like mine where a file is too large to work well with loadSound().
Perhaps a note in the setInput reference page?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm not sure it warrants creating another example since it's not that complicated to set up but I thought I'd mention it since it took me a while to figure out that it was possible to use a HTML5 source as an input aka:
audio = p.select('#audio');
analyzer = new p5.Amplitude();
analyzer.setInput(audio);
It's especially useful in cases like mine where a file is too large to work well with loadSound().
Perhaps a note in the setInput reference page?
The text was updated successfully, but these errors were encountered: