Live Audio setup #11
|
What’s the easiest way to feed live audio into the Emotive Engine and drive particle emission based on volume? Like, I want to the particles to react to increase and decrease volume. |
Answered by
joshtol
Oct 29, 2025
Replies: 1 comment
|
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. |
0 replies
Answer selected by
joshtol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.