v0.104.0: Kaleidostrobe's cones push on the hits you hear — kicks' punch, snares, the music's body (100–1600 Hz) — instead of pumping on every sub-bass note, and a held note no longer flickers them

This commit is contained in:
2026-11-28 13:14:14 -08:00
parent d1799afa79
commit dcc3d4561d
5 changed files with 154 additions and 5 deletions
+2 -1
View File
@@ -269,7 +269,8 @@ class TestRenderer:
tone = (0.5 * np.sin(2 * np.pi * 1000 * t)).astype(np.float32)
spec = itunes_spectrum(tone, rate)
assert spec.shape == (2, 512) and spec.dtype == np.uint8
assert abs(int(spec[0].argmax()) - round(1000 / (44100 / 1024))) <= 1
# bins 0–3 are the beat bands since Round 136; the rest are 43 Hz
assert abs(4 + int(spec[0, 4:].argmax()) - round(1000 / (44100 / 1024))) <= 1
assert (spec[0] == spec[1]).all()
def test_silence_is_zero(self):