Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 84043195b8ecc04f9e37e48c03329df19116358b
parent af58faf7873387a946cea735f08f0f47a4860505
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 11 Nov 2026 17:51:54 -0500

voice: the f0 run's heavy estimate is 6500 MB, from its measured peak over a take that fills a window (5781 MB); docs say the measured time

Co-Authored-By: Claude <noreply@anthropic.com>

Diffstat:
MOPERATING.md | 4++--
MSETTINGS.md | 4++--
Mcommon/lib/voiceApps.ts | 10++++++----
Mcommon/lib/voiceSettings.ts | 2+-
Meditor/CHANGELOG.md | 2+-
Msettings.json.example | 2+-
Mumtool/docs/knobs.md | 2+-
7 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/OPERATING.md b/OPERATING.md @@ -944,8 +944,8 @@ umtool cast set <character> --convert-engine seed-vc --convert-pitch contour --c - `semitones` (-12 to 12) moves a followed pitch (`source`, `contour`); with `target` it is refused. - `source` and `contour` are seed-vc's, on its f0-conditioned 44.1 kHz model: optional files, fetched by `voice setup --engine seed-vc --with f0`. openvoice refuses them; without the files the op refuses, naming that command. An - install without them still converts at the target's pitch. It takes about twice as long as seed-vc's plain run and - declares its own estimate (`settings.voice.heavyEstimateMB["seed-vc-f0"]`). + install without them still converts at the target's pitch. It takes about 1.7 times as long as seed-vc's plain run (measured: 170 s against 103 s for a 7 s read on a busy machine) and + declares its own estimate (`settings.voice.heavyEstimateMB["seed-vc-f0"]`, 6500 MB: a take of 20 s or more peaks near 5.8 GB). - The result says what was done: `pitch`, `semitones`, and `f0` — the median pitch heard in the target's reference and in your take, and the whole move applied, in semitones. - In umtool a character keeps its pitch in the cast (`umtool cast set <id> --convert-pitch …`), so every recording diff --git a/SETTINGS.md b/SETTINGS.md @@ -1058,7 +1058,7 @@ The voice ops (release 39): a speech recording ENHANCED (denoised, de-reverbed, | `threads` | `4` | CPU threads a torch engine (openvoice, seed-vc) may use. 1–16. | | `enhance` | object — see below | The enhance op's default engine. See VoiceEnhanceSettings (`voice.enhance` below). | | `convert` | object — see below | The convert op's default engine, target and pitch. See VoiceConvertSettings (`voice.convert` below). | -| `heavyEstimateMB` | object — see below | Per engine id: the memory (MB) its job is admitted to the machine's heavy slot with (`queue-lock --heavy --estimate`) — it runs only when that much is free above the floor. The defaults are the 2026-11-03 bake-off's measured peaks plus a margin; `seed-vc-f0` is seed-vc's run when it follows the input's pitch (`pitch: source \| contour` — another, bigger model; measured 2026-11-11). An engine left out takes its default; 0 declares nothing (the job then runs ALONE in the slot). | +| `heavyEstimateMB` | object — see below | Per engine id: the memory (MB) its job is admitted to the machine's heavy slot with (`queue-lock --heavy --estimate`) — it runs only when that much is free above the floor. The defaults are the 2026-11-03 bake-off's measured peaks plus a margin; `seed-vc-f0` is seed-vc's run when it follows the input's pitch (`pitch: source \| contour` — another, bigger model; measured 2026-11-11 over a take long enough to fill a 30 s window: 5.8 GB). An engine left out takes its default; 0 declares nothing (the job then runs ALONE in the slot). | #### `voice.enhance` @@ -1095,7 +1095,7 @@ Default: "rnnoise": 300, "openvoice": 2000, "seed-vc": 3500, - "seed-vc-f0": 4500 + "seed-vc-f0": 6500 } } ``` diff --git a/common/lib/voiceApps.ts b/common/lib/voiceApps.ts @@ -266,10 +266,12 @@ const openvoice: VoiceEngine = { ], }; -// The f0 model's run, declared to the heavy slot: SEEDVC_F0_PEAK measured -// 2026-11-11 (RSS plus swap of the wrapper, python and ffmpeg, sampled twice a -// second over a 6.9 s read), plus a margin. -const SEEDVC_F0_ESTIMATE_MB = 4500; +// The f0 model's run, declared to the heavy slot: its peak measured 2026-11-11 +// (RSS plus swap of the wrapper and python, sampled twice a second) — 3706 MB +// over 6.9 s reads, 5781 MB over a 34 s one, whose first window is a full one +// (30 s less the reference: the 44.1 kHz vocoder's activations grow with the +// window, and no take makes a longer one) — plus a margin. +const SEEDVC_F0_ESTIMATE_MB = 6500; const SEEDVC_HF = "https://huggingface.co/Plachta/Seed-VC/resolve/257283f9f41585055e8f858fba4fd044e5caed6e"; const WHISPER_HF = "https://huggingface.co/openai/whisper-small/resolve/973afd24965f72e36ca33b3055d56a652f456b4d"; diff --git a/common/lib/voiceSettings.ts b/common/lib/voiceSettings.ts @@ -66,7 +66,7 @@ export const VOICE_SETTINGS_FIELD_DOCS: FieldDocs<VoiceSettings> = { "(`queue-lock --heavy --estimate`) — it runs only when that much is free above the floor. " + "The defaults are the 2026-11-03 bake-off's measured peaks plus a margin; `seed-vc-f0` is seed-vc's " + "run when it follows the input's pitch (`pitch: source | contour` — another, bigger model; measured " + - "2026-11-11). An engine left out " + + "2026-11-11 over a take long enough to fill a 30 s window: 5.8 GB). An engine left out " + "takes its default; 0 declares nothing (the job then runs ALONE in the slot).", }; diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog ## [Unreleased] -- **A converted read can follow your pitch.** Converting a recorded read to a stock voice threw the voice acting away. On 11 Nov, reads with a median pitch of 128, 212, 225 and 237 Hz all came out at 196–199 Hz, and a 152–321 Hz range came out as 165–240 Hz: both converters speak at the stock voice's own pitch. `pnpm ops voice-convert` now takes `"pitch"`: `target` (as before), `source` (the pitch you read at: raise your voice and the result rises) or `contour` (your rises and falls, moved as a whole to the stock voice's register), and `"semitones"` (-12 to 12) moves a followed pitch. The same read that came out at 197 Hz now comes out at 211 Hz with a 148–314 Hz range, against 212 Hz and 152–321 Hz read. `source` and `contour` are seed-vc's, on its f0-conditioned model: optional files, fetched by `archilyzer voice setup --engine seed-vc --with f0` (1.49 GB). An install without them converts as before, and a followed pitch is refused naming that command; openvoice refuses a pitch it cannot follow. It takes about twice as long. `settings.voice.convert.pitch` and `.semitones` are the defaults (`target`, 0). In umtool a character keeps its pitch in the cast (`umtool cast set <id> --convert-pitch contour --convert-semitones 2`, shown on Voices), and `--pitch` / `--semitones` on `posts narrate … --recording` or `--derive <n> --op convert` set it for one read. The disclosure line is unchanged. +- **A converted read can follow your pitch.** Converting a recorded read to a stock voice threw the voice acting away. On 11 Nov, reads with a median pitch of 128, 212, 225 and 237 Hz all came out at 196–199 Hz, and a 152–321 Hz range came out as 165–240 Hz: both converters speak at the stock voice's own pitch. `pnpm ops voice-convert` now takes `"pitch"`: `target` (as before), `source` (the pitch you read at: raise your voice and the result rises) or `contour` (your rises and falls, moved as a whole to the stock voice's register), and `"semitones"` (-12 to 12) moves a followed pitch. The same read that came out at 197 Hz now comes out at 211 Hz with a 148–314 Hz range, against 212 Hz and 152–321 Hz read. `source` and `contour` are seed-vc's, on its f0-conditioned model: optional files, fetched by `archilyzer voice setup --engine seed-vc --with f0` (1.49 GB). An install without them converts as before, and a followed pitch is refused naming that command; openvoice refuses a pitch it cannot follow. It takes about 1.7 times as long, and more memory (5.8 GB at its peak on a take of 20 s or more). `settings.voice.convert.pitch` and `.semitones` are the defaults (`target`, 0). In umtool a character keeps its pitch in the cast (`umtool cast set <id> --convert-pitch contour --convert-semitones 2`, shown on Voices), and `--pitch` / `--semitones` on `posts narrate … --recording` or `--derive <n> --op convert` set it for one read. The disclosure line is unchanged. - **The dashboard says when a media drive is not answering, slow, or not mounted.** A stalled external drive used to show only on `/storage` and in channel badges, so the editor looked broken with nothing on its front page saying why. The dashboard now opens with one card per storage location in trouble: **not answering** (an alert: pages and polls skip the drive, and its channels' jobs wait until it answers), **answering slowly** (everything still runs, just late), or **not mounted** (only when some channel's media is on it). Each card links to `/storage` and to that location's channels. On `/storage` each location has a **Drive** line that says when the drive last answered and how long it took (for example "answering — 12 ms (a read in the editor), last at 11:42"), and a **slow** chip appears next to Available when two reads in a row on it take half the 3-second limit or more (one long read is not enough). `pnpm ops get storage` reports the same for each location under `rows[].drive`: `state` (`ok`, `slow`, `stalled` or `unmounted`), `since`, `lastOkAt`, `latencyMs`, the cause and the one-line text. - **A transcription or backfill run waits while its channel's media drive is not answering.** Before, a run that started while the drive answered kept going after the drive stalled. Each next video asked the stalled drive for its audio, waited about 30 seconds and failed. Now the run pauses at the next video and says so in its log ("Holding: the media drive "…" is not answering (since 11:35) — no new transcription starts until it answers again"), then resumes by itself when the drive answers. If it has held for 5 minutes, the run checks the drive itself from a separate process, and it logs that it is still holding every 10 minutes. A run also follows a channel that is moved to another drive while it runs. A video that is refused because the drive is not answering is skipped, not added to the channel's failed-transcriptions list, and is transcribed on a later run. A downloaded video is also not moved into a saved-video store on a drive that is not answering. It stays in the video's folder, and a later pass stores it. - **The drive watch no longer overwrites a tier you change while it is pausing channels.** The five-minute storage watch, which pauses the channels on a drive that went away and restores them when it comes back, could save its change in the middle of yours and undo it. It now waits for the same settings lock that the channel-priority save uses. The editor's `dev` script also gives Node 16 file-access threads, as `start`, the systemd unit and the container already do. diff --git a/settings.json.example b/settings.json.example @@ -277,7 +277,7 @@ "rnnoise": 300, "openvoice": 2000, "seed-vc": 3500, - "seed-vc-f0": 4500 + "seed-vc-f0": 6500 } }, "generation": { diff --git a/umtool/docs/knobs.md b/umtool/docs/knobs.md @@ -1383,7 +1383,7 @@ from (the editor's `voice-convert`: `pitch`, `semitones`): refused: nothing is followed to move. `source` and `contour` are **seed-vc's**, on its f0-conditioned model -- optional files, `archilyzer voice setup ---engine seed-vc --with f0` (1.49 GB); it is about twice as slow as seed-vc at the target's pitch. openvoice has one +--engine seed-vc --with f0` (1.49 GB); it takes about 1.7 times as long as seed-vc at the target's pitch. openvoice has one pitch and refuses another; a followed pitch without the f0 files is refused naming that command. A parted take's `contour` is measured once, on the whole take, and used for every part.