mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Added analyze dialog
This commit is contained in:
1 parent
36a6df4d3b
commit
e8a53eee07
9 files changed
+322
-146
No files matched your search
@@ -296,6 +296,10 @@ with tempfile.TemporaryDirectory() as d:
|
||||
check("preview: BPM+Grid without Replace skips every gridded track",
|
||||
(pv["grid_existing"], pv["grid_full"], pv["with_grid"]) == (len(single) + 1, len(bare), len(single) + 1),
|
||||
str(pv))
|
||||
pv = c.post("/api/tracks/analyze/preview",
|
||||
json={"track_ids": ids, "bpm": True, "grid": True, "key": True, "replace_key": True}).json()
|
||||
check("preview: tracks_to_analyze counts a track once for grid AND key",
|
||||
pv["tracks_to_analyze"] == len(ids), str(pv))
|
||||
|
||||
# BPM alone, through the run.
|
||||
anchors = {t: a.track_cues(t).grid_markers[0].start for t in single}
|
||||
|
||||
Reference in new issue
Block a user