How do I apply a 5 level wavelet to an audio file?

Hello everyone,
I add a wavelet to the example in the link before the stft process. I want to unlock 5 levels. However, I am making such a mistake. How can I solve this?
len=length(audio);
[c,l]=wavedec(audio,5,'bior3.1');
approx = appcoef(c,5,'bior3.1');
[cd1,cd2,cd3,cd4,cd5] = detcoef(c,l,[1 2 3 4 5]);

1 Commento

I understand, you want to add a wavelet to the audio in this example. Could you kindly provide more information that can help me understand your workflow? Please include the error messages, if any.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Wavelet Toolbox in Centro assistenza e File Exchange

Richiesto:

il 27 Mag 2022

Commentato:

il 20 Giu 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by