This commit is contained in:
parent
f4088cb03f
commit
c157ef5bb7
|
|
@ -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);
|
||||||
Loading…
Reference in New Issue