Singtrainer: Phasen 0-6, Stimmfinder und Latenzkalibrierung

Rust-Desktop-App (egui/eframe, cpal) zum Singüben.

- Audio: Geräteauswahl, Pegelanzeige, Mixer ohne Locks im Callback
  (Backing, Original-Gesang, Führungston, Aufnahme, Klick), Dekodierung
  mit symphonia, Resampling mit rubato, Mikroaufnahme als WAV
- Pitch: YIN mit Konfidenz, Median-Glättung, Oktavsprung-Schutz
- Live-Ansicht: scrollende Tonhöhenkurve, Referenzton
- Chart: NoteChart (TOML), Scoring (Tonhöhe oktavtolerant, Timing,
  Stabilität), Session mit Countdown, Testchart
- Aufnahme und Review: Session-Datei (JSON) mit Mikrospur, Verlauf,
  Wiedergabe solo oder gemischt
- Stimmfinder: Sprechlage, Legato, Sirene, Haltetöne, Tessitura,
  Profil-Verlauf, Transponierung und Warnung für Charts
- Latenzkalibrierung: Klickzug, Einsatzerkennung, Offset in der Config
- Simulationsmodus (--sim) und Tests ohne Audiogerät

Manuelle Abnahmen am Gerät stehen noch aus (siehe README).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 00:40:13 +01:00
commit e7e69b7a51
33 changed files with 13845 additions and 0 deletions

17
Cargo.toml Normal file
View File

@ -0,0 +1,17 @@
[package]
name = "singtrainer"
version = "0.1.0"
edition = "2024"
[dependencies]
anyhow = "1.0.104"
chrono = "0.4.45"
cpal = "0.18.2"
eframe = "0.37.0"
hound = "3.5.1"
rtrb = "0.4.1"
rubato = "5.0.1"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = { version = "1.0.154", features = ["float_roundtrip"] }
symphonia = { version = "0.6.1", features = ["all"] }
toml = "1.1.8"