From c157ef5bb7e6c353a28a176c3e798b2761a9d683 Mon Sep 17 00:00:00 2001 From: Loic Delattre Date: Fri, 24 Mar 2023 08:56:48 +0100 Subject: [PATCH] . --- speech_analysis.m | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 speech_analysis.m diff --git a/speech_analysis.m b/speech_analysis.m new file mode 100644 index 0000000..a879c5e --- /dev/null +++ b/speech_analysis.m @@ -0,0 +1,11 @@ +clear all +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