Implemented Librosa Laplacian audio processing algorythm

# Conflicts:
#	frontend/src/components/PrepStrip.tsx
This commit is contained in:
Ben committed 2026-07-08 13:30:47 +02:00
1 parent 5ff79eb118
commit 986a2cee54
9 files changed
+439 -7

No files matched your search

+15 -1
View File
@@ -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 }),