A Shape-Invariant Phase Vocoder for Speech Transformation

Axel RöebelHAL 2010

TL;DR

This paper introduces a novel "shape-invariant" phase vocoder for speech transformation that significantly improves the naturalness of synthesized speech, especially for extreme pitch and time scaling. By combining the phase vocoder's frequency-domain processing with the time-domain SOLA algorithm's overlap-add strategy, it achieves high-quality transformations without requiring explicit pitch detection, making it suitable for real-time applications like gender and age modification.

What Problem Does This Paper Address?

Modifying speech signals while preserving their naturalness is a long-standing challenge in audio processing. Existing time-domain methods like SOLA (Synchronized Overlap-Add) and its variants (WSOLA, PSOLA) struggle with quality degradation when performing significant time stretching or pitch transposition (factors greater than 1.5). This is particularly problematic for applications like gender transformation, which can require pitch changes of 2-3x. While frequency-domain methods like the Harmonic + Noise Model (HNM) and phase vocoders offer more flexibility, they often rely on accurate pitch marking, introducing latency and complexity. A key issue with standard phase vocoders is the desynchronization of sinusoidal components, leading to a "phasiness" or lack of clarity in synthesized speech, especially for vocal signals. This paper aims to bridge this gap by developing a method that achieves high-quality, shape-invariant speech transformations across a wide range of parameters, suitable for real-time use.

Methods

The core of the proposed method is a "shape-invariant phase vocoder" that integrates the strengths of both time-domain SOLA and frequency-domain phase vocoders.

  • Phase Vocoder Foundation: The method starts with a standard Short-Time Fourier Transform (STFT) analysis of the input signal. The phase vocoder's strength lies in its ability to manipulate spectral frames in the frequency domain.
  • SOLA-like Overlap-Add: Instead of directly manipulating synthesis frame positions as in traditional phase vocoders, the algorithm adapts the phase of the spectral bins to achieve coherent overlap-add. This is inspired by the SOLA algorithm's principle of maximizing cross-correlation between successive frames.
  • Shape Invariance: The key innovation is ensuring "shape invariance," meaning the phase relationships between different sinusoidal components (inter-partial phase relations) are preserved. This is achieved by adapting the phase of the bins based on an estimated optimal time shift, rather than just modifying individual bin phases independently.
  • Optimal Time Shift Estimation: To find the optimal time shift for phase alignment, the algorithm uses a cross-correlation between the previous and current synthesis frames. Crucially, this cross-correlation is restricted to sinusoidal components using spectral masks. This significantly reduces the impact of noise on the synchronization process.
  • Handling Aperiodic Components: The paper addresses the treatment of unvoiced sounds (transients, quasi-stationary noise, modulated noise). Transients and quasi-stationary noise are handled well by standard phase vocoder techniques. For modulated noise, the estimated time shift for sinusoidal components is used to align envelopes. A small phase randomization is applied to unvoiced components when time stretching factors exceed 1.2 to prevent them from developing an undesirable tonal quality.

Datasets

Not discussed in the paper. The evaluation relies on subjective listening tests using speech signals.

Key Insights and Ideas

  • Bridging Time and Frequency Domains: The paper successfully demonstrates that combining the phase vocoder's spectral manipulation with SOLA's overlap-add strategy can overcome the limitations of each individual approach.
  • Shape Invariance is Crucial for Speech: Preserving the inter-partial phase relationships is identified as critical for maintaining the naturalness and clarity of synthesized speech, particularly for challenging transformations.
  • Sinusoidal-Only Cross-Correlation: Restricting the cross-correlation for time shift estimation to sinusoidal components is a clever way to robustly synchronize frames and mitigate noise interference.
  • No Explicit Pitch Detection Needed: The algorithm's ability to operate without requiring explicit pitch marking (F0) or pitch period analysis is a significant advantage for real-time applications and reduces complexity.
  • Aperiodic Component Handling: The paper provides a nuanced approach to aperiodic components, recognizing their different properties and applying specific strategies to maintain quality.

Key Results

  • High-Quality Transformations: The proposed algorithm achieves perceptually satisfying results for time stretching and pitch transposition, even for factors exceeding 2.
  • Improved Naturalness: Subjective listening tests indicate that the algorithm significantly outperforms PSOLA and HNM in terms of perceived quality, especially for extreme transformations.
  • Real-time Suitability: The implementation is reported to use only 10-20% of CPU time on recent desktop computers for 44.1kHz mono speech signals, making it viable for real-time applications.
  • Gender Transformation Success: The algorithm is particularly well-suited for real-time gender and age transformations, with some male-to-female transformations being evaluated as indistinguishable from natural speech.
  • Performance Comparison: In subjective tests, the modified SHIP (Shape-Invariant Phase Vocoder) algorithm consistently outperformed PSOLA, especially for female speakers and time stretching.

Limitations and Future Work

  • Male Speaker Transposition Down: The paper notes that the algorithm's performance for transposing male speech downwards was not as strong as for female speakers. This is attributed to pitch shifting moving noise components into formant regions, affecting clarity.
  • Excitation Signal Modification: A remaining challenge is the potential change in the characteristics of the excitation signal when it interacts with formants during transposition, which can impact perceived quality.
  • Future Work: The authors suggest further investigation into operators that can better manage the transition between noise excitation and sinusoidal excitation. They also mention ongoing research into improving the handling of pitch shifting operations.

Summary updated

Abstract

cote interne IRCAM: Roebel10b
BibTeX
@inproceedings{roebel2010shape,
  author = {Axel Röebel},
  title = {{A Shape-Invariant Phase Vocoder for Speech Transformation}},
  booktitle = {HAL},
  year = {2010},
}

Loading related content...

Figure