mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-05 20:34:27 +01:00
EDIT > WORDS > LANG (OFF ES EN JA) turns a VOICE track into a singer (src/sing.c): each note sings the next syllable of its lyric (held note holds the vowel, TIE holds it on, the release sings the coda at the note's level; legato glides, a chord sings together). LANG OFF is VOICE as before, bit for bit (goldens unchanged). Articulation per track, block rate: 46 phonemes as formant targets with voicing, aspiration (into the cascade) and frication (high-passed noise into F4 tuned to the consonant); plosives closure / burst / aspiration, affricates, nasals, liquids, tap and trill, glides. Spanish by rules, Japanese romaji to morae, English through a 2095-word CMU-derived dictionary (tools/gen_lyrics.py, BSD-2-Clause notice in LICENSES/). LYRIC: TEXT (63 chars, NAME screen via OCT+ on WORDS with a KNOB 3 dice, or editor cmd 39 LYRIC), W1-W16 generated phrases from themed banks (306 ES, 272 EN, 169 JA words) as long as the pattern's notes, S1-S8 scat. Word-mode EDIT values: POS THEME ARTIC SHIFT | BUZZ BREATH Q LOOP (POS lockable / automatable). Lyrics saved in FUNC's optional 'L' 'Y' block (older projects load without). The VOICE pages show word, phonemes and a moving vowel chart (sing_view for the CT head). 8 new presets appended. Cost (on 0.8.4): flash image 498108 -> 540824 B (+41.7 KB; app slot 581564 B, 40740 B free), .data+.bss 84848 -> 85584 B (+736), RAM code +8 B, no per-voice state. The lyric text (6 x 64 B) lives in the pool (LOWBUF had 608 B free); the project scratch's copy (+384 B) stays in LOWBUF, so the fonts' decode tables (hc_tab, 1.5 KB, main loop only) move LOWBUF -> pool: LOWBUF 28064 -> 26900 B of 28672 (1772 B free), pool 247584 -> 249568 B (spare 72928 -> 70944 B). CPU: callgrind 4 voices VOICE vowels 1611 -> 1605, words 1743 (ES) / 1726 (EN) vs ANALOG 2314 at 8 voices; worst case song/cputest 3079 and every other section unchanged; target loop formant_render 312 -> 315, formant_word_render 326 (analog_render 603). New tests/voice_test.c; project, editor, web, ui_render, cpu_vg and target budget extended (existing entries untouched); ui_test's LARGE HOME probe reads the old panel row over 16 px (a mote of HOME's moving dust landed on its one pixel with the new presets' frame count); manuals EN/ES, protocol notes, cheat sheets regenerated, README v0.8.5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh