mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 20:34:27 +01:00
JIANT 0.9.9-beta3: FM6's released notes end (R4 floor 12, a lower done threshold); the admission's decay in CTL
A released FM6 voice with ENV REL high rendered for minutes (R4 down to 1, the DX7's near-infinite rate; done only under ~-18 dB of the skip threshold): four inaudible voices held the cap and the load budget. R4 now floors at 12 (REL 127 ~25 s) and a released note is done ~6 dB over the threshold. The 15 FM6 preset goldens change (their tails), nothing else. LOAD_ADD_LOG2 follows CTL_LOG2: the admitted voices' load decays over ~93 ms again (186 with CTL 64). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
5 files changed
+21
-19
No files matched your search
@@ -358,7 +358,8 @@ static void fm6_sync(const track_t *t)
|
||||
* a decaying patch can be held too) */
|
||||
op[FP_L1 + 2u] = (uint8_t)(t->p[P_SUS] > 0 ? 50 + clamp(t->p[P_SUS], 0, 126) * 49 / 126 : 0); /* (the
|
||||
* EG's levels are logarithmic, ~0.75 dB a step: 50..99) */
|
||||
op[FP_R1 + 3u] = (uint8_t)clamp(op[FP_R1 + 3u] - clamp(t->p[P_REL], 0, 127) * 90 / 127, 1, 99);
|
||||
op[FP_R1 + 3u] = (uint8_t)clamp(op[FP_R1 + 3u] - clamp(t->p[P_REL], 0, 127) * 90 / 127, 12, 99); /* (beta3: R4 floor 12,
|
||||
* ~25 s at REL 127; at 1 a released voice rendered for minutes) */
|
||||
continue;
|
||||
}
|
||||
if (!op[FP_MODE])
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#define FELUCCA_ID "FM-1_900" /* package identity (build.py: the .fwsc marker string) */
|
||||
#endif
|
||||
#ifndef FELUCCA_VERSION
|
||||
#define FELUCCA_VERSION "v0.9.9-beta2" /* CPU fixes preview, based on stable JIANT 0.9.9 */
|
||||
#define FELUCCA_VERSION "v0.9.9-beta3" /* CPU fixes preview, based on stable JIANT 0.9.9 */
|
||||
#endif
|
||||
#if FELUCCA_OTA && !FELUCCA_FLASH
|
||||
#error "FELUCCA_OTA needs FELUCCA_FLASH"
|
||||
|
||||
@@ -556,7 +556,8 @@ static int fm6_note_done(const fm6_note_t *n, const uint8_t *p, uint32_t alg)
|
||||
const fm6_env_t *e = &n->env[k];
|
||||
if (!((car >> k) & 1u))
|
||||
continue;
|
||||
if (n->op[k].gain_out >= FM6_DONE)
|
||||
if (n->op[k].gain_out >= (e->ix == 3u && !e->down ? FM6_THRESH * 2 : FM6_DONE)) /* (beta3: a released note
|
||||
* ends sooner, ~6 dB over the skip threshold) */
|
||||
return 0;
|
||||
if (e->ix < 3u)
|
||||
return 0;
|
||||
|
||||
@@ -489,7 +489,7 @@ static uint32_t quiet_tail(track_t **pp)
|
||||
#define LOAD_FRAME_TICKS 544u /* TIMER4 ticks a frame (24 MHz / 44,117.6 Hz: audio.c DAC_TICKS) */
|
||||
#define LOAD_W_PCT 1u /* a weight unit of mc_cost (fx.c) as % of a half: an estimate
|
||||
* until the part is measured (FM6 4 %, LOFI / NOISE 2, else 3) */
|
||||
#define LOAD_ADD_LOG2 7u /* what the admitted voices added decays over ~128 blocks (93 ms,
|
||||
#define LOAD_ADD_LOG2 (12u - CTL_LOG2) /* what the admitted voices added decays over ~93 ms (128 blocks of 32,
|
||||
* the average's time: as their load shows in it, load_block) */
|
||||
static uint32_t mc_tk[NTRK]; /* (fx.c measures it: a part's block in TIMER4 ticks, smoothed) */
|
||||
static uint32_t load_steals; /* voices given up by the admission (console status) */
|
||||
|
||||
+15
-15
@@ -100,21 +100,21 @@ preset/NOISE/04_SEA 142f2438aabf874e
|
||||
preset/NOISE/05_HISS_PAD 99fb98454aad3c84
|
||||
preset/NOISE/06_CRACKLE 4808a6f9bd9070dc
|
||||
preset/NOISE/07_TAPE_AIR a3cb2e91c3efa8ef
|
||||
preset/FM6/00_TINE_EP e6f3e474ff4405c2
|
||||
preset/FM6/01_BELL 14e3dbd3dcd56d33
|
||||
preset/FM6/02_FM_BASS 243fc65ab3a5ec04
|
||||
preset/FM6/03_BRASS 88aac8e3ce13bb01
|
||||
preset/FM6/04_PAD b358bf4acdecdc4f
|
||||
preset/FM6/05_MARIMBA 3e3f447c791d58f8
|
||||
preset/FM6/06_ORGAN ff7b4ea716cde598
|
||||
preset/FM6/07_PLUCK 569e4ee00eed6944
|
||||
preset/FM6/08_ICE_BELL 6d2695bc79ecd222
|
||||
preset/FM6/09_DX_KEYS 300d24d5d0d220ff
|
||||
preset/FM6/10_FM_PLUCK a75bf621776f6f6f
|
||||
preset/FM6/11_SOFT_BELL 005a7e9399a913a9
|
||||
preset/FM6/12_FM_STRINGS 436c131f54052b3d
|
||||
preset/FM6/13_HARD_BASS ab9d923e44bea828
|
||||
preset/FM6/14_WOOD 3a4d768fccec83e4
|
||||
preset/FM6/00_TINE_EP 6ebc2d95a07c5a34
|
||||
preset/FM6/01_BELL a661bea3e20d1cba
|
||||
preset/FM6/02_FM_BASS 13c6a71d18f61810
|
||||
preset/FM6/03_BRASS d89a3257ae272416
|
||||
preset/FM6/04_PAD f9b0eef356409dcf
|
||||
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/13_HARD_BASS c478ba2f7bb316f0
|
||||
preset/FM6/14_WOOD 14e98ef895b20f19
|
||||
preset/ANIMAL/00_CMOS_BIRD f0b51e6983f14c30
|
||||
preset/ANIMAL/01_CMOS_TRILL 2bc4227a7e962180
|
||||
preset/ANIMAL/02_CMOS_MONKEY b0ffb372bef0d58f
|
||||
|
||||
Reference in new issue
Block a user