Files
stemengine_old/backend
translator 5c2152c57c feat: Omnizart MIDI transcription — phases 1-3
Phase 1 (omnizart-music MVP):
- config.py: add omnizart-music/vocal/vocal-contour to TRANSCRIBE_MODES with
  engine + description fields; add OMNIZART_ENABLED and OMNIZART_SIDECAR_URL
  env-var config constants
- transcriber_service.py: dispatch run_transcription() to basic-pitch or
  omnizart based on mode prefix; extract _run_basic_pitch() helper
- routers/transcribe.py: add 503 guard for omnizart modes when disabled;
  GET /modes now returns available flag per mode

Phase 2 (all three Omnizart modes):
- backend/services/omnizart_service.py (new): WAV conversion via ffmpeg with
  10 s minimum padding; subprocess invocation with cancellation polling;
  vocal mode CWD quirk handled by setting cwd=tmp; all three modes supported

Phase 3 (frontend polish + sidecar):
- types.ts: extend ModeOption with engine, available, description fields
- ProjectDetail.tsx: replace static TRANSCRIBE_MODES with live useQuery call
  to GET /api/transcribe/modes; add TranscribeModeSelect component with
  <optgroup> grouping by engine, disabled options for unavailable modes, and
  title= tooltips from description field; handleTranscribeAll auto-selects
  omnizart-music when available, falls back to polyphonic
- omnizart-sidecar/app.py + Dockerfile (new): minimal FastAPI HTTP wrapper
  around the Omnizart CLI; single POST /transcribe endpoint; GET /health
- stemengine.yml: add omnizart-sidecar service (profiles: [omnizart]); add
  OMNIZART_ENABLED and OMNIZART_SIDECAR_URL env vars to stemengine service
2026-03-14 13:00:36 +09:00
..
2026-03-13 17:55:07 +09:00
2026-03-03 14:52:19 +09:00
2026-03-13 17:55:07 +09:00
2026-03-13 17:55:07 +09:00