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

2 次查看(过去 30 天)
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)

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by