Examples
Explore our examples to discover what you can build with the ODIN Node.js SDK.
Available Examples
Stream audio files into ODIN rooms using high-level convenience methods (sendMP3, sendWAV) or low-level control. Perfect for AI voice assistants, music bots, and sound effects.
Capture audio streams from room participants and transcribe them in real-time using OpenAI Whisper or other speech-to-text services. Build voice assistants, chatbots, and content moderation tools.
These examples show how to build audio bots yourself. For a managed, production-ready alternative, ODIN Cortex provides real-time transcription, content moderation and serverless automation on top of ODIN Voice — with no bot infrastructure to run. See Cortex Transcription.
Quick Examples
Basic Recording Bot
Simple Music Bot
More Examples
Check out the tests/ folder in the SDK repository for additional examples:
tests/connection-test/- Basic connection, events, and diagnosticstests/audio-recording/- Recording peer audio to filestests/sending-audio/- Sending audio with high-level and low-level APIs