Real-time voice AI ยท built by two high-schoolers

RESONANCE

Emotional intelligence for the human voice.

An AI platform that hears how you feel, shields you from scam calls, and talks with you โ€” all in real time, right in your browser.

Launch the App โ†— See how it works โ†“
โ–ผ SCROLL
0
Emotions detected
0
Scam phrases watched
0
AI-powered modes
0
In-browser, real time
What is Resonance

Your voice carries more than words.

Resonance listens to the tone beneath your speech. A neural network trained on thousands of emotional voice clips reads feeling directly from sound, while large language models interpret meaning, flag danger, and respond with care. Three tools, one engine โ€” turning raw audio into understanding.

The Platform

Three ways it listens.

๐Ÿง 

Therapy Mode

Upload a clip or speak live. Resonance maps your emotion second-by-second and reflects it back with a gentle, AI-written insight.

  • 8-emotion detection from voice
  • Live emotion graph + dominant mood
  • AI therapeutic reflection
  • Mood trends tracked over time
๐Ÿ›ก๏ธ

Scam Shield

Put a suspicious call on speaker. Resonance transcribes it live, spots manipulation tactics, and raises a danger meter before you get fooled.

  • On-device scam-pattern matching
  • Live AI verdict every few seconds
  • Green โ†’ yellow โ†’ red danger meter
  • Speaker separation (who said what)
๐Ÿ’ฌ

AI Companion

A supportive companion that hears how you say things, not just what. Talk or type โ€” it replies out loud in a natural voice.

  • Emotion-aware conversation
  • Push-to-talk or text, interchangeably
  • Natural neural text-to-speech
  • Warm, non-clinical, safety-first
Under the Hood

How it's built.

Audio flows through two parallel brains: a convolutional neural network that reads emotion from sound, and large language models that read meaning from words. Everything runs as a single Python app, served from the cloud.

๐ŸŽ™๏ธ
Capture
Mic or MP3, in-browser via WebRTC
โžœ
๐ŸŒˆ
Features
librosa mel-spectrograms
โžœ
๐Ÿง 
CNN
TensorFlow emotion model
โžœ
๐Ÿ—ฃ๏ธ
Language
Deepgram speech + Groq Llama
โžœ
๐Ÿ“Š
Insight
Charts, verdicts, voice replies
The Stack
TensorFlow / Keras
CNN that classifies emotion from spectrograms
librosa
Audio โ†’ mel-spectrogram feature extraction
Streamlit
The entire interactive front-end, in Python
Deepgram
Live transcription + speaker diarization + Aura voice
Groq ยท Llama 3.3
Scam verdicts, insights, and companion chat
streamlit-webrtc
Real-time browser microphone streaming
Firebase Firestore
Google login + saved sessions & history
Plotly
Neon-themed live emotion & trend charts
Hugging Face Spaces
Docker deployment that hosts the live app
Web Speech / Aura-2
Text-to-speech so the companion talks back
OAuth (OIDC)
Secure "Sign in with Google"
NumPy ยท pandas
The numeric backbone tying it together
The Neural Network

Reading emotion from a spectrogram.

The core of Resonance is a convolutional neural network trained on RAVDESS โ€” a research dataset of professional actors voicing eight emotions. Instead of words, the model sees a picture of sound.

Live mel-spectrogram โ€” what the model actually "sees"

Slice the audio

The waveform is resampled to 22,050 Hz and cut into overlapping 5-second windows (1-second hop) so emotion can be tracked over time.

Make a spectrogram

Each window becomes a 128-band mel-spectrogram โ€” a heat-map of which frequencies are loud when, the way the human ear hears.

Convolve & classify

A CNN scans the spectrogram for emotional texture and outputs probabilities across all 8 emotions.

Smooth the result

Predictions from every window are batched and averaged into one confident, real-time read of how you sound.

Dataset RAVDESS
Classes 8
Sample rate 22.05 kHz
Mel bands 128
Window 5 s
Input shape 128 ร— 216
Inference batched, real-time

The eight emotions: neutral, calm, happy, sad, angry, fearful, disgust, and surprised โ€” each mapped to a color and a valence score that powers the mood-trend charts.

The Journey

From a model file to a product.

Train the ear

Built and trained the TensorFlow CNN on RAVDESS, dialing in the mel-spectrogram pipeline until it could reliably tell calm from fearful.

Make it interactive

Wrapped the model in a Streamlit app with a glassmorphic, macOS-inspired interface โ€” upload, live mic, real-time charts.

Add language

Layered in Deepgram transcription and Groq's Llama models to read meaning: therapeutic insights, scam verdicts, and conversation.

Build three modes

Shaped the engine into Therapy Mode, Scam Shield, and the AI Companion โ€” each a different lens on the same voice intelligence.

Accounts & memory

Connected Google sign-in and a Firebase database so sessions, history, and mood trends persist across visits.

Ship it

Deployed the whole thing to Hugging Face Spaces with Docker, so anyone can open it in a browser โ€” no install.

The Builders

Made by two high-school seniors.

Resonance was designed, trained, and shipped end-to-end by two students who wanted to see how far they could push real-world AI.

N

Nikhil

Co-creator ยท Senior

Builder and machine-learning tinkerer focused on turning research models into things people can actually use.

W

William

Co-creator ยท Senior

Builder and full-stack experimenter who loves wiring AI, audio, and clean interfaces into one experience.

Hear what your voice is really saying.

Open Resonance in your browser and try all three modes โ€” no install, no sign-up required.

Launch Resonance โ†—