x14-spectral¶
Sound processing in the spectral domain.
FFT
A Fast Fourier Transform (FFT) is an efficient algorithm to compute the discrete Fourier transform (DFT) and its inverse (IFFT).
Phase Vocoder
The phase vocoder is a digital signal processing technique of potentially great musical significance. It can be used to perform very high fidelity time scaling, pitch transposition, and myriad other modifications of sounds.
Although the following examples are built by hand with raw FFT objects, for educational purposes, most of these processes (and more) are implemented, with greater efficiency, with the Phase Vocoder algorithm. You should really take a look at the different PV object’s examples in the documentation.
- 01-fft-filter.py - Filter a sound in the spectral domain.
- 02-fft-cross-synth.py - Performs the cross-synthesis of two sounds.
- 03-fft-morphing.py - Performs the spectral morphing of two sounds.
- 04-fft-spectral-delay.py - Applies different delays to frequency ranges of a sound.
- 05-fft-time-stretch.py - Time stretching using FFT/IFFT.