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

1 visualizzazione (ultimi 30 giorni)
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);

Risposta accettata

Stephen23
Stephen23 il 11 Ago 2020
Modificato: Stephen23 il 11 Ago 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);

Più risposte (0)

Categorie

Scopri di più su Filename Construction in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by