[y, fs]=audioread('April.mp3');
sound(y, fs);
time=(1:length(y))/fs;
plot(time, y);
xlabel('Time');
ylabel('Magnitude');
title('Wave');
[y, fs]=audioread('April.mp3');
sound(y, 2*fs);
time=(1:length(y))/fs;
plot(time, y);
xlabel('Time');
ylabel('Magnitude');
title('Wave');
fs=44100;
[y, fs]=audioread('April.mp3');
s = fft(y);
f = abs(s);
plot(f);
xlabel('Frequency');
ylabel('Magnitude');
title('Fourier wave');
sound(y,fs);
fs=44100;
[y, fs]=audioread('April.mp3');
s = fft(y);
f = abs(s);
y2 = ifft(s);
f2 = abs(fft(y2));
subplot(2,2,1), plot(f);
subplot(2,2,2), plot(y);
subplot(2,2,3), plot(f2);
subplot(2,2,4), plot(y2);
sound(y2,fs);