aboutsummaryrefslogtreecommitdiff
path: root/music.py
diff options
context:
space:
mode:
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 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])