Abstract
This paper introduces a method to control the speaking rate of synthesized speech within the HiFi-GAN neural vocoder by inserting a differentiable interpolation layer. By treating mel-spectrograms as images and scaling them before or during the upsampling process, the researchers achieved higher-quality, more natural-sounding speech than traditional signal processing methods while maintaining high real-time efficiency. Experimental results on a new parallel speech dataset demonstrate that mel-spectrogram interpolation significantly outperforms standard time-scale modification algorithms.
Introduction
Speaking rate control is a vital accessibility feature. Visually impaired users often prefer high-speed speech to consume information faster, while elderly users or those with language disorders may require slower speech for better comprehension. Traditionally, this is achieved using Time-Scale Modification (TSM) algorithms like WSOLA, which warp the audio waveform directly. However, TSM often introduces artifacts and does not integrate seamlessly with modern Deep Neural Network (DNN) vocoders. This research explores integrating "speed knobs" directly into the high-efficiency HiFi-GAN vocoder without sacrificing its performance.
Methodology
The core innovation is the insertion of an interpolation layer into the HiFi-GAN generator architecture. The researchers evaluated two primary interpolation techniques: 1D bandlimited resampling (using a Kaiser window) and 2D linear interpolation (treating features as images to be resized).
As shown in Figure 1, the placement of this layer was varied to determine the optimal stage for feature warping. They tested placing it at the input (warping the mel-spectrogram) and at various hidden layers between upsampling blocks.
Datasets
The study utilized a new open-source dataset, SpeedSpeech-JA-2022, consisting of parallel Japanese speech from one male and one female professional speaker. Each speaker recorded 325 utterances at three distinct rates: Slow, Normal, and Fast. This dataset provides a unique "ground truth" for naturally varied speaking rates, allowing for more rigorous evaluation than previous studies that relied solely on synthetic warping.
Key Results and Discussion
The experimental results revealed several critical insights:
- Optimal Placement: Applying linear interpolation directly to the input mel-spectrogram (the "Mel" placement in Figure 1) was the most effective method. Inserting the layer deeper into the network degraded speech quality, as HiFi-GAN’s convolutional layers are highly sensitive to feature length changes mid-stream.
- Quality vs. Baseline: In Mean Opinion Score (MOS) tests for naturalness, the proposed mel-spectrogram interpolation consistently outperformed the WSOLA baseline across various target speaking rates.
- Efficiency: The method is exceptionally fast, maintaining a Real-Time Factor (RTF) of approximately 0.01 on a standard GPU. This allows for the synthesis of one second of speech in just 10 milliseconds, making it ideal for real-time applications.
- Simplicity: Interestingly, simple 2D linear interpolation performed as well as more complex 1D bandlimited resampling, suggesting that standard image-scaling techniques are sufficient for this task.
Conclusion
By incorporating a simple interpolation layer at the input of the HiFi-GAN vocoder, researchers have enabled high-quality, real-time speaking rate control. This approach avoids the artifacts common in traditional TSM algorithms and provides a robust solution for modern speech synthesis systems. Future work will investigate the generalizability of this technique to other neural vocoder architectures and its performance at extreme speaking rates.
Summary updated