mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Implemented basic track analysis
This commit is contained in:
1 parent
986a2cee54
commit
c7169c8bbe
6 files changed
+83
-1
No files matched your search
@@ -271,6 +271,9 @@ export const api = {
|
||||
track_id: trackId,
|
||||
max_cues: maxCues,
|
||||
}),
|
||||
// Backend detects tempo + first beat: sets BPM, hotcue 1, and grid anchor.
|
||||
autoGrid: (trackId: string) =>
|
||||
send<TrackCues>('POST', '/api/tracks/auto-grid', { track_id: trackId }),
|
||||
setHotcueType: (trackId: string, slot: number, type: number) =>
|
||||
send<TrackCues>('PATCH', '/api/tracks/hotcue', { track_id: trackId, slot, type }),
|
||||
deleteHotcue: (trackId: string, slot: number) =>
|
||||
|
||||
Reference in new issue
Block a user