mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Implemented Librosa Laplacian audio processing algorythm
# Conflicts: # frontend/src/components/PrepStrip.tsx
This commit is contained in:
1 parent
5ff79eb118
commit
986a2cee54
9 files changed
+439
-7
No files matched your search
+15
-1
@@ -249,13 +249,27 @@ export const api = {
|
||||
`${API_BASE}/api/tracks/audio?track_id=${encodeURIComponent(trackId)}`,
|
||||
trackCues: (trackId: string) =>
|
||||
getJSON<TrackCues>(`/api/tracks/cues?track_id=${encodeURIComponent(trackId)}`),
|
||||
createHotcue: (trackId: string, slot: number, start: number, type: number, length = 0) =>
|
||||
createHotcue: (
|
||||
trackId: string,
|
||||
slot: number,
|
||||
start: number,
|
||||
type: number,
|
||||
length = 0,
|
||||
name?: string,
|
||||
) =>
|
||||
send<TrackCues>('POST', '/api/tracks/hotcue', {
|
||||
track_id: trackId,
|
||||
slot,
|
||||
start,
|
||||
type,
|
||||
length,
|
||||
name,
|
||||
}),
|
||||
// Backend analyses the audio and places structural hotcues into empty slots.
|
||||
autoHotcues: (trackId: string, maxCues?: number) =>
|
||||
send<TrackCues>('POST', '/api/tracks/auto-hotcues', {
|
||||
track_id: trackId,
|
||||
max_cues: maxCues,
|
||||
}),
|
||||
setHotcueType: (trackId: string, slot: number, type: number) =>
|
||||
send<TrackCues>('PATCH', '/api/tracks/hotcue', { track_id: trackId, slot, type }),
|
||||
|
||||
Reference in new issue
Block a user