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

2 views (last 30 days)
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
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.

Sign in to comment.

Answers (0)

Categories

Find more on Machine Learning and Deep Learning 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!

Translated by