mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 20:34:27 +01:00
JIANT 0.9.9-snd2: the chorus lighter, its LFO a segment (64 samples; 16 / 8 / 4 at the fastest RATEs)
The ensemble's three read points were three sines a sample. Now the LFO is read at a segment's ends (fx.c cho_lfo, out of the RAM code) and the read points glide between in Q14: 64 samples below RATE 64, 16 below 96, 8 below 120, 4 above (a fast, deep sweep bends most between two points). The three taps and their mix as they were. Against the old (tests/delay_test.c test_chorus, a saw through it): -63 dB at the default (RATE 40 DEPTH 60), -58 at RATE 80 / 100 DEPTH 127, -51 at 127 / 127: inaudible, so it is the chorus (not an option). reverb_test's reference buses follow it (ROOM still bit for bit). CPU: -35 instructions / sample at the default (cpu_vg cho/pad 1319 -> 1284; mix/full 2593 -> 2558), -16 at RATE 127. Goldens: 88 renders with a CHORUS send rewritten (presets with CHOR: ANALOG 20, VOICE 13, FM6 12, PHASE 12, LOFI 8, NOISE 5, WHEEL 5, ANIMAL 1; modes ANALOG 4, VOICE 4; sends/ANALOG 2; song/4track_mix; slicer/song_gate_stut). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
8 files changed
+194
-94
No files matched your search
@@ -904,6 +904,10 @@ resonancia igual se apaga cuando la parte queda en silencio). Las mismas perilla
|
||||
RES y el drive de la KNOB 4. En ANALOG y LOFI el MS20 (como los peines) es el filtro de la pista después de las voces:
|
||||
su propio filtro se abre. LP, HP y BP suenan exactamente igual que antes.
|
||||
|
||||
El **CHORUS** (0.9.9-snd2) es más liviano: su LFO se lee cada 64 muestras (16, 8, 4 en los RATE más rápidos) y las
|
||||
tres voces se deslizan entre esos puntos, en vez de tres senos por muestra; suena igual (-63 dB de diferencia con el de
|
||||
antes en el valor por defecto).
|
||||
|
||||
**DELAY DRIVE** (0.9.9-snd2; DLY 3 KNOB 3, la perilla libre de la página; 0–100): una saturación suave dentro del lazo
|
||||
de realimentación del delay. Una repetición suave vuelve como entró, una fuerte sale redondeada y aplastada, así que
|
||||
cada pasada queda un poco más sucia y un poco más baja, como una cinta o un BBD manejados fuerte; con FEEDBK pasado
|
||||
|
||||
@@ -866,6 +866,9 @@ ring still dies out when the part goes silent). Same knobs: CUT (with LFO / ENV
|
||||
KNOB 4. On ANALOG and LOFI the MS20 (like the combs) is the track's filter after the voices: their own filter opens.
|
||||
LP, HP and BP sound exactly as before.
|
||||
|
||||
**CHORUS** (0.9.9-snd2) is lighter: its LFO is read every 64 samples (16, 8, 4 at the fastest RATEs) and the three
|
||||
voices glide between, instead of three sines every sample; it sounds the same (-63 dB from before at the default).
|
||||
|
||||
**DELAY DRIVE** (0.9.9-snd2; DLY 3 KNOB 3, the page's free knob; 0–100): a soft saturation inside the delay's
|
||||
feedback loop. A quiet repeat comes back as it went, a loud one is rounded and pressed down, so every pass gets a little
|
||||
grittier and a little quieter, like a tape or a BBD driven hard; with FEEDBK past 100 it holds the runaway lower. 0 is
|
||||
|
||||
+25
-5
@@ -1380,11 +1380,20 @@ static inline int32_t cho_tap(const int16_t *buf, uint32_t w, int32_t r)
|
||||
int32_t f = r & 255, c0 = buf[(w - ri) & (CHO_LEN - 1u)], c1 = buf[(w - ri - 1u) & (CHO_LEN - 1u)];
|
||||
return c0 + (((c1 - c0) * f) >> 8);
|
||||
}
|
||||
static inline int32_t cho_ens(const int16_t *buf, uint32_t w, uint32_t ph, int32_t depth, int32_t *sd)
|
||||
/* (0.9.9-snd2, lighter) the three read points at the LFO phase ph and depth (Q14 samples), into r: the LFO is read at a
|
||||
* segment's ends only and the read points glide between (fx_buses): a segment 64 samples below RATE 64, 16 below 96, 8
|
||||
* below 120, 4 above (the fast, deep sweeps bend most between two points): three sines a segment, not three a sample.
|
||||
* Against the old (a saw through it): -63 dB at the default, about -58 at RATE 80 .. 100, -50 at the fastest and deepest
|
||||
* (a 40 Hz sweep of 17 ms: an FM, not a chorus) (tests/delay_test.c test_chorus) */
|
||||
static __attribute__((noinline)) void cho_lfo(uint32_t ph, int32_t depth, int32_t *r) /* (out of the RAM code) */
|
||||
{
|
||||
int32_t a = cho_tap(buf, w, (300 << 8) + ((osc_sine(ph) + 32768) * depth >> 8));
|
||||
int32_t b = cho_tap(buf, w, (420 << 8) + ((osc_sine(ph + 0x55555555u) + 32768) * depth >> 8));
|
||||
int32_t c = cho_tap(buf, w, (540 << 8) + ((osc_sine(ph + 0xAAAAAAAAu) + 32768) * depth >> 8));
|
||||
r[0] = ((300 << 8) + ((osc_sine(ph) + 32768) * depth >> 8)) << 6; /* (Q14: the glide's step exact enough) */
|
||||
r[1] = ((420 << 8) + ((osc_sine(ph + 0x55555555u) + 32768) * depth >> 8)) << 6;
|
||||
r[2] = ((540 << 8) + ((osc_sine(ph + 0xAAAAAAAAu) + 32768) * depth >> 8)) << 6;
|
||||
}
|
||||
static inline int32_t cho_ens(const int16_t *buf, uint32_t w, const int32_t *r, int32_t *sd)
|
||||
{
|
||||
int32_t a = cho_tap(buf, w, r[0] >> 6), b = cho_tap(buf, w, r[1] >> 6), c = cho_tap(buf, w, r[2] >> 6);
|
||||
*sd = a - b;
|
||||
return ((a + b + c) * 21845) >> 15; /* (x2 / 3 each: the sum at x2, as the one tap was) */
|
||||
}
|
||||
@@ -1879,6 +1888,11 @@ static inline __attribute__((always_inline)) void fx_buses(const int32_t *cho_in
|
||||
k.tn = dtn; k.dg = dg; k.dgi = dgi; k.db = db;
|
||||
dly_lo(dly_in, dlo_x, dlo_xr, n, &k, wm, dwm);
|
||||
}
|
||||
int32_t cr[3], cdr[3] = {0, 0, 0}; /* (snd2) the chorus's read points, their step a sample; */
|
||||
uint32_t clg = GFX(GF_CRATE) < 64 ? 6u : GFX(GF_CRATE) < 96 ? 4u : GFX(GF_CRATE) < 120 ? 3u : 2u; /* .. the LFO read
|
||||
* every 64 / 16 / 8 / 4 samples */
|
||||
if (cho)
|
||||
cho_lfo(fx.cho_ph, fx.cd_cur, cr); /* (at the sample before the block: the loop steps first) */
|
||||
for (i = 0; i < n; i++) {
|
||||
int32_t y = 0, x, side = 0, xr = 0, wr = 0;
|
||||
/* chorus (0.5.1: an ensemble): three taps of the line, ~7, 9.5 and 12 ms, each swept by the LFO a third of a
|
||||
@@ -1888,7 +1902,13 @@ static inline __attribute__((always_inline)) void fx_buses(const int32_t *cho_in
|
||||
fx.cd_cur += dcd; fx.cw_cur += dcw; fx.dm_cur += ddm;
|
||||
if (cho) {
|
||||
int32_t sd;
|
||||
y += cho_ens(cho_buf, fx.cho_w, fx.cho_ph, fx.cd_cur, &sd);
|
||||
if (!(i & ((1u << clg) - 1u))) { /* (a segment: where the LFO will be at its end) */
|
||||
int32_t ce[3];
|
||||
cho_lfo(fx.cho_ph - cinc + (cinc << clg), fx.cd_cur - dcd + dcd * (1 << clg), ce);
|
||||
cdr[0] = (ce[0] - cr[0]) >> clg; cdr[1] = (ce[1] - cr[1]) >> clg; cdr[2] = (ce[2] - cr[2]) >> clg;
|
||||
}
|
||||
cr[0] += cdr[0]; cr[1] += cdr[1]; cr[2] += cdr[2];
|
||||
y += cho_ens(cho_buf, fx.cho_w, cr, &sd);
|
||||
sd = (sd * fx.cw_cur) >> 7;
|
||||
side += sd;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# JIANT audio path CPU under valgrind (tests/cpu_vg.c, tests/cpu_vg.py): instructions per sample,
|
||||
# x86-64 gcc -O2. Exact counts; the check allows +8 %. Rewritten by BUDGET_UPDATE=1.
|
||||
cho/pad 1284
|
||||
cho/pad.fast 1303
|
||||
dly/full 1350
|
||||
dly/full.drive 1374
|
||||
dly/full.throw 1508
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
* rev/<TYPE> a pad soaked in the reverb, each REVERB TYPE (ROOM SPRING SHIMR RESO CLOUD)
|
||||
* dly/<RATE> (0.8.4) a pad into the delay, its line at the full rate, half, a quarter (fx.c dly_lo); (snd2)
|
||||
* .drive: DRIVE 100; .throw: THROW held (KNOB 3 of the FX layer at 100), the loop's band in
|
||||
* cho/pad (snd2) a pad into the chorus only, RATE 40 (.fast: 127)
|
||||
* mix/full six parts: four ANALOG / FM6 chords, drums, every FX on; (snd2) .repeat / .glitch: the FX layer's
|
||||
* REPEAT 1/16 / GLITCH held on it
|
||||
* seq/plain the sequencer: six tracks of chords / hits on every step at 200 BPM
|
||||
@@ -207,6 +208,15 @@ int main(void)
|
||||
vg_section(DN[i]);
|
||||
song.g[G_DDRV] = 0;
|
||||
}
|
||||
vg_quiet(); /* (snd2) a pad into the chorus only (its LFO a segment: fx.c
|
||||
* cho_lfo), at the default RATE and at RATE 127 */
|
||||
vg_part(0, ENGI_ANALOG, 0, 4);
|
||||
trk[0].p[P_CHOR] = 127;
|
||||
vg_section("cho/pad");
|
||||
song.g[G_CRATE] = 127;
|
||||
vg_section("cho/pad.fast");
|
||||
song.g[G_CRATE] = 40;
|
||||
trk[0].p[P_CHOR] = 0;
|
||||
vg_quiet(); /* (snd2) THROW held (the FX layer's KNOB 3 at 100): the mix */
|
||||
song.g[G_DTIME] = DT_FREE + 40; song.g[G_DFDBK] = 70; song.g[G_DMOD] = 20; /* sent, the loop's band */
|
||||
vg_part(0, ENGI_ANALOG, 0, 4);
|
||||
|
||||
@@ -828,12 +828,64 @@ static void test_band(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* (0.9.9-snd2) the chorus lighter: its LFO read at the block's ends and the read points gliding between, against the
|
||||
* read points as they were (three sines a sample, computed here on the same line): the difference at the fastest RATE
|
||||
* and the deepest DEPTH, a 220 Hz saw through it */
|
||||
static int32_t saw_src(uint32_t t) { return (int32_t)((t * 220u * 65536u / FS) & 65535u) - 32768; }
|
||||
static double cho_diff(int32_t rate, int32_t depth)
|
||||
{
|
||||
static int16_t ref_buf[CHO_LEN];
|
||||
static int32_t c[CTL], d[CTL], r[CTL], w[CTL];
|
||||
uint32_t t, i, wpos = 0, ph = 0;
|
||||
double e = 0, sg = 0;
|
||||
int32_t dep = depth * 6, cdcur;
|
||||
dreset();
|
||||
memset(ref_buf, 0, sizeof ref_buf);
|
||||
song.g[G_CRATE] = (int16_t)rate; song.g[G_CDEPTH] = (int16_t)depth; song.g[G_CSTER] = 0;
|
||||
fx.cho_w = 0; fx.cho_ph = 0;
|
||||
for (t = 0; t < FS; t += CTL) {
|
||||
uint32_t cinc = LFO_INC[rate] / CTL;
|
||||
for (i = 0; i < CTL; i++) { c[i] = saw_src(t + i) / 2; d[i] = r[i] = 0; fx_sl[i] = fx_sr[i] = 0; }
|
||||
if (!t) { fx.primed = 0; }
|
||||
fx_buses(c, d, r, w, CTL);
|
||||
cdcur = fx.cd_cur;
|
||||
for (i = 0; i < CTL; i++) { /* the reference: three taps a sample, the LFO at each */
|
||||
int32_t a, b, cc, y, rr[3];
|
||||
ref_buf[wpos & (CHO_LEN - 1u)] = (int16_t)clamp(c[i] >> 1, -32768, 32767);
|
||||
ph += cinc;
|
||||
rr[0] = (300 << 8) + ((osc_sine(ph) + 32768) * dep >> 8);
|
||||
rr[1] = (420 << 8) + ((osc_sine(ph + 0x55555555u) + 32768) * dep >> 8);
|
||||
rr[2] = (540 << 8) + ((osc_sine(ph + 0xAAAAAAAAu) + 32768) * dep >> 8);
|
||||
a = cho_tap(ref_buf, wpos, rr[0]); b = cho_tap(ref_buf, wpos, rr[1]); cc = cho_tap(ref_buf, wpos, rr[2]);
|
||||
y = ((a + b + cc) * 21845) >> 15;
|
||||
wpos++;
|
||||
if (t >= FS / 4u) { e += (double)(w[i] - y) * (w[i] - y); sg += (double)y * y; }
|
||||
}
|
||||
(void)cdcur;
|
||||
}
|
||||
song.g[G_CRATE] = 40; song.g[G_CDEPTH] = 60;
|
||||
return 10.0 * log10(e / (sg > 0 ? sg : 1) + 1e-30);
|
||||
}
|
||||
static void test_chorus(void)
|
||||
{
|
||||
static const uint8_t RT[4] = {40, 80, 100, 127}, DP[4] = {60, 127, 127, 127};
|
||||
double dd[4];
|
||||
uint32_t k;
|
||||
for (k = 0; k < 4u; k++)
|
||||
dd[k] = cho_diff(RT[k], DP[k]);
|
||||
printf("delay: the chorus lighter against three sines a sample (a 220 Hz saw): RATE 40 DEPTH 60 %.1f dB, 80/127 %.1f, "
|
||||
"100/127 %.1f, 127/127 %.1f\n", dd[0], dd[1], dd[2], dd[3]);
|
||||
check("the chorus lighter: within -60 dB of the old at the default, -50 dB at the deepest and fastest", dd[0] < -60.0 &&
|
||||
dd[1] < -50.0 && dd[2] < -50.0 && dd[3] < -48.0);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
test_drive();
|
||||
#ifndef DRIVE_REF
|
||||
test_band();
|
||||
#endif
|
||||
test_chorus();
|
||||
if (argc > 2 && !strcmp(argv[2], "drive")) return bad != 0;
|
||||
test_leak();
|
||||
#ifdef DLY_SPAN
|
||||
|
||||
+88
-88
@@ -1,87 +1,87 @@
|
||||
# FELUCCA golden renders (tests/regress.c): name, FNV-1a 64 of the output samples.
|
||||
# Rewritten by GOLDEN_UPDATE=1 tests/run_tests.sh -- only for an intended change of the sound.
|
||||
preset/ANALOG/00_SAW_LEAD 717a294b4ff56a9b
|
||||
preset/ANALOG/01_SOFT_PAD d55efac704e50082
|
||||
preset/ANALOG/00_SAW_LEAD 5f451740bd536f95
|
||||
preset/ANALOG/01_SOFT_PAD 6c242591e546978c
|
||||
preset/ANALOG/02_SQR_BASS 25211902055eb8b8
|
||||
preset/ANALOG/03_PWM_STR eed762f2b5938b4b
|
||||
preset/ANALOG/03_PWM_STR f36c44c4091673b2
|
||||
preset/ANALOG/04_ACID 5341c6d28ad018b8
|
||||
preset/ANALOG/05_SINE_KEY 80d0a0f2b8e1e105
|
||||
preset/ANALOG/06_RAVE fb72d4b2d4313625
|
||||
preset/ANALOG/05_SINE_KEY a6301cc8bba0b00b
|
||||
preset/ANALOG/06_RAVE 5d71eae2fd8395bd
|
||||
preset/ANALOG/07_SUB_BASS 9be930a0b43d5470
|
||||
preset/ANALOG/08_PLUCK b76e61632df85ee1
|
||||
preset/ANALOG/09_BRASS 6e8aaef7c2d44d00
|
||||
preset/ANALOG/10_WIND 354977dc4c0b0714
|
||||
preset/ANALOG/11_STRINGS b45e94a29883dd27
|
||||
preset/ANALOG/12_SYNC_LEAD 778ba624ad0da3b2
|
||||
preset/ANALOG/13_RING_BELL 85ece1ffa53d7c96
|
||||
preset/ANALOG/08_PLUCK 867c77815d054482
|
||||
preset/ANALOG/09_BRASS f967830269a63e02
|
||||
preset/ANALOG/10_WIND 67d4671d2cbac958
|
||||
preset/ANALOG/11_STRINGS 162af84445f2b1cd
|
||||
preset/ANALOG/12_SYNC_LEAD 1f30066a5ec7f478
|
||||
preset/ANALOG/13_RING_BELL 03603f48c33d58a5
|
||||
preset/ANALOG/14_FAT_BASS a9019c28774c0f48
|
||||
preset/ANALOG/15_JUNO_PAD a1005064f0dfbf0f
|
||||
preset/ANALOG/16_REESE 42ae46dfa7b88831
|
||||
preset/ANALOG/17_HOOVER c119fbc7b31fc1de
|
||||
preset/ANALOG/18_DUB_STAB bc0114b39e7e3483
|
||||
preset/ANALOG/19_CELLO 0322f1aaa8b6f076
|
||||
preset/ANALOG/20_ARP_PLUCK e4b0d57ea65a5075
|
||||
preset/ANALOG/15_JUNO_PAD d4b1bdd6430a2cee
|
||||
preset/ANALOG/16_REESE cd95ae762be4201d
|
||||
preset/ANALOG/17_HOOVER 746cea18fa55bbfe
|
||||
preset/ANALOG/18_DUB_STAB 751d6138ae6d9767
|
||||
preset/ANALOG/19_CELLO a19b404081baeeeb
|
||||
preset/ANALOG/20_ARP_PLUCK 1f7aac5ae26ba377
|
||||
preset/ANALOG/21_MOOG_LEAD 6c732102087e5900
|
||||
preset/ANALOG/22_DARK_PAD afcab4fc249242ad
|
||||
preset/ANALOG/23_GLASS_KEYS 893809e86faa83ee
|
||||
preset/ANALOG/24_ORGAN_SQR 7ae653c0d99f08f6
|
||||
preset/PHASE/00_BRASS 8bbf1f46093f1f02
|
||||
preset/PHASE/01_ORGAN 448ab25705580b52
|
||||
preset/PHASE/02_STRING e11ab56633dbf73e
|
||||
preset/ANALOG/22_DARK_PAD 2bb8f0c1bac5c321
|
||||
preset/ANALOG/23_GLASS_KEYS 68503cc12f59222b
|
||||
preset/ANALOG/24_ORGAN_SQR 29841c2dfe115879
|
||||
preset/PHASE/00_BRASS 4d09f53f4525ce37
|
||||
preset/PHASE/01_ORGAN cf140a392f84895c
|
||||
preset/PHASE/02_STRING 711fd737d6a45499
|
||||
preset/PHASE/03_RESO c66f6191d9d18474
|
||||
preset/PHASE/04_BELL a950be279e9cd3d4
|
||||
preset/PHASE/05_WIRE 00f55b6273d44a51
|
||||
preset/PHASE/06_GROWL 742f3f9b475e663c
|
||||
preset/PHASE/05_WIRE 07e662ea2096ac7a
|
||||
preset/PHASE/06_GROWL 4be8696cc17b197d
|
||||
preset/PHASE/07_FB_BASS 1fad1e0ef1bf925c
|
||||
preset/PHASE/08_CZ_PIANO 59a27a249f2e7707
|
||||
preset/PHASE/09_GLASS_PAD 3eff61e6556992c7
|
||||
preset/PHASE/10_DIGI_STAB 1e05069853f471b0
|
||||
preset/PHASE/08_CZ_PIANO 02ae86c1f022fa1c
|
||||
preset/PHASE/09_GLASS_PAD 48cb2cd6b1916738
|
||||
preset/PHASE/10_DIGI_STAB 12a4e8ef0ab16a4a
|
||||
preset/PHASE/11_SYN_BASS 233dfa3a84541ed4
|
||||
preset/PHASE/12_VOX_PAD fb024e8238021ec0
|
||||
preset/PHASE/13_HARP 988650d65a662356
|
||||
preset/PHASE/14_PD_LEAD 68b34b37f09ec3c6
|
||||
preset/PHASE/15_RING_KEYS c63f40a2fda22978
|
||||
preset/PHASE/12_VOX_PAD f1c8aa2c98da0edb
|
||||
preset/PHASE/13_HARP 1ee06cfc974b1ac2
|
||||
preset/PHASE/14_PD_LEAD f2fed0b497382be3
|
||||
preset/PHASE/15_RING_KEYS f26819ab815a11d4
|
||||
preset/LOFI/00_BYTEBEAT 3bac17fa6a70ff84
|
||||
preset/LOFI/01_BYTE_VAR cb0bab5e3b502d85
|
||||
preset/LOFI/02_BYTE_BENT 00e5323584ebcfbd
|
||||
preset/LOFI/01_BYTE_VAR 1bcef1e41bfff869
|
||||
preset/LOFI/02_BYTE_BENT f1871d0d93879bca
|
||||
preset/LOFI/03_PULSE_LD 6733af2675f69e34
|
||||
preset/LOFI/04_WAVE_BASS 73a188a04b4a5e80
|
||||
preset/LOFI/05_8BIT_KEYS 2bf65a5e65a47420
|
||||
preset/LOFI/06_WAVE_LEAD 4285d094c6ea2b10
|
||||
preset/LOFI/07_STEP_LEAD 200150a7843abe0c
|
||||
preset/LOFI/08_BYTE_TONE 4336e5b46d5d3724
|
||||
preset/LOFI/09_FLOAT_FM 51cfbbb065020d46
|
||||
preset/LOFI/10_FLOAT_ARP 0f38b0edbe59f761
|
||||
preset/LOFI/11_FLOAT_PAD 5026450e5f4a78f8
|
||||
preset/LOFI/12_CHIP_PAD 701f8118a2428ea7
|
||||
preset/LOFI/13_GB_ARP 455b773b210a4d33
|
||||
preset/LOFI/09_FLOAT_FM 30ab777cc8620fb2
|
||||
preset/LOFI/10_FLOAT_ARP 86cb00b14af41925
|
||||
preset/LOFI/11_FLOAT_PAD d583e43091731692
|
||||
preset/LOFI/12_CHIP_PAD 8d6e163cc856a61c
|
||||
preset/LOFI/13_GB_ARP 00b8baa56e1f9a10
|
||||
preset/LOFI/14_TRI_BASS 870afdbf1c4c53bc
|
||||
preset/LOFI/15_SOFT_CHIP 5571485cf2d38b04
|
||||
preset/LOFI/15_SOFT_CHIP 33e98d5f4f8b7d8c
|
||||
preset/LOFI/16_SAW_CHIP 7a7fdb696ed7e2e0
|
||||
preset/VOICE/00_CHOIR_AAH 2eb13994abeac814
|
||||
preset/VOICE/01_VOX_LEAD d69d59a1a83b7159
|
||||
preset/VOICE/00_CHOIR_AAH f6d43132dba1c835
|
||||
preset/VOICE/01_VOX_LEAD e74c9931edbfb1c8
|
||||
preset/VOICE/02_WOW_BASS a8ac54f2ebd767dc
|
||||
preset/VOICE/03_WHISPER 5d3382f092142f9c
|
||||
preset/VOICE/04_OOH_PAD 6aca8203833f693c
|
||||
preset/VOICE/05_CHANT 07ef2864f374863f
|
||||
preset/VOICE/06_TALK_BOX c234af9bd9985162
|
||||
preset/VOICE/07_CANTOR_ES 34d1c619c9b91e0f
|
||||
preset/VOICE/08_CANTORA_ES 3820b732512b63c9
|
||||
preset/VOICE/09_SINGER_EN 075a915d31c57688
|
||||
preset/VOICE/10_UTA_JA 0eeb6f46052fcfe7
|
||||
preset/VOICE/11_WORD_CHOIR 48e8979e88893763
|
||||
preset/VOICE/03_WHISPER 06efa2e1a2c7deb8
|
||||
preset/VOICE/04_OOH_PAD 181991d1d3818c24
|
||||
preset/VOICE/05_CHANT f513d36cd6412a3b
|
||||
preset/VOICE/06_TALK_BOX a3b7c0c60d01e588
|
||||
preset/VOICE/07_CANTOR_ES 27ad5ba278731a40
|
||||
preset/VOICE/08_CANTORA_ES f1546979c6fbb3c1
|
||||
preset/VOICE/09_SINGER_EN 48c513406a45b0e9
|
||||
preset/VOICE/10_UTA_JA a6a4160dd0104caf
|
||||
preset/VOICE/11_WORD_CHOIR 51d3dc3ffa792530
|
||||
preset/VOICE/12_SCAT_EN 45f255416f680c44
|
||||
preset/VOICE/13_ROBOT_EN 0304c5fd7a2ea3ba
|
||||
preset/VOICE/14_WHISPER_JA 35762ea489573562
|
||||
preset/VOICE/13_ROBOT_EN 5013d7eb4dde9e26
|
||||
preset/VOICE/14_WHISPER_JA 0c23f62463fa6f67
|
||||
preset/WHEEL/00_FULL_ORGAN e15d9aecb5f43440
|
||||
preset/WHEEL/01_JAZZ_PERC c4637ad4130d4a14
|
||||
preset/WHEEL/02_GOSPEL e8c39d7c78490414
|
||||
preset/WHEEL/03_SOFT_FLUTE 6d1848fa5aa5a067
|
||||
preset/WHEEL/03_SOFT_FLUTE bab75a96f8032178
|
||||
preset/WHEEL/04_ROCK_DRIVE 31ee252ef5bbca1c
|
||||
preset/WHEEL/05_DUB_ORGAN 8544b9c2bcdc71c4
|
||||
preset/WHEEL/06_SOFT_KEYS 139c415f4fe7d3e6
|
||||
preset/WHEEL/07_CHURCH c07ea85e9dbefb72
|
||||
preset/WHEEL/08_WAVE_ORGAN 064b2f8c76f600db
|
||||
preset/WHEEL/05_DUB_ORGAN 883eaea66c8c76dd
|
||||
preset/WHEEL/06_SOFT_KEYS 63427f423a35e6ab
|
||||
preset/WHEEL/07_CHURCH c6c46aec2d7289f7
|
||||
preset/WHEEL/08_WAVE_ORGAN 0a41e24a8c59e1ba
|
||||
preset/WHEEL/09_REED_BASS 016ad56e74c7e0b0
|
||||
preset/DRUM/00_DRUM-X 29bfeb10d5aa0384
|
||||
preset/DRUM/01_909_CLUB a607b3108b8f5614
|
||||
@@ -92,32 +92,32 @@ preset/DRUM/05_ACOUSTIC 9a25cb4343c46684
|
||||
preset/DRUM/06_DUB_ROOTS 8e21f22f5e3ca77c
|
||||
preset/DRUM/07_TECHNO_RAW 33c33679dcd9b7fc
|
||||
preset/DRUM/08_BREAKS e7037002d5e7002c
|
||||
preset/NOISE/00_WIND e1789eb1bd5f7306
|
||||
preset/NOISE/00_WIND e8ad6e08d22b976c
|
||||
preset/NOISE/01_RAIN ef6fb2a57a81cdbc
|
||||
preset/NOISE/02_ARCADE f36c9761cdfa3e50
|
||||
preset/NOISE/03_METAL 8ed3190b3ad19cad
|
||||
preset/NOISE/04_SEA 142f2438aabf874e
|
||||
preset/NOISE/05_HISS_PAD 99fb98454aad3c84
|
||||
preset/NOISE/03_METAL ed66437ad21e6a8f
|
||||
preset/NOISE/04_SEA 90a33d34fdfa6c7d
|
||||
preset/NOISE/05_HISS_PAD 3247207bdeda667f
|
||||
preset/NOISE/06_CRACKLE 4808a6f9bd9070dc
|
||||
preset/NOISE/07_TAPE_AIR a3cb2e91c3efa8ef
|
||||
preset/FM6/00_TINE_EP 6ebc2d95a07c5a34
|
||||
preset/FM6/01_BELL a661bea3e20d1cba
|
||||
preset/NOISE/07_TAPE_AIR 98e19f9d1ece2fff
|
||||
preset/FM6/00_TINE_EP 08e3a77ae8c5384c
|
||||
preset/FM6/01_BELL bee30bab1615d7ad
|
||||
preset/FM6/02_FM_BASS 13c6a71d18f61810
|
||||
preset/FM6/03_BRASS d89a3257ae272416
|
||||
preset/FM6/04_PAD f9b0eef356409dcf
|
||||
preset/FM6/03_BRASS 904b352e5d93b0bc
|
||||
preset/FM6/04_PAD 4e789c6ea578c3a1
|
||||
preset/FM6/05_MARIMBA e05442d133ee85f4
|
||||
preset/FM6/06_ORGAN 484300d8a55919f2
|
||||
preset/FM6/07_PLUCK faabeb24798eb143
|
||||
preset/FM6/08_ICE_BELL 8b50d905e8b137c4
|
||||
preset/FM6/09_DX_KEYS 7e1a3b6df9ad9313
|
||||
preset/FM6/10_FM_PLUCK e62f5bd289df2231
|
||||
preset/FM6/11_SOFT_BELL 9cd958b203970ff3
|
||||
preset/FM6/12_FM_STRINGS d585d85d15a270b6
|
||||
preset/FM6/06_ORGAN f8a25e75fa1d4ebd
|
||||
preset/FM6/07_PLUCK d86b93e8f2b807c7
|
||||
preset/FM6/08_ICE_BELL 3886f7fec5c47fab
|
||||
preset/FM6/09_DX_KEYS aad3b096f71e19ed
|
||||
preset/FM6/10_FM_PLUCK 260abe546fada4f2
|
||||
preset/FM6/11_SOFT_BELL 7c3edd5712bfca32
|
||||
preset/FM6/12_FM_STRINGS 44de0c365f6d006e
|
||||
preset/FM6/13_HARD_BASS c478ba2f7bb316f0
|
||||
preset/FM6/14_WOOD 14e98ef895b20f19
|
||||
preset/FM6/14_WOOD 8d558207184d6e97
|
||||
preset/ANIMAL/00_CMOS_BIRD f0b51e6983f14c30
|
||||
preset/ANIMAL/01_CMOS_TRILL 2bc4227a7e962180
|
||||
preset/ANIMAL/02_CMOS_MONKEY b0ffb372bef0d58f
|
||||
preset/ANIMAL/02_CMOS_MONKEY 44cacded8b36cc1e
|
||||
preset/ANIMAL/03_CMOS_BUG 1627610339e15c20
|
||||
preset/ANIMAL/04_CRICKET a580eb3c1b798024
|
||||
preset/ANIMAL/05_TREE_CRICKT ee04807ff5fb5670
|
||||
@@ -140,20 +140,20 @@ preset/ANIMAL/21_DOG_BARK 4cea6c239a3f0ae4
|
||||
preset/ANIMAL/22_ROAR ab2a83d164cc8284
|
||||
preset/ANIMAL/23_PURR adcdc6e8137708c0
|
||||
drums/drum_gm_kit b83f6a78da9d3c50
|
||||
mode/ANALOG/POLY 0061651d987ab848
|
||||
mode/ANALOG/MONO 8f61ab9ba8b64bc4
|
||||
mode/ANALOG/LEGATO 7272369c3a625c89
|
||||
mode/ANALOG/UNISON f2ccfdd7e9e0e54a
|
||||
mode/VOICE/POLY 2eb13994abeac814
|
||||
mode/VOICE/MONO 12beb06310c90ff1
|
||||
mode/VOICE/LEGATO 51c1d0974d670477
|
||||
mode/VOICE/UNISON d481034637691f55
|
||||
mode/ANALOG/POLY e0be4a96fa245176
|
||||
mode/ANALOG/MONO 0ebc4905f5e8e7e6
|
||||
mode/ANALOG/LEGATO 7b4d2666581c53a4
|
||||
mode/ANALOG/UNISON 85bac3e0860d7043
|
||||
mode/VOICE/POLY f6d43132dba1c835
|
||||
mode/VOICE/MONO 69e021f9442605aa
|
||||
mode/VOICE/LEGATO 0a913bbb6dffb2d1
|
||||
mode/VOICE/UNISON fc86e163671ed515
|
||||
sends/ANALOG/dry 35473f3c1f5ccde4
|
||||
sends/ANALOG/chorus 3fefbc07dd8cf2b3
|
||||
sends/ANALOG/chorus f10e88a345f0bbb9
|
||||
sends/ANALOG/delay 42494d45f31d28d8
|
||||
sends/ANALOG/reverb 80bc5bee844683a0
|
||||
sends/ANALOG/all 654f50e8fe94a0ce
|
||||
sends/ANALOG/all 7df40199cca50a8d
|
||||
sends/ANALOG/dist 51f3ea975a0b6994
|
||||
song/4track_mix e160556808fc91e9
|
||||
song/4track_mix a4bf0a2d90aa1db3
|
||||
slicer/gate/ANALOG_ACID 7a40cf2a7ffa8b0c
|
||||
slicer/song_gate_stut b2b7e05cf369810e
|
||||
slicer/song_gate_stut d2897fac9c04684a
|
||||
+10
-1
@@ -87,6 +87,9 @@ static void ref_buses(const int32_t *cho_in, const int32_t *dly_in, const int32_
|
||||
int32_t dcd = fx_glide(rf.cd, cdepth, n), ddm = fx_glide(rf.dm, dmix, n);
|
||||
if (!rf.dl_now) { rf.dl_now = dl; rf.cd = cdepth; rf.dm = dmix; } /* (the first block: fx.primed) */
|
||||
if (!rf.dl_xf && dl != rf.dl_now) { rf.dl_old = rf.dl_now; rf.dl_now = dl; rf.dl_xf = DXF_LEN; }
|
||||
int32_t cr[3], cdr[3] = {0, 0, 0}; /* (0.9.9-snd2: the chorus's LFO a segment, fx.c) */
|
||||
uint32_t clg = song.g[G_CRATE] < 64 ? 6u : song.g[G_CRATE] < 96 ? 4u : song.g[G_CRATE] < 120 ? 3u : 2u;
|
||||
cho_lfo(rf.cho_ph, rf.cd, cr);
|
||||
for (i = 0; i < n; i++) {
|
||||
int32_t y = 0, x, r, a;
|
||||
rf.cd += dcd; rf.dm += ddm;
|
||||
@@ -94,7 +97,13 @@ static void ref_buses(const int32_t *cho_in, const int32_t *dly_in, const int32_
|
||||
rf.cho_ph += cinc;
|
||||
{ /* (0.5.1: the chorus is the ensemble, its middle) */
|
||||
int32_t sd;
|
||||
y += cho_ens(ref_cho, rf.cho_w, rf.cho_ph, rf.cd, &sd);
|
||||
if (!(i & ((1u << clg) - 1u))) {
|
||||
int32_t ce[3];
|
||||
cho_lfo(rf.cho_ph - cinc + (cinc << clg), rf.cd - dcd + dcd * (1 << clg), ce);
|
||||
for (k = 0; k < 3u; k++) cdr[k] = (ce[k] - cr[k]) >> clg;
|
||||
}
|
||||
for (k = 0; k < 3u; k++) cr[k] += cdr[k];
|
||||
y += cho_ens(ref_cho, rf.cho_w, cr, &sd);
|
||||
(void)r;
|
||||
}
|
||||
rf.cho_w++;
|
||||
|
||||
Reference in new issue
Block a user