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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user