aboutsummaryrefslogtreecommitdiff
path: root/music.py
diff options
context:
space:
mode:
authorAnthony Wang2023-03-12 13:46:11 -0400
committerAnthony Wang2023-03-12 13:46:11 -0400
commitba1c702d34ebb9cf7971e165e8e0e96ba1a63c78 (patch)
treec2fba925229d3b2580d8b2abdffc2e1fc14a0e41 /music.py
parentab835f8e189dcd3ccdf7ae014369d7ee4ab591fb (diff)
keyboard script using Python sounddevice
Diffstat (limited to 'music.py')
-rw-r--r--music.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/music.py b/music.py
index dd66752..c08b981 100644
--- a/music.py
+++ b/music.py
@@ -327,4 +327,4 @@ def at(t):
# Print out music encoded in s16 to standard output
for i in range(0 * bitrate, 84 * bitrate):
- sys.stdout.buffer.write(struct.pack("i", at(i / bitrate)))
+ sys.stdout.buffer.write(struct.pack('i', at(i / bitrate)))