Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Epri Pratiwi
Epri Pratiwi el 11 de Ag. de 2020
Editada: Stephen23 el 11 de Ag. de 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);

Respuesta aceptada

Stephen23
Stephen23 el 11 de Ag. de 2020
Editada: Stephen23 el 11 de Ag. de 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);

Más respuestas (0)

Categorías

Más información sobre Signal Processing Toolbox en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by