How do I bind the PESQ function to the "Denoise Speech Using Deep Learning Networks" instance?

8 views (last 30 days)
I ran this example but now I want to measure the sound improvement with the PESQ function. But when I run the function, it throws an error. I will be glad if you tell me where I am going wrong.
ref_wav=cleanAudio;
deg_wav=double(denoisedAudioFullyConnected);
[pesq_mos]= pesq(ref_wav, deg_wav)
Error using audioread (line 105)
Expected input to be one of these types:
char, string
Instead its type was double.
Error in pesq (line 42)
[ref_data,sampling_rate]= audioread(ref_wav);

Answers (1)

yanqi liu
yanqi liu on 7 Mar 2022
yes,sir,if use single vector as input,may be not need read,just use them as ref_data、deg_data

Categories

Find more on Sequence and Numeric Feature Data Workflows 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!