diff options
author | Anthony Wang | 2023-03-12 00:20:59 -0500 |
---|---|---|
committer | Anthony Wang | 2023-03-12 00:20:59 -0500 |
commit | ab835f8e189dcd3ccdf7ae014369d7ee4ab591fb (patch) | |
tree | 2a081e33c3ca30794216e4b771b3ec0583f900e0 | |
parent | 60267b5aa7f7350895ebbdbeed6d06d48bdbad71 (diff) |
Better magic numbers because yay
-rw-r--r-- | example.ogg | bin | 433074 -> 432160 bytes | |||
-rw-r--r-- | music.py | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/example.ogg b/example.ogg Binary files differindex fcf9198..af1b409 100644 --- a/example.ogg +++ b/example.ogg @@ -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]) |