Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Phase vocoder
Vocoder algorithm

A phase vocoder is an algorithm designed to process audio by interpolating information in the frequency and time domains using extracted phase data from a frequency transform. Central to its function is the short-time Fourier transform (STFT), often implemented with fast Fourier transforms. The STFT converts time-domain audio into a time-frequency representation for modification of frequency components, enabling time expansion, compression, and pitch shifting. By adjusting the timing of STFT frames before resynthesis, the vocoder facilitates fine control over the time-scale of sound without altering its spectral content.

Related Image Collections Add Image
We don't have any YouTube videos related to Phase vocoder yet.
We don't have any PDF documents related to Phase vocoder yet.
We don't have any Books related to Phase vocoder yet.
We don't have any archived web articles related to Phase vocoder yet.

Phase coherence problem

The main problem that has to be solved for all cases of manipulation of the STFT is the fact that individual signal components (sinusoids, impulses) will be spread over multiple frames and multiple STFT frequency locations (bins). This is because the STFT analysis is done using overlapping analysis windows. The windowing results in spectral leakage such that the information of individual sinusoidal components is spread over adjacent STFT bins. To avoid border effects of tapering of the analysis windows, STFT analysis windows overlap in time. This time overlap results in the fact that adjacent STFT analyses are strongly correlated (a sinusoid present in analysis frame at time "t" will be present in the subsequent frames as well). The problem of signal transformation with the phase vocoder is related to the problem that all modifications that are done in the STFT representation need to preserve the appropriate correlation between adjacent frequency bins (vertical coherence) and time frames (horizontal coherence). Except in the case of extremely simple synthetic sounds, these appropriate correlations can be preserved only approximately, and since the invention of the phase vocoder research has been mainly concerned with finding algorithms that would preserve the vertical and horizontal coherence of the STFT representation after the modification. The phase coherence problem was investigated for quite a while before appropriate solutions emerged.

History

The phase vocoder was introduced in 1966 by Flanagan as an algorithm that would preserve horizontal coherence between the phases of bins that represent sinusoidal components.2 This original phase vocoder did not take into account the vertical coherence between adjacent frequency bins, and therefore, time stretching with this system produced sound signals that were missing clarity.

The optimal reconstruction of the sound signal from STFT after amplitude modifications has been proposed by Griffin and Lim in 1984.3 This algorithm does not consider the problem of producing a coherent STFT, but it does allow finding the sound signal that has an STFT that is as close as possible to the modified STFT even if the modified STFT is not coherent (does not represent any signal).

The problem of the vertical coherence remained a major issue for the quality of time scaling operations until 1999 when Laroche and Dolson4 proposed a means to preserve phase consistency across spectral bins. The proposition of Laroche and Dolson has to be seen as a turning point in phase vocoder history. It has been shown that by means of ensuring vertical phase consistency very high quality time scaling transformations can be obtained.

The algorithm proposed by Laroche did not allow preservation of vertical phase coherence for sound onsets (note onsets). A solution for this problem has been proposed by Roebel.5

An example of software implementation of phase vocoder based signal transformation using means similar to those described here to achieve high quality signal transformation is Ircam's SuperVP.67

Use in music

British composer Trevor Wishart used phase vocoder analyses and transformations of a human voice as the basis for his composition Vox 5 (part of his larger Vox Cycle).8 Transfigured Wind by American composer Roger Reynolds uses the phase vocoder to perform time-stretching of flute sounds.9 The music of JoAnn Kuchera-Morin makes some of the earliest and most extensive use of phase vocoder transformations, such as in Dreampaths (1989).10

See also

The Wikibook MATLAB Programming has a page on the topic of: Phase vocoder and encoder

References

  1. Sethares, William. "A Phase Vocoder in Matlab". sethares.engr.wisc.edu. Retrieved 6 December 2020. https://sethares.engr.wisc.edu/vocoders/phasevocoder.html

  2. Flanagan J.L. and Golden, R. M. (1966). "Phase vocoder". Bell System Technical Journal. 45 (9): 1493–1509. doi:10.1002/j.1538-7305.1966.tb01706.x. /wiki/Doi_(identifier)

  3. Griffin D. and Lim J. (1984). "Signal Estimation from Modified Short-Time Fourier Transform". IEEE Transactions on Acoustics, Speech, and Signal Processing. 32 (2): 236–243. CiteSeerX 10.1.1.306.7858. doi:10.1109/TASSP.1984.1164317. /wiki/CiteSeerX_(identifier)

  4. J. Laroche and M. Dolson (1999). "Improved Phase Vocoder Time-Scale Modification of Audio". IEEE Transactions on Speech and Audio Processing. 7 (3): 323–332. doi:10.1109/89.759041. http://www.cmap.polytechnique.fr/~bacry/MVA/getpapers.php?file=phase_vocoder.pdf&type=pdf

  5. Roebel A., "A new approach to transient processing in the phase vocoder", DAFx, 2003. pdf Archived 2004-06-17 at the Wayback Machine http://www.ircam.fr/equipes/analyse-synthese/roebel/paper/dafx2003.pdf

  6. "SuperVP", Ircam.fr. http://anasynth.ircam.fr/home/english/software/supervp

  7. Musicpublished, Computer (30 September 2010). "Flux TRAX review". MusicRadar. https://www.musicradar.com/reviews/tech/flux-trax-280927

  8. Wishart, T. "The Composition of Vox 5". Computer Music Journal 12/4, 1988

  9. Serra, X. 'A System for Sound Analysis/Transformation/Synthesis based on Deterministic plus Stochastic Decomposition', p.12 (PhD Thesis 1989) http://mtg.upf.edu/node/304

  10. Roads, Curtis (2004). Microsound, p.318. MIT Press. ISBN 9780262681544. /wiki/Curtis_Roads