The reported bug (a second recording lands early and overlaps the first) survived the timeline type refactor: start_recording/create_midi_clip/ start_midi_recording took f64 and wrapped Beats(x) internally, so the type boundary stopped at the method and the timeline handed them *shared.playback_time (seconds). At 120 BPM a 5s playhead (=10 beats) was recorded at beat 5 = 2.5s. Type all three backend methods to take Beats so the caller must convert; the timeline now converts the seconds playhead once (start_beats) and passes it to every recording command and the placeholder clip. TUI debug caller updated. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| tests | ||
| C2.mp3 | ||
| Cargo.lock | ||
| Cargo.toml | ||
| darude-sandstorm.mid | ||
| daw_architecture_doc.md | ||
| test.wav | ||
| ttls.mid | ||