How can I upload my own data to the Cocktail Party Source Separation Using Deep Learning Networks instance?

2 views (last 30 days)
Hello everyone, I am sharing the link of the example. I want to upload my own audio files. How can I write this?
downloadFolder = matlab.internal.examples.downloadSupportFile("audio","CocktailPartySourceSeparation.zip");
dataFolder = tempdir;
unzip(downloadFolder,dataFolder)
dataset = fullfile(dataFolder,"CocktailPartySourceSeparation");
[mSpeech,Fs] = audioread(fullfile(dataset,"MaleSpeech-16-4-mono-20secs.wav"));
sound(mSpeech,Fs)

Accepted Answer

David Willingham
David Willingham on 26 May 2022
Hi,
The first 4 lines can be ignored. Simply input your own file into the audioread command.
[mSpeech,Fs] = audioread("myaudiofile.wav"));

More Answers (0)

Categories

Find more on Signal Processing Toolbox 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!