aboutsummaryrefslogtreecommitdiff
path: root/keyboard.py
diff options
context:
space:
mode:
authorAnthony Wang2023-03-21 22:56:34 -0400
committerAnthony Wang2023-03-21 22:56:34 -0400
commit5bba29570edb05a58845236134ab5f917bb0a70d (patch)
treea068382fdd7b44bbe77c43701cbe7ceea5820ce0 /keyboard.py
parent838cdb14879a80199579fbbb7cc828589f391559 (diff)
Implement saw wave and honk waveformHEADmaster
Diffstat (limited to 'keyboard.py')
-rw-r--r--keyboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard.py b/keyboard.py
index 73892ea..6dd05f0 100644
--- a/keyboard.py
+++ b/keyboard.py
@@ -10,7 +10,7 @@ bitrate = 44100
note = []
for i in range(0, 24):
- note.append([yue.tone(yue.freq(3, i), j / bitrate) / 4 for j in range(0, 3 * bitrate)])
+ note.append([yue.seething(yue.freq(4, i), j / bitrate) / 4 for j in range(0, 3 * bitrate)])
sd.default.samplerate = bitrate
print("READY")