Cross-Synthesis Example with Matlab Implementation
The Matlab code presented here is an example of Cross-Synthesis – a technique of impressing the spectral envelope of one sound (modulating signal) on the flattened spectrum of another (carrier signal), consisting of the following steps:
1. Short-Time Fourier Transform (STFT) of both the modulator and carrier signals;
2. Extraction of the spectral envelope of each time-frame of the signals;
3. Division of the spectrum of each carrier frame by its own spectral envelope in order to flattening it;
4. Multiplication of the flattened carrier spectral frame by the envelope of the corresponding modulator frame;
5. Inverse Short-Time Fourier Transform (ISTFT) of the resultant time-localized spectrum.
The code is based on the theory described in:
[1] J. Smith. Spectral Audio Signal Processing.W3K Publishing, 2011.
[2] U. Zölzer. DAFX: Digital Audio Effects. Chichester, John Wiley & Sons, 2011.
Cite As
Hristo Zhivomirov (2024). Cross-Synthesis Example with Matlab Implementation (https://www.mathworks.com/matlabcentral/fileexchange/66200-cross-synthesis-example-with-matlab-implementation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Short-Time Fourier Transform (STFT) with Matlab, Inverse Short-Time Fourier Transform (ISTFT) with Matlab, Spectral Envelope Extraction with Matlab Implementation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |