TP-traitement-audio-visuel/TP10/lecture.m
2023-06-22 20:47:16 +02:00

14 lines
201 B
Matlab
Executable file

% clear;
% filename = 'Audio/message_cache';
% filename = 'Audio/mpl';
[y, f_ech] = audioread(filename + ".wav");
if size(y, 2) > 1
y = mean(y, 2);
end
% sound(y,f_ech);
% save enregistrement;