How do I apply a 5 level wavelet to an audio file?
2 views (last 30 days)
Show older comments
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 Comment
Biral Pradhan
on 20 Jun 2022
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.
Answers (0)
See Also
Categories
Find more on Continuous Wavelet Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!