diff --git a/Sound_plot.PNG b/Sound_plot.PNG new file mode 100644 index 0000000..4b367b2 Binary files /dev/null and b/Sound_plot.PNG differ diff --git a/speech_analysis.m b/speech_analysis.m index 22e26dd..a879c5e 100644 --- a/speech_analysis.m +++ b/speech_analysis.m @@ -3,4 +3,9 @@ close all clc [y, fs] = audioread("sound/modulator22.wav"); +plot(0:1/fs:(length(y)-1)/fs,y); +xlabel("Time (s)"); +ylabel("Amplitude"); +title("Sound Amplitude Over Time"); + audiowrite("sound/output.wav", y, fs/2); \ No newline at end of file