Introduction
Traditional speech processing relies heavily on vocoders—tools that decompose audio into parameters (analysis) and then reconstruct it (synthesis). While neural decoders like WaveNet have revolutionized the synthesis stage, the analysis stage often remains tethered to decades-old signal processing algorithms like WORLD or STRAIGHT. These traditional tools operate on rigid mathematical assumptions that frequently falter when applied to singing, where pitch ranges are wider and dynamics are more extreme. Common issues include inconsistent parameter alignment, fundamental frequency (F0) tracking errors, and an oversimplified assumption of pitch-timbre independence.
The DeepA Framework
To address these limitations, we introduce DeepA, a "deep neural analyzer" based on a Variational Autoencoder (VAE) framework. Unlike traditional "black box" neural models, DeepA is designed to extract interpretable features directly from audio, effectively replacing hard-coded signal processing with a learnable architecture that adapts to the actual distribution of the data.
Architecture and Components
The core of DeepA consists of an encoder and a decoder trained alongside a harmonic-plus-noise Neural Source-Filter (hn-NSF) synthesizer. This joint training ensures that the extracted features are perfectly suited for high-fidelity reconstruction.
- Encoder (C-blocks): The encoder utilizes two parallel convolutional blocks (C-blocks). One is dedicated to noise-related features (breathiness), while the other focuses on harmonic components (musical tone). This structural constraint mimics the physical production of the human voice, facilitating better feature disentanglement.
- Latent Space: The latent space is structured to produce parameters that emulate traditional vocoder outputs, making them useful for downstream tasks such as voice conversion.
- Decoder (TC-blocks): The decoder mirrors the encoder's structure using Transposed Convolutional blocks (TC-blocks) to map latent features back into the spectral domain.
Experimental Evaluation
DeepA was evaluated using the NUS-HLT Speak-Sing (NHSS) database, which contains approximately 7 hours of paired speech and singing data. This dataset provides a rigorous test for generalizing across diverse vocal styles and extreme pitch ranges.
Key Results
DeepA was compared against the industry-standard WORLD vocoder using both objective and subjective metrics:
- F0 Accuracy: DeepA achieved a median absolute difference of only 4.0 Hz in pitch estimation. While the Root Mean Square Error (RMSE) was 28 Hz, this was largely due to DeepA correctly identifying voiced segments where WORLD failed, highlighting its robustness in complex signals.
- Audio Quality: The Mel-cepstral distortion (MCD), a measure of spectral shape preservation, was 5.1 dB for DeepA, comparable to WORLD’s 5.2 dB.
- Subjective Listening: In Mean Opinion Score (MOS) tests (1-5 scale), DeepA scored a 3.7, nearly matching WORLD (3.8) and approaching the ground truth (4.1). This proves that a fully neural analyzer can match the quality of hand-tuned signal processing tools while offering more flexibility.
Conclusion and Future Work
DeepA demonstrates that a learnable neural analyzer can overcome the rigid assumptions of traditional vocoders, particularly in challenging domains like singing. By correctly identifying "Voiced/Unvoiced" (V/UV) segments where traditional tools fail, DeepA provides a more robust foundation for speech and singing synthesis. While the model requires more computational power than traditional algorithms, it represents a significant step toward end-to-end interpretable neural vocoding. Future work will explore incorporating linguistic context to better model the complex dependencies between pitch and timbre.
Summary updated