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

3 vues (au cours des 30 derniers jours)
Epri Pratiwi
Epri Pratiwi le 11 Août 2020
Modifié(e) : Stephen23 le 11 Août 2020
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);

Réponse acceptée

Stephen23
Stephen23 le 11 Août 2020
Modifié(e) : Stephen23 le 11 Août 2020
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);

Plus de réponses (0)

Catégories

En savoir plus sur Signal Processing Toolbox dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by