The Audio Searching demo demonstrates how to build an audio similarity retrieval system capable of searching through large-scale audio datasets (e.g., hundreds of millions of tracks).
Core Workflow
- Vectorization: Audio clips are converted into vector data using PaddleSpeech pre-training models (such as audio classification or speaker recognition models).
- Storage:
- Milvus: An open-source vector database used to store and index the vectors. Milvus automatically generates a unique ID for each vector.
- MySQL: Stores the mapping between the Milvus vector IDs and the corresponding audio metadata (e.g., audio ID, speaker ID).
- Retrieval: Users upload test audio, which is converted into a vector. A similarity search is performed in Milvus to find the closest vector IDs, which are then used to query the metadata in MySQL.
Dataset Support
The demo is pre-configured to use the CN-Celeb dataset (650,000+ audio entries, 3,000 speakers), but it can be adjusted to use other datasets such as Librispeech, VoxCeleb, UrbanSound, GloVe, or MNIST.