aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example.oggbin433074 -> 432160 bytes
-rw-r--r--music.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/example.ogg b/example.ogg
index fcf9198..af1b409 100644
--- a/example.ogg
+++ b/example.ogg
Binary files differ
diff --git a/music.py b/music.py
index 4d9c7cc..dd66752 100644
--- a/music.py
+++ b/music.py
@@ -318,7 +318,7 @@ def at(t):
# This is actually pretty efficient ngl
# Because people usually don't have that many overlapping notes
ret = 0
- for j in range(max(i - 30, 0), i):
+ for j in range(max(i - 32, 0), i):
m = music[j]
# if m[0] + m[1] > t:
ret += m[4] * tone(freq(m[2], m[3]), t - m[0])