Вопрос

I am thinking on how to build an spotify app that does beat detection (extract bpm of a song). For that I need to access the raw audio, the waveform, and analyze it.

I am new to building spotify apps. I know that with "libspotify" you can access raw audio. Can you do the same through the spotify apps API? And how?

For the record, currently exist two spotify apps apis:

Это было полезно?

Решение 2

In a word: no. That isn't currently available in the Apps API.

Другие советы

Unless you're really keen on writing that beat detection code yourself, you should look at the APIs provided by the EchoNest, which include that (and many other awesome things).

see Getting the tempo, key signature, and other audio attributes of a song

There’s a new endpoint I guess. See an example https://medium.com/swlh/creating-waveforms-out-of-spotify-tracks-b22030dd442b?source=linkShare-962ec94337a0-1616364513

That uses the endpoint https://developer.spotify.com/documentation/web-api/reference/tracks/get-audio-analysis/

Edit: I agree with commenter @wizbcn that this does not answer this question. Is it sort of incorrect to leave it here because I found this SO post while searching for info about visualizing the tack's waveform as in the linked article? Maybe I should make this a comment instead?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top