MATLAB Answers

Highpass Filter Sound Help

4 views (last 30 days)
Good afternoon,
I need to to apply fft()function to recorded audio and also apply highpass filter through it at different frequencies. It graphs just fine but i need help playing sound. I was thinking of storing each graph in an array and playing each sound at each position of the array, but i'm having problems storing these signals in an array.
Is there a more efficient way on doing this?
Please help and thank you.


Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 10 Dec 2019
Store the filtered signals in a cell array (easiest). Then use the playblocking function to play them back one after the other so they do not all play at the same time.


Derick Trinidad
Derick Trinidad on 10 Dec 2019
Another question,
If i wanted to preallocate my cell array how would i do so for this example?
would it be like this?
fourier_array = cell(1, length(HIGH));
Star Strider
Star Strider on 10 Dec 2019
As always, my pleasure!
That worked when I tried it.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!