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

1 回表示 (過去 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 Center および File ExchangeSequence 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