osorio.sys
Language
Theme

RustConf LATAM 2025 · Medellín, Colombia

Audio Fingerprinting in Rust: From WAV to Chromaprint

Building a real-time audio fingerprinting pipeline in Rust using FFT, spectrograms, and constellation maps.

#rust #audio #dsp #performance

Abstract

Audio fingerprinting is the process of identifying audio samples by extracting compact signatures from raw PCM data. In this talk we walk through building a complete fingerprinting pipeline in Rust:

  • WAV decoding and sample normalization
  • FFT-based spectrogram generation
  • Peak detection and constellation maps
  • Hash generation and database lookup

Key Takeaways

  1. Rust's zero-cost abstractions make DSP pipelines both fast and safe
  2. The rustfft crate provides competitive performance with C FFT libraries
  3. Real-time fingerprinting is achievable on commodity hardware with careful memory management

Slides

The full slides are available at slides.osorio.sys.

∎ end of talk notes

Keep reading

All articles

The talk in long form: the articles it builds on.

Audio Fingerprinting Basics in Rust

→

← All talks