mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 04:44:33 +01:00
ROOM one kernel at the old MOD/WIDE cost: input allpasses, the whole ring with SIZE, mid-line taps, noise-moved lines (DIFF on ROOM's MOD knob). The send's lows cut (~55 Hz, exact zero at rest); RV_IN and WIDE's range set so a channel's level is V10.8.80's at WIDE 0 (GEN's mixes back under -1 dBFS). fx_sr removed (the right side the left's negative). Goldens, micro's hash, rev_room's target budget updated on purpose; clay_engines at SIZE 64 (the old tail length) with its reverb reset between renders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
21 lines
905 B
C
21 lines
905 B
C
#define main hostsim_main
|
|
#include "hostsim.c"
|
|
#undef main
|
|
int main(void)
|
|
{
|
|
static int32_t in[CTL], out[CTL]; uint32_t b, i; int sizes[] = {0, 60, 90, 115, 127}, d;
|
|
for (d = 0; d < 5; d++) {
|
|
double e[400] = {0}; FILE *f; char p[64];
|
|
memset(trk, 0, sizeof trk); host_tracks_init(); rev_clear(); fx.rtype = 0; song.g[G_RTYPE] = 0;
|
|
song.g[G_RSIZE] = sizes[d]; song.g[G_RDAMP] = 40; song.g[G_RWIDE] = 0; song.g[G_RMOD] = 0;
|
|
snprintf(p, sizeof p, "ir_%d.raw", sizes[d]); f = fopen(p, "wb");
|
|
for (b = 0; b < 44100u * 12u / CTL; b++) {
|
|
for (i = 0; i < CTL; i++) { in[i] = b == 4 && i == 0 ? 20000 : 0; out[i] = 0; fx_sl[i] = 0; }
|
|
rev_run(0, in, out, CTL);
|
|
for (i = 0; i < CTL; i++) { float v[2] = {(float)(out[i] + fx_sl[i]), (float)(out[i] - fx_sl[i])}; fwrite(v, 4, 2, f); }
|
|
}
|
|
fclose(f);
|
|
}
|
|
return 0;
|
|
}
|