Error with audiowrite R2020b
Ältere Kommentare anzeigen
[y,Fs]=audioread(InFilename);
%Downsample
fprintf('\n The downsampled sound \n')
x = y(1 :2 : length(y));
fs2 = Fs/2 ;
% sound(x,fs2);
%Save the result as down.wav
audiowrite(x, fs2, 'down.wav');
1 Kommentar
Babacar Dieng
am 26 Sep. 2021
Antworten (1)
Babacar Dieng
am 26 Sep. 2021
0 Stimmen
Kategorien
Mehr zu Audio and Video Data finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!