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

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);

回答 (1 件)

yanqi liu
yanqi liu 2022 年 3 月 7 日
yes,sir,if use single vector as input,may be not need read,just use them as ref_data、deg_data

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2022 年 3 月 6 日

回答済み:

2022 年 3 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by