How to change test signal in "Denoise Speech Using Deep Learning Networks"?

Illustration
yet_hill - 2021-05-04T13:22:49+00:00
Question: How to change test signal in "Denoise Speech Using Deep Learning Networks"?

I am able to successfully run the example "Denoise Speech Using Deep Learning Networks" without any modifications. In the section 'Test the Denoising Networks' the code currently chooses a sample from the test dataset within the Mozilla Voice dataset. I would just like to be able to choose a specific wav file that I have located on my computer as the test signal. How do I do this please?

Expert Answer

Profile picture of Prashant Kumar Prashant Kumar answered . 2025-11-20

You can try changing the first line of code in that section to something likeL
 
 
adsTest = audioDatastore(myfolder);
where myfolder is the folder containing your clean test signal. The rest of the section should work.
This network was trained on washine machine noise only, so I do not expect it to perform well on other types of noise. The example section uses "WashingMachine-16-8-mono-200secs.mp3" as a source of noise, but if you have another noise file, just replace the name with yours.
 


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!