mod_test: WIDTH's delay check without the reverb (ROOM stereo always now) and the master's DC states from 0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
Claude committed 2026-12-04 20:09:40 +00:00
1 parent 44a1c4abfe
commit cf9b651392
1 file changed
+4
+4
View File
@@ -1274,9 +1274,13 @@ static void test_jiant_fx(void)
}
fresh(0, 0);
trk[0].p[P_DLY] = 110; trk[0].p[P_CHOR] = 0; song.g[G_WIDTH] = 0;
for (k = 0; k < NPART; k++) trk[k].p[P_REV] = 0; /* (V10.8.81: the delay alone; ROOM stereo always, its own WIDE) */
lc_l1 = lc_l2 = lc_r1 = lc_r2 = dc_l = dc_r = dce_l = dce_r = 0; /* (and the master's low cut and DC block from 0: L and R
* apart after the stereo reverb's tail before) */
h0 = phrase_lr(&d0);
fresh(0, 0);
trk[0].p[P_DLY] = 110; trk[0].p[P_CHOR] = 0; song.g[G_WIDTH] = 127;
for (k = 0; k < NPART; k++) trk[k].p[P_REV] = 0;
h1 = phrase_lr(&d1);
check("WIDTH 0: the delay mono (left = right, to a rounding); 127: left and right apart",
d0 <= 4 && d1 > 1000 && h0 != h1); /* (0.6.75: one sample 1 apart, the master's rounding of L and R) */