diff --git a/new-process.py b/new-process.py index e9f8fe6..8439707 100755 --- a/new-process.py +++ b/new-process.py @@ -263,6 +263,9 @@ def get_freq(song_name, offset, step, songlen, data): if(True): plt.plot([t/1000 for t in range(len(data))], frequencies) plt.grid() + plt.xlabel("Time (s)") + plt.ylabel("Dominant frequency (Hz)") + plt.title("Dominant frequencies at peaks") plt.show() return frequencies diff --git a/tetris_4.wav b/tetris_4.wav new file mode 100755 index 0000000..2cf6bae Binary files /dev/null and b/tetris_4.wav differ