Pitch and Energy
Pitch & Energy
Extracts the pitch contour F0 with the YIN algorithm and the energy contour (RMS) from your recording and displays the statistics (mean, range, deviation). These are aco…
Speech Emotion Recognition
Predicting emotional indicators in speech from features such as prosody, energy, and spectrum, as probabilistic classification and not a reading of psychological state.
Educational content in the form of a scientific draft that needs expert review before being adopted as an academic reference. No experimental result that was not actually run is shown here.
Understand the acoustic features associated with emotion and the classification methods, recognizing that voice alone does not determine psychological state and that acted data only partially represents reality.
The system classifies a speech segment into emotion categories such as anger, joy, or neutral based on its acoustic features. The output is the probability of a class within a defined labeling scheme, not a judgment of the speaker's real feeling, since vocal expression is affected by culture, context, and acting. Conclusions are always phrased as probabilistic indicators that can be wrong.
The fundamental frequency (F0) is the rate of vocal fold vibration and is perceived as the pitch of the voice. It is estimated with algorithms such as YIN or autocorrelation. Its mean, range, and variation are used as emotional features, but they differ between men, women, and individuals, so per-speaker normalization is needed. The F0 distribution of the same speaker across emotions is compared rather than making absolute comparisons between individuals.
Frame energy is the sum of the squares of its samples, and reflects relative loudness. Its mean and variation over time are derived as auxiliary features. It is affected by microphone distance and recording level, so it must be normalized before comparing different recordings. It is often expressed in decibels or as the root mean square (RMS) to bring it closer to auditory perception.
Prosody combines pitch, duration, energy, pauses, and speaking rate. It carries emotional information and linguistic emphasis at the same time, so the two effects overlap. Segment-level statistics are extracted from it, or a deep network is left to learn it implicitly. It is advisable to analyze the effect of each component separately to understand what the classifier depends on.
MFCC coefficients summarize the shape of the spectral envelope using a mel scale followed by a discrete cosine transform. Typically a number of the first coefficients are used along with their derivatives. They reflect articulation and the vocal tract, and are affected by the channel and the speaker, so they need mean normalization to mitigate this. They are computed for short frames and then summarized statistically across the whole segment before classification.
They include the spectral centroid, spread, flatness, roll-off, zero-crossing rate, and spectral flux. They describe the brightness and sharpness of the sound. They are computed from the STFT for each frame and then summarized statistically, and they complement MFCC in hand-designed feature sets. Plotting them over time helps to observe changes in the loudness and sharpness of the voice during a sentence.
Classifiers such as SVM or random forests are trained on feature statistics, and evaluated according to how speakers are distributed between training and test. Speaker-independent evaluation is recommended, because overlapping evaluation inflates the results. Per-class F1 and the confusion matrix are reported. Comparison with a simple baseline is performed to verify that the extra complexity is worth its cost.
CNN, LSTM, and transformer networks learn representations directly from the spectrogram or from self-supervised models such as wav2vec 2.0. They need more data and tend to overfit on small datasets. The problem of differences among speakers, languages, and ways of expression remains. It is recommended to evaluate the model on speakers and languages that did not appear in training.
Pitch & Energy
Extracts the pitch contour F0 with the YIN algorithm and the energy contour (RMS) from your recording and displays the statistics (mean, range, deviation). These are aco…
MFCC Explorer
Visualizes all the MFCC extraction steps: frames, windowing, FFT, Mel filterbank, logarithm, DCT, and then the coefficients.
Local Sound Classifier
Train a real classifier on your own recordings: you add samples for classes you define, statistical MFCCs are extracted for each sample, and kNN is applied with Leave-On…
Audio Recorder
An in-browser recorder that uses the MediaRecorder API to capture audio and the Web Audio API to display the audio waveform live during recording.
Spectrogram Explorer
Computes a real STFT with control over window size, hop length, and window type (Hann/Hamming), and shows the Spectrogram and Mel Spectrogram side by side.
Emotion Categories Classification
Train or run a classifier on a dataset such as RAVDESS (under its license terms) to predict emotional indicators. The results concern the dataset's categories and do not…
Duration Effect on Features
You can observe how the pitch and energy statistics change by changing the analysis segment in "Pitch and Energy"; there is no standalone prediction experiment.
No matching results.
Mel-Frequency Cepstral Coefficients
Compact audio features extracted from the log energies of mel filters by applying the discrete cosine transform (DCT) and keeping the first few coefficients (often 13).
YIN Pitch Estimation
A time-domain method for estimating the fundamental frequency f_0 that relies on the difference function and its cumulative normalization to choose the smallest lag givi…
Support Vector Machine
A classifier that searches for a separating hyperplane with the largest margin between two classes. It can be extended to nonlinear cases with kernels and to multiple cl…
Random Forest
An ensemble of decision trees, each trained on a bootstrap sample of the data and with a random subset of features at each split, whose predictions are then aggregated b…
k-Nearest Neighbors
An example-based classifier: a new input is classified by a vote among the k training examples closest to it under a distance measure, with no actual training phase.
Convolutional Neural Network
A neural network that uses convolutional filters with shared weights that slide over the input to extract local patterns. In audio, it is often applied to the spectrogra…
Long Short-Term Memory
A type of recurrent network that adds a cell state and gates that control what is forgotten, what is written, and what is read, which mitigates the vanishing gradient pr…
Bidirectional LSTM
A network that passes the sequence in two directions, forward and backward, and then merges the two states at each step. Each frame gets the context of both the past and…
wav2vec 2.0
A self-supervised model on the raw waveform: a convolutional encoder produces latent representations, parts of them are masked, and then the Transformer learns to predic…
HuBERT
A self-supervised model that predicts hidden unit labels generated by unsupervised clustering (k-means) for masked segments, turning the representation problem into clas…
WavLM
A self-supervised speech model that predicts hidden units in the style of HuBERT, and adds prediction under noise or overlapping speech and a gated relative position bia…
No matching results.
Speech Emotion Recognition
Feature Extraction
Mel-Frequency Cepstral Coefficients (MFCC)
Classification
Long Short-Term Memory (LSTM)
No matching results.
RAVDESS
Acted recordings of labeled emotions, with audio and video of actors, for studying emotional cues (not real emotions).
CREMA-D
Acted emotional clips from multiple actors for studying emotional cues.
No matching results.
Wav2Vec 2.0
Self-supervised learning: a CNN encoder then a Transformer with a contrastive objective over discrete units.
HuBERT
Self-supervised learning by predicting k-means cluster labels for masked segments.
WavLM
Self-supervised model for full speech tasks, trained with noise and overlapped speech.
CLAP
Contrastive training on audio and text-caption pairs for a joint representation (zero-shot).
No matching results.
| Accuracy | The proportion of correctly classified clips; misleading when emotion classes are imbalanced. |
|---|---|
| Per-class F1 | F1 computed separately for each emotion class, then aggregated by macro average to balance between classes. |
| Confusion matrix | A table that matches the true emotion against the predicted one, showing the similar classes that get confused, such as anger and joy. |
Audio processing in the experiments takes place inside your browser. Audio, texts, and conversations are not saved on the server. Privacy Policy
Sections
No section has this name. Press “Search” to search all site content.
Favourites
My results & certificates
My academy progressMy quiz resultsKids’ progressAcademy certificatesQuiz certificatesStart any lesson or quiz and it will show up here so you can get back to it quickly.
Settings
I am the lab's Audio Assistant. Ask me about an algorithm, model, dataset, or experiment, and I will answer from the lab's content with links.
It answers from the lab's database only, without sending your question to any external party. Conversations and audio are not saved.
The assistant can make mistakes, so check the attached sources.
Welcome! I am Dr. Alaa Taima, and this is my smart assistant on “Deep Learning in Arabic”. Ask it about any term or topic in artificial intelligence, and it will answer from the site's content with links to the sources.
Enter to send · Shift + Enter for a new line · The assistant can make mistakes, so check the sources.