spotify / web-api

This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web API ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
982 stars 79 forks source link

Audio Data for Music Visualizer #1369

Open HungryAnteaterCE opened 4 years ago

HungryAnteaterCE commented 4 years ago

I am working on adding Spotify support to a music visualization app. The visualizer responds to the music in real time, factoring in volume levels in a spectrum of frequencies. Is it possible to retrieve the actual stream data itself, or will I need to rely on the audio analysis data from Spotify?

Thanks!

0xNF commented 4 years ago

There is no official supported way to do this, unfortunately. However, the Audio Analysis data is rich enough and includes the specific data that you want, that you have a good chance of getting it working via that route.

autoantwort commented 4 years ago

If you are working on windows, you can catch the whole windows output and get the audio PCM data. On Linux and Mac you can use loopback recording to get the audio stream