Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added __pycache__/main.cpython-38.pyc
Binary file not shown.
Binary file added chordWavs/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import time
from playsound import playsound
from threading import Thread
import getch


def metronome():
Expand All @@ -12,8 +13,7 @@ def chords():
queue=['F','Am','C','G']
while 1:
for i in queue:
playsound(f'chordWavs/90BPM/{i}.wav',False)
time.sleep(2.5)
playsound(f"chordWavs/90BPM/{getch.getche()}.wav",False)
#2==120BPM
#2.5==90BPM

Expand Down