how to use pitch to create harmonic mask for filtering

2 views (last 30 days)
Using the built in pitch function, how can I create a harmonic mask to filter the audio with it?
For example, I used the following: [f0,idx] = pitch(audioIn,fs,'Method','PEF','WindowLength',round(fs*0.08),'OverlapLength',round(fs*(0.08-0.01)),'Range',[60,150],'MedianFilterLength',3);
From that, how can I form the higher harmonics multiples and then form a harmonic mask or f0 mask, so that it can be used to filter the signal mixture. I know how to apply the mask, I just need to understand how to form it.

Answers (0)

Community Treasure Hunt

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

Start Hunting!