← Back to Projects

Speaker Identification System

Speaker Identification with MFCC + GMM

A MATLAB speaker-identification system with explicit unknown-speaker rejection, achieving 93.1% accuracy and rejecting 15 of 16 impostor samples.

View code

Role
Course Project · Four-person team; software architecture, integration, and evaluation
Period
Sep. 2025 – Jan. 2026
Institution
SUSTech Instructor: Dr. Fei Chen

Design objective

Closed-set classification always assigns an input to an enrolled speaker, which is unsafe when an unknown user should be rejected. The system therefore needed both identity discrimination and a calibrated decision rule for low-confidence or ambiguous utterances.

My contribution

  • Owned the software architecture, audio-file management, system integration, and evaluation/demo workflow; teammates implemented preprocessing, MFCC extraction, and GMM training modules.
  • Unified training, offline testing, and live recognition behind a shared feature-extraction interface to prevent train–test preprocessing mismatch.
  • Integrated mono conversion, DC removal, normalization, 8 kHz resampling, 80–3400 Hz bandpass filtering, and endpoint detection based on short-time energy and zero-crossing rate.
  • Used MFCC features with CMVN and one 16-component EM-trained GMM per enrolled speaker.
  • Implemented a two-threshold decision layer: absolute top-score rejection for unknown speakers and a top-two margin test for ambiguous cases, producing confirmed, uncertain, or unknown outputs.

Course project for Speech Signal Processing, done in a team of four. Both figures are from our group report.

The live identification window. Waveform on top, spectrogram in the middle, MFCC map below. The header row shows log-likelihood scores against all three enrolled speakers (lc -14.46, zzh -16.16, jlw -16.33), and the verdict goes to the highest. Both the stranger threshold and the score-margin threshold are editable fields.
The live identification window. Waveform on top, spectrogram in the middle, MFCC map below. The header row shows log-likelihood scores against all three enrolled speakers (lc -14.46, zzh -16.16, jlw -16.33), and the verdict goes to the highest. Both the stranger threshold and the score-margin threshold are editable fields.
Confusion matrix over 58 test utterances; 93.1% overall. The stranger row is the one that matters most — 15 of 16 impostors correctly rejected, which says more about whether the system is usable than raw classification accuracy does.
Confusion matrix over 58 test utterances; 93.1% overall. The stranger row is the one that matters most — 15 of 16 impostors correctly rejected, which says more about whether the system is usable than raw classification accuracy does.

Validation & outcomes

  • 93.1% overall accuracy (54 of 58 test utterances correct).
  • 15 of 16 impostor samples correctly rejected — a figure that says more about real usability than raw classification accuracy.
  • Delivered an interactive MATLAB GUI: record, play back, identify, save training samples, rebuild the voiceprint database and load WAV files, with waveform, spectrogram and MFCC map shown side by side.

Methods & tools

  • MATLAB
  • MFCC
  • GMM / EM
  • CMVN
  • Voice Activity Detection
  • Speech Signal Processing