Sound Ploting + img
This commit is contained in:
parent
11d30a9522
commit
96512fb02b
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
|
|
@ -3,4 +3,9 @@ close all
|
||||||
clc
|
clc
|
||||||
|
|
||||||
[y, fs] = audioread("sound/modulator22.wav");
|
[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);
|
audiowrite("sound/output.wav", y, fs/2);
|
||||||
Loading…
Reference in New Issue