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

Y
yet_hill · May 4, 2021 · 2.3K views
Question
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 PhD Expert
Answered Aug 20, 2026
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.
 
100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!