Skip to content
Discussion options

You must be logged in to vote

se the Web Audio API to capture a microphone or line-in stream (via getUserMedia → AudioContext → AnalyserNode), compute overall volume (RMS or average frequency amplitude), then map that value to the engine’s emitRate parameter.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joshtol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants