Abstract
Imitating musical instruments with the human voice is an efficient way of communicating ideas between music producers, from sketching melody lines to clarifying desired sonorities. For this reason, there is an increasing interest in building applications that allow artists to efficiently pick target samples from big sound libraries just by imitating them vocally. In this study, we investigated the potential of conditional autoencoder models to learn informative features for Drum Sample Retrieval by Vocalisation (DSRV). We assessed the usefulness of their embeddings using four evaluation metrics, two of them relative to their acoustic properties and two of them relative to their perceptual properties via human listeners' similarity ratings. Results suggest that models conditioned on both sound-type labels (drum vs imitation) and drum-type labels (kick vs snare vs closed hi-hat vs opened hi-hat) learn the most informative embeddings for DSRV. We finally looked into individual differences in vocal imitation style via the Mantel test and found salient differences among participants, highlighting the importance of user information when designing DSRV systems.
Introduction
Searching through massive drum sample libraries is a tedious bottleneck for music producers. This research explores using Deep Conditional Autoencoders to enable "Query by Vocal Imitation" (DSRV), allowing users to find the perfect kick or snare simply by beatboxing. The technical challenge lies in the acoustic disparity between a human vocalization (e.g., "boom") and a recorded kick drum. This field, known as Query by Vocal Imitation (QVI), requires representation learning—creating a shared mathematical space (embeddings) where an imitation and its target sound sit close together, despite surface-level differences.
Methodology
The authors utilized Convolutional Autoencoders (CAE) to compress audio into a small "latent space" used for retrieval. The key innovation is Model Conditioning, where three types of labels were tested during training:
- Sound-type Labels (SL): Distinguishing between a real drum and a vocal imitation.
- Drum-type Labels (DL): Distinguishing between kick, snare, closed hi-hat, and open hi-hat.
- Sound and Drum-type Labels (SDL): A combination of both (e.g., "vocal snare" vs. "real snare").
The study utilized a diverse training set of ~18,000 samples, including real drums (Misc, BFD3) and vocal percussion (AVP, BS1, LVT, BTX). Evaluation was performed using the VIPS dataset, containing 30 drum sounds and 252 vocal imitations from 14 participants.
Key Insights and Individual Differences
Conditioning proved essential; models that utilized high-level category information (SDL) performed significantly better by ignoring vocal timbre "noise" and focusing on core "drum-ness." Analysis via Mantel tests revealed that humans are particularly effective at imitating amplitude envelopes and spectral centroids.
Furthermore, the study highlighted significant individual differences in vocal imitation styles. As shown in the p-value distributions, participants varied in how they approached imitation, suggesting that future DSRV systems may require personalization to account for specific vocal quirks.
Results
The CAE-SDL model, conditioned on both sound and drum type, was the superior performer across most metrics. It achieved a Mean Reciprocal Rank (MRR) of 41.7% and a perceptual accuracy of 54.4%, nearly matching hand-crafted heuristic features while providing a better statistical fit (lower AIC scores).
Conclusion
While conditional autoencoders significantly improve drum sample retrieval, limitations remain in the variety of drum classes and reconstruction quality. Future work will focus on expanding the system to handle more complex percussion and integrating these embeddings into metric learning systems to further bridge the gap between human imitation and professional samples.
Summary updated