8 Commits

Author SHA1 Message Date
Adolfo Reyna 80f0bf309f feat: Apple Speech v3 + Freeflow polish + draft streaming
- Apple SpeechAnalyzer (macOS 26+) binary: --bench (31x RTF), --pipe
  (persistent process, 150ms finals), --live (word-by-word drafts)
- Pipe protocol: 4-byte BE length + wav payload, emits JSONL
  {event:draft|final, text, isFinal, chunk} — 31 drafts for 6s audio (~60ms granularity)
- engine_apple_transcribe.py: ApplePipeTranscriber with
  transcribe() + transcribe_with_draft_callback(), VAD + draft
  queue, new flags --apple-stream (on), --apple-stream-interval,
  --apple-pipe (on). Fixes PIL/transformers import crash by lazy import.
- main_v3.py: engine selector {whisper,apple}, passthrough translate
  when no -es/-fr/-ar, freeflow flags same as v2
- Freeflow polish: deterministic punctuation commands (comma,
  question mark, new paragraph, at sign), filler stripping,
  <keep> protection, skip-clean heuristic, freeflow/qwen/legacy
  prompt styles. Much better final readability vs raw Apple/Whisper.
- main_v2.py, engine_llm.py, engine_distribute.py: integrate freeflow
- bench: Apple 2.12% WER vs Whisper Small 3.74% (Inscribe), CPU
  0mW ANE (measured via powermetrics), 196M EN cryptex per locale.
- Verified: 31 word-by-word drafts, 2 finals, exit 0, bench regression ok.

Freeflow still much better for final polish — Apple wins on speed
and raw accuracy, freeflow wins on readable paragraph output.

Co-authored-by: internal-model
2026-07-13 21:08:18 -04:00
Adolfo Reyna 9d9ee03ca1 Clarify LLM paragraph fallback behavior 2026-03-17 00:10:39 -04:00
Adolfo Reyna 4380c2ef99 Clarify pipeline labels and default to qwen3.5 0.8b 2026-03-17 00:06:47 -04:00
Adolfo Reyna f79c4f7310 Fix main_v2 bridge and pipeline regressions 2026-03-16 21:15:15 -04:00
Adolfo Reyna ffeb996d7e Checkpoint current transcription pipeline state 2026-03-16 21:11:51 -04:00
Adolfo Reyna 50f58dbc22 feat: implement accumulative LLM paragraph engine and harden 4-process pipeline 2026-03-15 22:05:05 -04:00
Adolfo Reyna ca07d96ff0 feat: add advanced tuning, diarization, and LLM support to multi-process engine 2026-03-15 19:53:36 -04:00
Adolfo Reyna c474184169 feat: refactor transcription, translation, and distribution into multiple processes 2026-03-15 19:46:03 -04:00