locallibrary: doctor can't apply half and double tempo fixes to rekordbox beat grids

Chiusa
#152 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend

Direzione di ricerca

Read crates/locallibrary/src/anlz/grid.rs and crates/locallibrary/src/analysis_edit.rs to understand how beat grids are written through the journaled edit. Then inspect apps/locallibrary/src/doctor_cmd.rs and the decision in apps/locallibrary/TODO.md. Decide whether to preserve PQT2 by decoding its per-beat field from real files or accept its loss; done means doctor can plan, apply, and undo half and double tempo grid fixes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement locallibrary locallibrary: analysis
Problem

doctor --analyze flags tempos that look half, double or 3:2 off, but can only point at rekordbox's own buttons: "rekordbox's x2 and /2 buttons fix a tempo that's half or double" (https://github.com/cutenode/localnetwork/blob/24d3176/apps/locallibrary/src/doctor_cmd.rs#L418). Beat grids can now be written as a journaled, undoable edit (anlz::write_beat_grid, used by https://github.com/cutenode/localnetwork/blob/24d3176/crates/locallibrary/src/analysis_edit.rs#L195), but nothing builds a halved or doubled grid from a stored one, and the .EXT's extended grid (PQT2) is removed whenever a grid is written, because its 2-bytes-per-beat body is not decoded (https://github.com/cutenode/localnetwork/blob/24d3176/crates/locallibrary/src/anlz/grid.rs#L8-L13). Listed as a decision in https://github.com/cutenode/localnetwork/blob/24d3176/apps/locallibrary/TODO.md#L302-L303.

What you'd like

Offer halving and doubling as a doctor fix that plans a new grid through the existing analysis edit, with the usual plan and undo, and decide whether losing PQT2 (the edit already warns about it) is acceptable or PQT2's per-beat field should be decoded from real files first.

Lingua principale
Rust
Stelle
0
Fork
0
Merge medio
9h 36m
PR unite (30g)
283

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cutenode/localnetwork

Tutte le issue di cutenode/localnetwork

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.