How to save a .wav file into different path after processed?

3 次查看(过去 30 天)
Anyone know how to save it into different path? Thanks
[y, fs] = audioReadNCU();
[y, fs] = wavToPreprocWav(y, fs);
band = wavToElectrode(y, fs);
y = electrodeToWav(band, fs);
sound(y, fs);
audiowrite('1_ace_8.wav',y,fs);

采纳的回答

Stephen23
Stephen23 2020-8-11
编辑:Stephen23 2020-8-11
D = 'absolute or relative path to the folder where you want to save the file';
F = fullfile(D,'1_ace_8.wav');
audiowrite(F,y,fs);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Signal Processing Toolbox 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by