initial: demo spotify OAuth

This commit is contained in:
2026-04-02 00:07:34 +02:00
commit 86758a1e12
5 changed files with 282 additions and 0 deletions

35
API.md Normal file
View File

@@ -0,0 +1,35 @@
## API
- reverse proxy (protects API keys)
- download song (spotmate.online API)
- /songs
- fetch library (spotify.com API)
- /
- fetch playlist (spotify.com API)
- nice-to: fetch playlist icon, song icon
- register user: (username, service)
- upload diagnostics
.
- do we abstract API from Spotify?
- allows other services
-
- needs a user concept {user}.{service}
.
- do we cache the mp3 of the songs?
- will we later use server-side processing of songs?
- ideas about 50 ms centered gaussian-window, and 2048-point STFT
- get features and train discriminator to find beats in song
- actual beats where user stepped
-
- possibly we will need a time environment (spanning a musical bar?) as feature
- cf. songs like "Disturbed - Rise" with strong complex drum pattern
.
- first draft:
- constant (0-th order) BPM estimate of song - step pattern derived
- adapt tempo only (not phase synchronized)
.