mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 20:34:27 +01:00
V10.8.28: WEST's DUST (the owner: too crackly, the timbre not in it): 1..95 white noise into the folder with the core (folded and gated with it), from 48 some straight to the gate (air); no impulses, no flashes of the cell, the core never fades; 96..127 METAL: NOISE's META register sequences (Leo Kuroshita's, eng_noise.c until V10.7.35), a period a period of the key, into the folder with the core at half; NOISE projects and user presets (phys < 3, no UP_WEST_MARK) mapped again (core.h west_from_noise: META as METAL, the noise modes as DUST's noise, GATE 0, DECAY 127, RES half the PEAK); WIND RAIN METAL SEA HISS PAD INIT NOISE TAPE AIR revoiced for it; tests: west_test (DUST 95 broadband, DUST 127 METAL noiseless and bright, NOISE projects mapped), upreset_test, ui_test's DRUM IMAGE without an earlier test's reverb tail; golden WEST renders updated; layout re-recorded (REPIN=keep)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
10 files changed
+1814
-1775
No files matched your search
+15
-6
@@ -369,12 +369,21 @@ static int analog_from_chip(uint32_t engine, int16_t *e)
|
||||
return 1;
|
||||
}
|
||||
/* (V10.7.36) engine 11 was NOISE until V10.7.35, WEST since: a sound of NOISE -> WEST's values, e its P_E0..P_E7 in
|
||||
* place ({MODE COLOR FREQ PEAK TRK DENSE DRIFT CRUSH} -> {FOLD SYMM MOD RATIO GATE DECAY RES DUST}). NOISE was a noise
|
||||
* source through a filter, its level the ADSR's: its noise modes become DUST (ANLG's white noise 127, DUST's impulses
|
||||
* 96: the core silent), the gate a low-pass alone (GATE 0) held open as far as FREQ was (less for a pink or brown
|
||||
* COLOR: DECAY 88..127), RES its PEAK; the register tones (LFSR, META) a folded, modulated tone (FOLD 90, RATIO 0.5 or
|
||||
* 1.41, DECAY 127). TRK DRIFT CRUSH have no place. Projects (project.c proj_phys_gone: those without PROJ_PHYS 3),
|
||||
* user presets (upreset.c up_migrate: those without UP_WEST_MARK). Not idempotent: the callers mark what they did */
|
||||
* place ({MODE COLOR FREQ PEAK TRK DENSE DRIFT CRUSH} -> {FOLD SYMM MOD RATIO GATE DECAY RES DUST}). (V10.8.28, the
|
||||
* owner) META's register tones become DUST's METAL (the same sequence: LEN's eighth), folded a little; ANLG, DUST and
|
||||
* LFSR the noise (DUST 95, the impulses 70); the gate a low-pass alone held open (GATE 0, DECAY 127), RES half the
|
||||
* PEAK. Projects (project.c proj_phys_gone: those without PROJ_PHYS 3), user presets (upreset.c up_migrate: those
|
||||
* without UP_WEST_MARK). Not idempotent: the callers mark what they did */
|
||||
static void west_from_noise(int16_t *e)
|
||||
{
|
||||
int32_t meta = e[0] == 3, len = e[5], res = e[3] >> 1;
|
||||
e[0] = meta ? 40 : 0;
|
||||
e[1] = e[2] = e[4] = 0;
|
||||
e[3] = 1;
|
||||
e[5] = 127;
|
||||
e[6] = (int16_t)res;
|
||||
e[7] = (int16_t)(meta ? 96 + ((len >> 4) << 2) : e[7] == 1 ? 70 : 95);
|
||||
}
|
||||
|
||||
/* SAMPLE SET 4 was PERC, the GM-mapped drum kit (tools/gen_samples.py); retired after 1.0.2: its index stays
|
||||
* (SET / GRAIN SRC 4 is an alias of PIANO; 5..7, once USR1..3, clamp to it). A sound that selected it is the DRUM engine with
|
||||
|
||||
+45
-41
@@ -25,9 +25,11 @@
|
||||
* semitones an octave of light) and the VCA. Past 80 a held note keeps the LED lit (the ADSR's level, all
|
||||
* of it at 127): it sustains.
|
||||
* RES the gate's filter resonance, bounded (Q up to ~3: a pinged gate rings down in pitch, the bongo's knock).
|
||||
* DUST noise into the gate: 1..72 random impulses (crackle, 1 .. 600 a second) that also flash the cell (the dust
|
||||
* pings it: ghost notes, drops); 72..96 the core fades out (the impulses alone); 96..127 hiss comes in (white
|
||||
* noise, at 127 full) and the impulses get denser (to ~2000 a second). 0: none at all.
|
||||
* DUST (V10.8.28, the owner: the crackle gone) 1..95 white noise into the folder with the core, so it folds and
|
||||
* gates with it (fused into the timbre, not beside it), and from 48 on some of it straight to the gate too
|
||||
* (air); the core never fades. 96..127 METAL: instead of the noise, one of eight short register sequences, a
|
||||
* period of it a period of the key (NOISE's META, Leo Kuroshita's, below), into the folder with the core
|
||||
* at half: a metallic tone. 0: none at all.
|
||||
* The track's FLT moves the gate's ceiling (CUT, the matrix's CUT, LIFE's), SHP the fold, PIT the pitch; velocity
|
||||
* lights the cell brighter (the strike), folds harder and opens the ceiling. The ceiling follows the key by half.
|
||||
*
|
||||
@@ -46,6 +48,19 @@ static const char *const N_WEST_RATIO[] = {"0.5", "1", "1.41", "1.5", "1.73", "2
|
||||
"0.5T", "1T", "1.41T", "1.5T", "1.73T", "2T", "2.5T", "2.76T",
|
||||
"3T", "3.5T", "4T", "5T", "5.40T", "6T", "7T", "8T"};
|
||||
static const uint16_t WEST_RATIO[16] = {128, 256, 362, 384, 443, 512, 640, 706, 768, 896, 1024, 1280, 1383, 1536, 1792, 2048};
|
||||
/* (V10.8.28) DUST's METAL, NOISE's META as Leo Kuroshita wrote it (eng_noise.c until V10.7.35): one period of a register's output bit (bit i of the words, from the state 1), its length,
|
||||
* and the levels of a 1 and a 0 (no DC, the larger at 16384). 7-bit taps 0x60 and 0x78, the 15-bit
|
||||
* register with its feedback from bits 0 and 6 (period 93), 6-bit 0x30 and 0x2D, 5-bit, 4-bit, 3-bit */
|
||||
static const struct { uint32_t w[4]; uint8_t len; int16_t hi, lo; } NOISE_SEQ[8] = {
|
||||
{{0xD13C50C1u, 0x91C2F95Cu, 0xA58DED6Cu, 0x01FD533Bu}, 127, 16128, -16384},
|
||||
{{0xDBD165F1u, 0x9E46A1FDu, 0x84C15692u, 0x019B1CEBu}, 127, 16128, -16384},
|
||||
{{0x41008001u, 0x00492402u, 0x00824824u, 0x00000000u}, 93, 16384, -3404},
|
||||
{{0x27179461u, 0x03F566EDu, 0x00000000u, 0x00000000u}, 63, 15872, -16384},
|
||||
{{0x75A6C487u, 0x02FCA8CFu, 0x00000000u, 0x00000000u}, 63, 15872, -16384},
|
||||
{{0x05763E69u, 0x00000000u, 0x00000000u, 0x00000000u}, 31, 15360, -16384},
|
||||
{{0x00000F59u, 0x00000000u, 0x00000000u, 0x00000000u}, 15, 14336, -16384},
|
||||
{{0x0000001Du, 0x00000000u, 0x00000000u, 0x00000000u}, 7, 12288, -16384},
|
||||
};
|
||||
/* phase increment of pitch p (1/16 semitone) past the table's top, up to one step a sample (NOISE's, kept here:
|
||||
* eng_animal.c uses it) */
|
||||
static uint32_t noise_inc(int32_t p)
|
||||
@@ -145,17 +160,17 @@ static void west_render(track_t *t, voice_t *v, int32_t *out, uint32_t n, const
|
||||
int32_t md = clamp(p[P_E2], 0, 127), gate = clamp(p[P_E4], 0, 127), rt = clamp(p[P_E3], 0, 31);
|
||||
int32_t dec = clamp(p[P_E5], 0, 127), dust = clamp(p[P_E7], 0, 127), vel = v->vel, tri = rt >> 4;
|
||||
int32_t ic1 = v->s[0], ic2 = v->s[1], strk = v->s[2] & 15, gq = (int32_t)((uint32_t)v->s[2] >> 4), dq = v->s[3];
|
||||
int32_t pend = 0, dc = v->s[4], dark = v->s[5], ga = v->s[6];
|
||||
int32_t dc = v->s[4], dark = v->s[5], ga = v->s[6];
|
||||
int32_t xg0 = v->s[7], F0 = 0, fv = -1;
|
||||
uint32_t p0, cph = v->ph[0], mph = v->ph[1], inc = m->inc, off = (uint32_t)clamp(p[P_E1], 0, 127) << 22;
|
||||
uint32_t minc = (inc >> 8) * WEST_RATIO[rt & 15], dep = (uint32_t)(md * md * 13) >> 1; /* (state in locals:
|
||||
* out[] may alias v->s[]) */
|
||||
uint32_t r = 1753000000u / (inc | 1u), i = 0; /* r: ~18 kHz / the note */
|
||||
int32_t rng = (int32_t)v->ph[2], kd = 8192 - clamp(p[P_E6], 0, 127) * 6800 / 127, ks, hold = 0, osc = 32767, hiss = 0;
|
||||
int32_t rng = (int32_t)v->ph[2], kd = 8192 - clamp(p[P_E6], 0, 127) * 6800 / 127, ks, hold = 0, nmix = 0, air = 0, sel = -1;
|
||||
ks = kd < 5461 ? kd * 3 >> 1 : 8192; /* (V10.7.41, the owner: RES 100 broke on the peaks) past RES ~43 the
|
||||
* gate's input lowered with its resonance (x0.25 at 127): its ring kept
|
||||
* inside the gate's product (it wrapped 32 bits) */
|
||||
int32_t thr = 0, kick = dust * 200, fdep = (127 - gate) * 520, vdep = gate * 520, gcap, fg, ceil, flo, kf, k0;
|
||||
int32_t fdep = (127 - gate) * 520, vdep = gate * 520, gcap, fg, ceil, flo, kf, k0;
|
||||
int32_t am = md > 100 ? (md - 100) * 600 : 0;
|
||||
{ /* FOLD (+ SHP, velocity), squared: 0 .. 2016 (Q8 over x1) */
|
||||
int32_t f = clamp((p[P_E0] << 8) + m->shape - (64 << 8) + (vel - 64) * 40, 0, 127 << 8);
|
||||
@@ -180,16 +195,11 @@ static void west_render(track_t *t, voice_t *v, int32_t *out, uint32_t n, const
|
||||
kf = (k0 * 15) >> 5;
|
||||
if (v->gate && dec > 80) /* held: the LED lit by the ADSR */
|
||||
hold = mulq15((dec - 80) * 697, m->envq15);
|
||||
if (dust) { /* DUST: the impulses' rate 2^(e8 / 256) a second */
|
||||
int32_t e8 = dust <= 72 ? dust * 33 : dust <= 96 ? 2376 : 2376 + (dust - 96) * 15;
|
||||
uint32_t rate = 1u << (e8 >> 8);
|
||||
rate += (rate * (uint32_t)(e8 & 255)) >> 8;
|
||||
thr = (int32_t)((rate * 97391u) >> 16) << vsh; /* per 2^16 of a sample */
|
||||
osc = dust <= 72 ? 32767 : dust >= 96 ? 0 : (96 - dust) * 1365;
|
||||
hiss = dust > 96 ? (dust - 96) * 1057 : 0;
|
||||
if (vsh) /* (V10.7.56: white noise at half the rate: its power in half the
|
||||
* band, -3 dB to stay as loud under 11 kHz) */
|
||||
hiss = (hiss * 23170) >> 15;
|
||||
if (dust >= 96) /* METAL: the register sequence (NOISE_SEQ) */
|
||||
sel = (dust - 96) >> 2;
|
||||
else if (dust) { /* the noise into the folder, the air past 48 */
|
||||
nmix = dust * 172;
|
||||
air = dust > 48 ? (dust - 48) * 400 : 0;
|
||||
}
|
||||
p0 = ((uint32_t)xg0 << 7) + off; /* (F0 read when needed: fv -1) */
|
||||
while (i < n) {
|
||||
@@ -223,7 +233,8 @@ static void west_render(track_t *t, voice_t *v, int32_t *out, uint32_t n, const
|
||||
dd = len == WS_SUB ? (dt - dq) >> 4 : (dt - dq) / (int32_t)len;
|
||||
for (; i < end; i++) {
|
||||
int32_t y = 0, v1, v2, v3;
|
||||
if (osc) { /* (DUST past 96: the core gone, none of it run) */
|
||||
uint32_t q = 0;
|
||||
{
|
||||
int32_t x, ms = 0, xg, d, F1;
|
||||
uint32_t ph = cph, p1;
|
||||
if (dep) {
|
||||
@@ -233,6 +244,13 @@ static void west_render(track_t *t, voice_t *v, int32_t *out, uint32_t n, const
|
||||
ph += (uint32_t)ms * (uint32_t)dq;
|
||||
}
|
||||
x = tri ? osc_tri(ph + 0x40000000u) : sine_i(ph);
|
||||
if (sel >= 0) { /* METAL: the sequence's step at the key's phase, the core half */
|
||||
uint32_t j = ((cph >> 16) * NOISE_SEQ[sel].len) >> 16;
|
||||
x = (x >> 1) + ((NOISE_SEQ[sel].w[j >> 5] >> (j & 31u)) & 1u ? NOISE_SEQ[sel].hi : NOISE_SEQ[sel].lo);
|
||||
} else if (nmix) {
|
||||
q = noise32(&rng);
|
||||
x += mulq15((int32_t)(q >> 16) - 32768, nmix);
|
||||
}
|
||||
gq += dg;
|
||||
xg = x * (gq >> 8); /* the folder's input: Q23, a quarter turn at 1 */
|
||||
p1 = ((uint32_t)xg << 7) + off;
|
||||
@@ -254,19 +272,10 @@ static void west_render(track_t *t, voice_t *v, int32_t *out, uint32_t n, const
|
||||
y = mulq15(y, 32767 - am + mulq15(am, ms));
|
||||
dc += ((y << 8) - dc) >> (9u - vsh); /* (~14 Hz: SYMM's DC gone within ~12 ms) */
|
||||
y -= dc >> 8;
|
||||
if (osc != 32767)
|
||||
y = mulq15(y, osc);
|
||||
}
|
||||
cph += inc;
|
||||
if (dust) {
|
||||
uint32_t q = noise32(&rng);
|
||||
if (hiss)
|
||||
y += mulq15((int32_t)(q >> 16) - 32768, hiss);
|
||||
if ((int32_t)(q & 0xFFFFu) < thr) { /* an impulse, random size and sign */
|
||||
int32_t a = 8192 + (int32_t)((q >> 18) & 0x7FFFu);
|
||||
y += (q & 0x20000u) ? a : -a;
|
||||
pend += (a * kick) >> 16;
|
||||
}
|
||||
if (air) { /* the air: the same noise's other half, past the folder */
|
||||
y += mulq15((int32_t)(q & 0xFFFFu) - 32768, air);
|
||||
y = clamp(y, -65535, 65535);
|
||||
}
|
||||
/* the gate's low-pass (dsp.c tsvf_lp, rounded: no DC walk at low cutoffs), at half level (the sums of
|
||||
@@ -286,11 +295,6 @@ static void west_render(track_t *t, voice_t *v, int32_t *out, uint32_t n, const
|
||||
ga = lv;
|
||||
gq = g;
|
||||
dq = dt;
|
||||
if (pend) { /* the dust's flashes on the cell */
|
||||
li = west_exp2n(dark >> 8) + pend;
|
||||
dark = west_log2n(li > 32767 ? 32767 : li);
|
||||
pend = 0;
|
||||
}
|
||||
}
|
||||
v->s[0] = ic1;
|
||||
v->s[1] = ic2;
|
||||
@@ -310,23 +314,23 @@ static void west_render(track_t *t, voice_t *v, int32_t *out, uint32_t n, const
|
||||
* basses, leads, drones (WEST_ORDER: those first). (V10.7.37) revoiced for the vactrol and the folds: the struck ones
|
||||
* leave their tails to the cell (REL long: the ADSR only ends them), the held ones (DECAY past 80) sustain */
|
||||
static const preset_t WEST_PRESETS[] = {
|
||||
{"WIND", {0, 0, 0, 1, 0, 112, 100, 120}, {90, 90, 110, 90}, 0, TAG(FX), FX(0, 30, 20, 80), PAT(5),
|
||||
{"WIND", {0, 0, 0, 1, 0, 112, 100, 95}, {90, 90, 110, 90}, 0, TAG(FX), FX(0, 30, 20, 80), PAT(5),
|
||||
MODS(MMOD(1, PS_MODW, PD_E(6), 30), P_LWAVE, LW_DRIFT, P_LRATE, 20, P_LD_FLT, 30)}, /* MODW: it howls, gusts */
|
||||
/* the dust flashes the cell: drops of the note, each its own height and place */
|
||||
{"RAIN", {30, 0, 0, 1, 64, 26, 70, 56}, {0, 64, 127, 50}, 0, TAG(FX), FX(0, 0, 20, 70), PAT(5),
|
||||
{"RAIN", {30, 0, 0, 1, 64, 26, 70, 70}, {0, 64, 127, 50}, 0, TAG(FX), FX(0, 0, 20, 70), PAT(5),
|
||||
MODS(MMOD(1, PS_RAND, PD_CUT, 30), MMOD(2, PS_RAND, PD_PAN, 40))},
|
||||
/* a folded zap: ENV 2 drops it an octave into the note, RAND its ratio */
|
||||
{"ARCADE", {100, 40, 50, 16, 80, 56, 30, 0}, {0, 80, 0, 50}, 0, TAG(FX), FX(0, 0, 10, 20), PAT(3),
|
||||
MODS(MENV2(0, 40, 0, 30), MMOD(1, PS_ENV2, PD_PITCH, 63), MMOD(2, PS_RAND, PD_E(3), 20))},
|
||||
/* clangorous: a triangle core at a bar's second mode, folded hard, the dust's grit */
|
||||
{"METAL", {85, 30, 75, 23, 96, 76, 30, 6}, {0, 75, 127, 70}, 10, TAG(FX), FX(0, 20, 30, 45), PAT(7),
|
||||
/* clangorous: a triangle core at a bar's second mode, folded hard with DUST's METAL (V10.8.28: NOISE's META 93) */
|
||||
{"METAL", {85, 30, 75, 23, 96, 76, 30, 104}, {0, 75, 127, 70}, 10, TAG(FX), FX(0, 20, 30, 45), PAT(7),
|
||||
MODS(MMOD(1, PS_VEL, PD_CUT, 20))},
|
||||
{"SEA", {0, 0, 0, 1, 0, 104, 30, 118}, {100, 90, 120, 110}, 0, TAG(FX), FX(0, 20, 20, 80), PAT(5),
|
||||
{"SEA", {0, 0, 0, 1, 0, 104, 30, 95}, {100, 90, 120, 110}, 0, TAG(FX), FX(0, 20, 20, 80), PAT(5),
|
||||
MODS(P_LRATE, 10, P_LD_FLT, 20, P_LD_AMP, 30)},
|
||||
{"HISS PAD", {20, 0, 0, 1, 30, 120, 60, 112}, {80, 90, 105, 100}, 0, TAG(PAD), FX(0, 40, 30, 85), PAT(5),
|
||||
{"HISS PAD", {20, 0, 0, 1, 30, 120, 60, 90}, {80, 90, 105, 100}, 0, TAG(PAD), FX(0, 40, 30, 85), PAT(5),
|
||||
BREATHE(24, 0, 1), MODS(MMOD(1, PS_AT, PD_E(6), 30))},
|
||||
{"INIT NOISE", {0, 0, 0, 1, 127, 127, 0, 127}, {0, 64, 57, 20}, 0, TAG(FX), FX(0, 0, 0, 0)},
|
||||
{"TAPE AIR", {0, 0, 0, 1, 20, 100, 20, 104}, {90, 90, 115, 110}, 0, TAG(FX), FX(0, 30, 25, 70), PAT(5),
|
||||
{"INIT NOISE", {0, 0, 0, 1, 127, 127, 0, 95}, {0, 64, 57, 20}, 0, TAG(FX), FX(0, 0, 0, 0)},
|
||||
{"TAPE AIR", {0, 0, 0, 1, 20, 100, 20, 80}, {90, 90, 115, 110}, 0, TAG(FX), FX(0, 30, 25, 70), PAT(5),
|
||||
MODS(P_LWAVE, LW_DRIFT, P_LRATE, -1, P_LD_FLT, 10)},
|
||||
/* (V10.7.36, revoiced V10.7.37) the west coast. A sine core folded, the gate pinged: the classic pluck */
|
||||
{"WEST PLUCK", {52, 12, 0, 1, 64, 68, 30, 0}, {0, 64, 127, 80}, 0, TAG(PLUCK), FX(0, 0, 25, 30), PAT(3)},
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
#define FELUCCA_ID "FM-1_900" /* package identity (build.py: the .fwsc marker string) */
|
||||
#endif
|
||||
#ifndef FELUCCA_VERSION
|
||||
#define FELUCCA_VERSION "V10.8.27" /* (2026-11-23) V10.8.21: SEQ > CLAY (the owner): DRONE CLAY, JIANT BYTE's drone and its four modulators (DEST SHAPE EUCLID AMOUNT; DECAY, STEP, SEED) on any track, kept with the project ('C' 'Y'), its pages' picture the modulators' telemetry. V10.7.77: GEN (the owner): DUBSTEP's wobble its rate moving (the wobble bass's LFO RATE automated half a bar each: 1/4 1/8 1/8T 1/16); CUMBIA villera one throw in two (a villera 'teclado': 92 .. 100, minor, the keyboard's lead up front). V10.7.76: DRUM-X MATH a wavetable (the owner: "harsh"): its t whole cycles of the hit's time (one shape evolving), interpolated between its samples; SOUND 3 draws it (four moments, cold to hot); hints trimmed (flash). V10.7.75: DRUM-X MATH (the owner): its RATIO (1/4 .. 16, 24, the inharmonic between) on SOUND 3's KNOB 4, COLOR read MOD AMT; MATH's RESTART the scope (its ramps' picture gone), ten more hints out (flash). V10.7.74: DRUM-X MATH (the owner): a sound's WAVE past BELL a MATH formula F01..F48 as its FM's modulator (COLOR its index; its t the hit's time, a sample in eight), kept with the project ('D' 'F'). V10.7.73: SCL > HARMONY its own tab (KEY CHORD HARMONY SCENE); the defaults once (the owner): LARGE off, CLICK REC, COUNT-IN 1 BAR. V10.7.72: GEN (the owner): MATH WEST STRING more (the archetypes' third options theirs, 25 %; a bass's one time in ten); GLO > GLOBAL the scope, its bars gone. V10.7.71: SCL > HARMONY's picture (the owner): the progression's chords as roman numerals in the key ("-" minor, "o" diminished), each its root's colour, the one playing lit; the obvious knobs' hints out (flash). V10.7.70: FX > PUNCH IN: KNOB 4 M4 (its ERASE PUNCH LANE's only), so OCT+ always the punch-in editor (an ERASE picked took it). V10.7.69: MATH FLOAT MORPH (the owner): ALGO B where CHIP was, MORPH A -> B where BEND was (between the ends B a sample in eight, interpolated: +12.5 % CPU); MATH's formulas (lofi_float, lofi_byte) their 14 divisions by a constant as multiplies (JIANT BYTE 0.16's build pass, tools/build.py const_divs: exact, less CPU a sample); the MACRO layer's dead branches out (flash). V10.7.68: EUCLID MODES > ROLE (MELODY CHORDS BASS ARP, was CHORD) on the harmony the other melodic tracks play, bar by bar (four bars when it changes), else SCL's key; a recorded melody EUCLID takes: its notes as they were; LFO / FX dice leftovers out (flash). V10.7.67: GEN and EUCLID MUTATE fuse two seeds (the owner: never one as it is; the second far from the first), A+B in the name; FX + OCT+ opens the punch-in editor again (as OCT+ on FX > PUNCH IN). V10.7.66: SCL > HARMONY (PROG LENGTH EVOLVE SKIP: every melodic sequence follows a progression); GEN 8 progressions more (neo-soul, jazz, IDM, progressive); EUCLID's melody CONTOUR RANGE MOTIF CHORD; macros FX > PUNCH IN's only (LFO's layer, HOME > ROUTES gone, MACROS in FX), GLO's layer says G4 UNDO; the PUNCH-IN EDITOR redone (the owner): a key WHAT (an effect, or PARAM: M1..M4, CUT PITCH TIMBRE VOLUME PAN DIST CHORUS DELAY REVERB VIBRATO on every track), HOW (an effect HOLD LATCH QUANT; PARAM HOLD RAMP UP RAMP DN SINE STUTTER S&H), AMOUNT (-100..+100 %; an effect its TARGET), TIME (1/16 .. 8 BARS); two slots A B; FX > PUNCH IN its knobs M1..M4 (PUNCH LANE: LEN RES); the layers MAP only (KNOBS STATE gone, ALGORITHM nothing held), the FX cards "M1 CUT"; FX + SELECT the FX pages (its dice gone). GENE while it plays waits for the bar to end (Hollusion); GENE 4: KEY NEW / KEEP (the first melodic track's key and mode kept), ENTRY ALL / BUILD (the new piece in a track a bar, the kit first); the old DIGITAL / NOISE / retired engines' conversions out (flash), the songs 7-8 notice out; voices past V10.6c's budget: tails first, FM6's quarter rate gone. V10.7.65: the PUNCH-IN EDITOR (the owner): OCT+ on FX > PUNCH IN opens it (the FX layer locked open; an ERASE picked on KNOB 4: OCT+ does it), DICE gone; the COMB / COMB- cut-off moved by the LFO and the ENV as the other filters; a key held and KNOB 1..4 its EFFECT (any, MOD a macro moved) TARGET (ALL SYN DRM T1..T6; MOD M1..M4) AMOUNT (MOD 1 BEAT .. 4 BARS) MODE (HOLD LATCH QUANT; MOD RAMP UP / DOWN SINE S&H), the mode said in the header; SELECT a slot (four, in the settings), OCT+ saves and plays it, OCT- leaves. V10.7.64: SCENE's LEADER PRESS (a key's note on every live track at once, each its own sound); SCENE on the live tracks only (it opened on T6, asleep with four: nothing heard, nothing drawn), every role with the key: a kit's DRUM loops its beat while a key is held, stopped too; the engines as the kit (the owner): FILTER TYPE CUT RES IMAGE (DIST the SENDS' only), PLAY POLY GLIDE UNISON VEL (the plain MORE gone, GL MODE off the panel), GAIN 0..+12 dB clean where a DRIVE was (ANALOG's MORE, WHEEL's COLOR; their DRIVE off the panel, kept), saved ('T' 'G'); FUGA's subject and answer on live tracks (the continuo after: with four tracks it began unheard); DUBSTEP's bass the wobble (a resonant low-pass on aLine truncated
|
||||
#define FELUCCA_VERSION "V10.8.28" /* (2026-11-23) V10.8.21: SEQ > CLAY (the owner): DRONE CLAY, JIANT BYTE's drone and its four modulators (DEST SHAPE EUCLID AMOUNT; DECAY, STEP, SEED) on any track, kept with the project ('C' 'Y'), its pages' picture the modulators' telemetry. V10.7.77: GEN (the owner): DUBSTEP's wobble its rate moving (the wobble bass's LFO RATE automated half a bar each: 1/4 1/8 1/8T 1/16); CUMBIA villera one throw in two (a villera 'teclado': 92 .. 100, minor, the keyboard's lead up front). V10.7.76: DRUM-X MATH a wavetable (the owner: "harsh"): its t whole cycles of the hit's time (one shape evolving), interpolated between its samples; SOUND 3 draws it (four moments, cold to hot); hints trimmed (flash). V10.7.75: DRUM-X MATH (the owner): its RATIO (1/4 .. 16, 24, the inharmonic between) on SOUND 3's KNOB 4, COLOR read MOD AMT; MATH's RESTART the scope (its ramps' picture gone), ten more hints out (flash). V10.7.74: DRUM-X MATH (the owner): a sound's WAVE past BELL a MATH formula F01..F48 as its FM's modulator (COLOR its index; its t the hit's time, a sample in eight), kept with the project ('D' 'F'). V10.7.73: SCL > HARMONY its own tab (KEY CHORD HARMONY SCENE); the defaults once (the owner): LARGE off, CLICK REC, COUNT-IN 1 BAR. V10.7.72: GEN (the owner): MATH WEST STRING more (the archetypes' third options theirs, 25 %; a bass's one time in ten); GLO > GLOBAL the scope, its bars gone. V10.7.71: SCL > HARMONY's picture (the owner): the progression's chords as roman numerals in the key ("-" minor, "o" diminished), each its root's colour, the one playing lit; the obvious knobs' hints out (flash). V10.7.70: FX > PUNCH IN: KNOB 4 M4 (its ERASE PUNCH LANE's only), so OCT+ always the punch-in editor (an ERASE picked took it). V10.7.69: MATH FLOAT MORPH (the owner): ALGO B where CHIP was, MORPH A -> B where BEND was (between the ends B a sample in eight, interpolated: +12.5 % CPU); MATH's formulas (lofi_float, lofi_byte) their 14 divisions by a constant as multiplies (JIANT BYTE 0.16's build pass, tools/build.py const_divs: exact, less CPU a sample); the MACRO layer's dead branches out (flash). V10.7.68: EUCLID MODES > ROLE (MELODY CHORDS BASS ARP, was CHORD) on the harmony the other melodic tracks play, bar by bar (four bars when it changes), else SCL's key; a recorded melody EUCLID takes: its notes as they were; LFO / FX dice leftovers out (flash). V10.7.67: GEN and EUCLID MUTATE fuse two seeds (the owner: never one as it is; the second far from the first), A+B in the name; FX + OCT+ opens the punch-in editor again (as OCT+ on FX > PUNCH IN). V10.7.66: SCL > HARMONY (PROG LENGTH EVOLVE SKIP: every melodic sequence follows a progression); GEN 8 progressions more (neo-soul, jazz, IDM, progressive); EUCLID's melody CONTOUR RANGE MOTIF CHORD; macros FX > PUNCH IN's only (LFO's layer, HOME > ROUTES gone, MACROS in FX), GLO's layer says G4 UNDO; the PUNCH-IN EDITOR redone (the owner): a key WHAT (an effect, or PARAM: M1..M4, CUT PITCH TIMBRE VOLUME PAN DIST CHORUS DELAY REVERB VIBRATO on every track), HOW (an effect HOLD LATCH QUANT; PARAM HOLD RAMP UP RAMP DN SINE STUTTER S&H), AMOUNT (-100..+100 %; an effect its TARGET), TIME (1/16 .. 8 BARS); two slots A B; FX > PUNCH IN its knobs M1..M4 (PUNCH LANE: LEN RES); the layers MAP only (KNOBS STATE gone, ALGORITHM nothing held), the FX cards "M1 CUT"; FX + SELECT the FX pages (its dice gone). GENE while it plays waits for the bar to end (Hollusion); GENE 4: KEY NEW / KEEP (the first melodic track's key and mode kept), ENTRY ALL / BUILD (the new piece in a track a bar, the kit first); the old DIGITAL / NOISE / retired engines' conversions out (flash), the songs 7-8 notice out; voices past V10.6c's budget: tails first, FM6's quarter rate gone. V10.7.65: the PUNCH-IN EDITOR (the owner): OCT+ on FX > PUNCH IN opens it (the FX layer locked open; an ERASE picked on KNOB 4: OCT+ does it), DICE gone; the COMB / COMB- cut-off moved by the LFO and the ENV as the other filters; a key held and KNOB 1..4 its EFFECT (any, MOD a macro moved) TARGET (ALL SYN DRM T1..T6; MOD M1..M4) AMOUNT (MOD 1 BEAT .. 4 BARS) MODE (HOLD LATCH QUANT; MOD RAMP UP / DOWN SINE S&H), the mode said in the header; SELECT a slot (four, in the settings), OCT+ saves and plays it, OCT- leaves. V10.7.64: SCENE's LEADER PRESS (a key's note on every live track at once, each its own sound); SCENE on the live tracks only (it opened on T6, asleep with four: nothing heard, nothing drawn), every role with the key: a kit's DRUM loops its beat while a key is held, stopped too; the engines as the kit (the owner): FILTER TYPE CUT RES IMAGE (DIST the SENDS' only), PLAY POLY GLIDE UNISON VEL (the plain MORE gone, GL MODE off the panel), GAIN 0..+12 dB clean where a DRIVE was (ANALOG's MORE, WHEEL's COLOR; their DRIVE off the panel, kept), saved ('T' 'G'); FUGA's subject and answer on live tracks (the continuo after: with four tracks it began unheard); DUBSTEP's bass the wobble (a resonant low-pass on aLine truncated
|
||||
#endif
|
||||
#if FELUCCA_OTA && !FELUCCA_FLASH
|
||||
#error "FELUCCA_OTA needs FELUCCA_FLASH"
|
||||
|
||||
@@ -329,7 +329,11 @@ static void proj_phys_gone(project_t *q)
|
||||
d->preset = 0;
|
||||
hit = 1;
|
||||
}
|
||||
if (q->phys < PROJ_PHYS) { /* (V10.7.36: engine 11 was NOISE; V10.7.66: its sound kept) */
|
||||
if (q->phys < PROJ_PHYS) { /* (V10.7.36: engine 11 was NOISE; V10.8.28: its sound as near
|
||||
* as WEST's DUST gets: core.h west_from_noise) */
|
||||
for (k = 0; k < NTRK; k++)
|
||||
if (q->t[k].engine == ENGI_WEST)
|
||||
west_from_noise(&q->t[k].p[P_E0]);
|
||||
q->phys = PROJ_PHYS;
|
||||
hit = 1;
|
||||
}
|
||||
|
||||
@@ -98,6 +98,13 @@ static void up_migrate(up_rec_t *r)
|
||||
r->packed[UP_VEL_AT] = UP_VEL_MARK;
|
||||
}
|
||||
if (r->ver >= 4u && r->np <= UP_WEST_AT && r->packed[UP_WEST_AT] != UP_WEST_MARK) { /* (V10.7.36) NOISE -> WEST */
|
||||
if (r->engine == ENGI_WEST && P_E0 + 8u <= r->np) { /* (V10.8.28: its sound as near as DUST gets) */
|
||||
int16_t e[8];
|
||||
uint32_t i;
|
||||
for (i = 0; i < 8u; i++) e[i] = up_value(r, P_E0 + i);
|
||||
west_from_noise(e);
|
||||
for (i = 0; i < 8u; i++) up_set_value(r, P_E0 + i, e[i]);
|
||||
}
|
||||
r->packed[UP_WEST_AT] = UP_WEST_MARK;
|
||||
}
|
||||
}
|
||||
|
||||
+8
-8
@@ -106,14 +106,14 @@ preset/DRUM/07_TECHNO_RAW 79b457c662ddc230
|
||||
preset/DRUM/08_BREAKS b233ff2ee579aae4
|
||||
preset/DRUM/09_HIP_HOP 92b6980261b03b38
|
||||
preset/DRUM/10_LATIN_PERC d2b5093a0355e504
|
||||
preset/WEST/00_WIND d1e1036725b4c3a0
|
||||
preset/WEST/01_RAIN a2761de1a892dd5d
|
||||
preset/WEST/00_WIND 8d38fb77dc90e4b1
|
||||
preset/WEST/01_RAIN 16614195c349828b
|
||||
preset/WEST/02_ARCADE b1577b2470e9a144
|
||||
preset/WEST/03_METAL 42b4848c4f187efd
|
||||
preset/WEST/04_SEA 5ba628bc48182bdd
|
||||
preset/WEST/05_HISS_PAD 2f00b9ffec9d4077
|
||||
preset/WEST/06_INIT_NOISE 3027b83fefec2604
|
||||
preset/WEST/07_TAPE_AIR bed0d42546d8d75a
|
||||
preset/WEST/03_METAL c113c856185be3c1
|
||||
preset/WEST/04_SEA 315dd33a335b5b45
|
||||
preset/WEST/05_HISS_PAD 836441b4e64e6dd9
|
||||
preset/WEST/06_INIT_NOISE d8418dcd5ce3ccd4
|
||||
preset/WEST/07_TAPE_AIR 3a2968eaddfa40f1
|
||||
preset/WEST/08_WEST_PLUCK 3626fd45fa5e5060
|
||||
preset/WEST/09_BONGO 9ee65832f0ce85e8
|
||||
preset/WEST/10_MARIMBA 0ac41421e0d9bd00
|
||||
@@ -124,7 +124,7 @@ preset/WEST/14_RUBBER_BASS 532527a97781249c
|
||||
preset/WEST/15_WEST_LEAD cbbbf5e5b6880881
|
||||
preset/WEST/16_FOLD_LEAD c5abb7ea27cd1ac0
|
||||
preset/WEST/17_FOLD_DRONE 1bb475f9253d58ee
|
||||
preset/WEST/18_DUST_DRONE 59782680879d664f
|
||||
preset/WEST/18_DUST_DRONE 01dfa911754d377b
|
||||
preset/WEST/19_INIT_WEST b851c62d47208c68
|
||||
preset/FM6/00_TINE_EP b933a8a34e8e1eee
|
||||
preset/FM6/01_BELL 2eb9b3ed30d3e994
|
||||
|
||||
@@ -1111,6 +1111,7 @@ static void dximg_hit(uint32_t note, int16_t img, int64_t *el, int64_t *er, int6
|
||||
uint32_t b, i, k;
|
||||
track_t *t;
|
||||
ui_power_on();
|
||||
rev_clear(); /* (V10.8.28: no earlier test's reverb tail in the far side) */
|
||||
t = &trk[0];
|
||||
song.master_q12 = 4096;
|
||||
for (k = 1; k < NTRK; k++) trk[k].p[P_MUTE] = 1;
|
||||
|
||||
@@ -199,7 +199,8 @@ int main(void)
|
||||
}
|
||||
ok = r.packed[UP_WEST_AT] == UP_WEST_MARK && r.ver >= 4u; /* (UP_PUT's record: marked) */
|
||||
w.packed[UP_WEST_AT] = y.packed[UP_WEST_AT] = 0;
|
||||
memcpy(want, NZ, sizeof want); /* (V10.7.66: NOISE's values no longer converted, only marked) */
|
||||
memcpy(want, NZ, sizeof want); /* (V10.8.28: converted again, west_from_noise: DUST's noise) */
|
||||
west_from_noise(want);
|
||||
up_migrate(&w);
|
||||
up_migrate(&x);
|
||||
up_migrate(&y);
|
||||
@@ -209,7 +210,7 @@ int main(void)
|
||||
up_migrate(&w);
|
||||
for (k = 0; k < 8u; k++)
|
||||
ok &= up_value(&w, P_E0 + k) == want[k];
|
||||
bad += check("NOISE record: its values as they were, marked (V10.7.66)", ok);
|
||||
bad += check("NOISE record: west_from_noise's values once, marked (V10.8.28)", ok);
|
||||
}
|
||||
|
||||
/* PHYS MODEL DRUM (before 1.0): (V10.6s) no longer the DRUM engine: from flash (a record of an older layout too)
|
||||
|
||||
+20
-9
@@ -17,12 +17,12 @@
|
||||
* (RATIO's second bank) at FOLD 0 a triangle (odd harmonics, the 3rd ~1/9), folded brighter; the folds integrated:
|
||||
* a high note folded hard leaves little energy where its harmonics would alias.
|
||||
* 4. velocity: 127 is louder and brighter than 40 (the fold and the ceiling).
|
||||
* 5. DUST 0 adds no noise: the same note with two noise seeds renders bit for bit the same; DUST 30 differs; DUST 127
|
||||
* with the core gone still sounds (a noise patch), broadband.
|
||||
* 5. DUST 0 adds no noise: the same note with two noise seeds renders bit for bit the same; DUST 30 differs; DUST 95
|
||||
* (the noise folded with the core, the air) broadband; DUST 127 (METAL) no noise at all, sounding, bright.
|
||||
* 6. determinism: a note from silence renders the same samples again; FLT (the track's CUT) moves the ceiling, SHP the
|
||||
* fold, as LIFE and the matrix move them.
|
||||
* 7. NOISE projects: a project of before WEST (phys 2) with a NOISE track (each of NOISE's eight presets' values) opens
|
||||
* with west_from_noise's values, its motion on the EDIT values gone, phys 3; a second pass changes nothing; a project
|
||||
* with west_from_noise's values (V10.8.28: META as DUST's METAL), its motion kept, phys 3; a second pass changes nothing; a project
|
||||
* of today (phys 3) is never touched. Each migrated sound is bounded and sounds.
|
||||
* 8. cost: host instructions a sample and voice where the host counts them (macOS), else ns, against ANALOG's heaviest
|
||||
* preset measured the same way: WEST's heaviest corner at most 1.25 x (8 voices fit as other engines' do).
|
||||
@@ -508,7 +508,7 @@ static void dust(void)
|
||||
render_seeded(e, 987654321u, b, n);
|
||||
same30 = !memcmp(a, b, n * sizeof *a);
|
||||
check("DUST 0: two noise seeds, the same samples (no noise at all); DUST 30: they differ", same0 && !same30);
|
||||
e[7] = 127; /* the core gone: hiss and impulses through the open gate */
|
||||
e[7] = 95; /* (V10.8.28) the most noise: into the folder and the air */
|
||||
e[5] = 127;
|
||||
nz = render_seeded(e, 777u, a, n);
|
||||
for (i = 0; i < NFFT; i++)
|
||||
@@ -516,9 +516,18 @@ static void dust(void)
|
||||
spectrum(y, ps);
|
||||
for (i = 2, lo = hi = 0; i < NFFT / 2; i++)
|
||||
*(i < NFFT * 2000u / FS ? &lo : &hi) += ps[i];
|
||||
snprintf(what, sizeof what, "DUST 127: a noise patch (%u of %u samples sound), broadband (%.2f of it above 2 kHz)", nz, n,
|
||||
snprintf(what, sizeof what, "DUST 95: the core and the noise (%u of %u samples sound), broadband (%.2f of it above 2 kHz)", nz, n,
|
||||
hi / (lo + hi + 1e-30));
|
||||
check(what, nz > n * 9 / 10 && hi / (lo + hi + 1e-30) > 0.2);
|
||||
check(what, nz > n * 9 / 10 && hi / (lo + hi + 1e-30) > 0.05);
|
||||
e[7] = 127; /* METAL: a register sequence, no noise: the seeds the same */
|
||||
render_seeded(e, 12345u, a, n);
|
||||
nz = render_seeded(e, 987654321u, b, n);
|
||||
same30 = !memcmp(a, b, n * sizeof *a);
|
||||
note_render(e, 60, 100, y, NFFT, 0);
|
||||
spectrum(y, ps);
|
||||
snprintf(what, sizeof what, "DUST 127 METAL: no noise (two seeds the same), sounding (%u of %u), the centroid at harmonic %.2f",
|
||||
nz, n, centroid(ps, hz_of_note(60)));
|
||||
check(what, same30 && nz > n * 9 / 10 && centroid(ps, hz_of_note(60)) > 2.0);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------- 6. determinism, macros --- */
|
||||
@@ -591,7 +600,9 @@ static void projects(void)
|
||||
q.motion.event[0].place = 2u << 6; q.motion.event[0].param = P_E0 + 2; q.motion.event[0].value = 30; /* T3 FREQ */
|
||||
q.motion.event[1].place = 2u << 6; q.motion.event[1].param = P_LEVEL; q.motion.event[1].value = 90; /* T3 LEVEL */
|
||||
q.motion.event[2].place = 0u << 6; q.motion.event[2].param = P_E0 + 2; q.motion.event[2].value = 30; /* T1's E */
|
||||
memcpy(want, NOISE_E[k], sizeof want); /* (V10.7.66: NOISE's values and motion kept as they were) */
|
||||
memcpy(want, NOISE_E[k], sizeof want); /* (V10.8.28: NOISE's values as west_from_noise makes them, the
|
||||
* motion kept) */
|
||||
west_from_noise(want);
|
||||
proj_phys_gone(&q);
|
||||
ok &= !memcmp(&q.t[2].p[P_E0], want, sizeof want) && q.phys == PROJ_PHYS && q.t[2].engine == ENGI_WEST &&
|
||||
q.t[2].preset == k && !memcmp(&q.t[0].p[P_E0], NOISE_E[k], sizeof NOISE_E[k]) && q.motion.count == 3;
|
||||
@@ -604,9 +615,9 @@ static void projects(void)
|
||||
sounds &= rms(y, FS / 4) > 0.01;
|
||||
}
|
||||
}
|
||||
check("NOISE projects (phys 2): kept as they were (V10.7.66), phys 3; twice the same",
|
||||
check("NOISE projects (phys 2): west_from_noise's values (META as METAL), phys 3; twice the same",
|
||||
ok);
|
||||
check(" each of NOISE's eight sounds as kept: bounded and sounding", sounds);
|
||||
check(" each of NOISE's eight sounds as mapped: bounded and sounding", sounds);
|
||||
memset(&q, 0, sizeof q);
|
||||
q.phys = PROJ_PHYS;
|
||||
q.t[2].engine = ENGI_WEST;
|
||||
|
||||
+1709
-1707
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user