필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Epri Pratiwi
Epri Pratiwi 2020년 8월 11일
편집: Stephen23 2020년 8월 11일
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