Untitled

Anonymous
plain_text
12/04/2022 12:53 PM
304 B
25
Indexable
% funkcja OpenFile, uzyta w hObj(7)

function [hObj] = OpenFile(hObj)
global y Fs 

filename = uigetfile({'*.wav'},'open');

% audioread(filename,y,Fs);
if filename==0
  return
end
[y,Fs] = audioread(filename);
sound(y,Fs)

end
Editor is loading...