How EmotiVoice Works
Dive deep into the technology behind our advanced speech emotion recognition system. Understand the pipeline from raw audio to emotional insights.
The Processing Pipeline
From raw audio waveform to emotional insight in 6 steps
Audio Input
Raw speech signal at 16kHz sampling rate
- Waveform representation
- Time-domain signal
- Variable length input
Pre-processing
Signal normalization and noise reduction
- Amplitude normalization
- Silence trimming
- High-pass filtering
MFCC Extraction
13 Mel-frequency cepstral coefficients
- Windowing (25ms)
- FFT computation
- Mel filterbank
Spectrogram
Mel spectrogram for frequency analysis
- 128 Mel bands
- Time-frequency map
- Log compression
LSTM Network
Bidirectional LSTM with attention mechanism
- 256 hidden units
- 2 LSTM layers
- Dropout 0.3
Emotion Output
Probability distribution across 7 emotions
- Softmax activation
- Confidence scores
- Top-1 prediction
Core Technologies
The science powering every prediction
MFCC
Mel-Frequency Cepstral Coefficients
MFCCs capture the spectral characteristics of speech using a mel scale that mimics human auditory perception — the gold standard for speech feature extraction.
Mel Spectrogram
Time-Frequency Representation
A visual representation showing how frequencies change over time, converted to the mel scale for better alignment with human pitch perception.
LSTM
Long Short-Term Memory
A recurrent neural network capable of learning long-term temporal dependencies — ideal for analyzing emotional patterns across the full duration of speech.
Classification
Softmax Emotion Output
The final layer produces a probability distribution across 7 emotion classes using softmax activation, enabling interpretable, confidence-scored predictions.
LSTM Architecture
Layer-by-layer breakdown with 2,448,903 trainable parameters
Input Layer
MFCC features (13 coefficients × T frames)
Bidirectional LSTM 1
First recurrent layer — forward + backward passes
Dropout (0.3)
Regularization to prevent overfitting
Bidirectional LSTM 2
Second recurrent layer for deeper temporal patterns
Attention Layer
Self-attention to focus on emotionally salient frames
Dense (ReLU)
Fully connected layer for feature compression
Output (Softmax)
Probability distribution across 7 emotion classes
Total Architecture
Optimized for real-time emotion recognition
Performance Benchmarks
State-of-the-art results on standard emotion recognition datasets
Accuracy by Emotion
Per-class classification accuracy