Skip to main content

Audio From Microphone

The Audio from Microphone node captures real-time audio streams from a device's microphone, allowing for creative and functional effects through sound-based interaction

audio from microphone node

The node captures external audio inputs for processing into various outputs, such as:

  • Volume detection: Outputs the loudness of the sound
  • Tone detection: Outputs the pitch or tone of the sound
  • Speech-to-text: Converts spoken audio into text for advanced effects or functionality

Output

NameData TypeDescription
Microphone Audio StreamAudio StreamThe audio stream obtained from the device's microphone (requires microphone access)

Use the Audio From Microphone Node

  1. Add the Audio From Microphone node

  2. Connect the Audio From Microphone node to an audio output node like Detection Output or Pitch Detection

    audio from microphone input
  3. Ensure that all microphone audio stream data is consumed

note

It is unnecessary to connect the microphone output to a speaker to avoid feedback or echo issues

Example Use Cases

  • Pitch-based effect: Trigger different animations or transitions based on the tone or pitch of the user's voice. Check out the Perfect Pitch template in Effect House!

  • Animal sound game: Players mimic the sounds of animals displayed on the screen, and the game advances if the correct sound is detected. Check out the Guess the Animal Sound template in Effect House!

    multiple audio from microphone nodes
  • Trigger effects with keywords: Use specific keywords or phrases to trigger special effects (for example, saying "go" to start a transition)