Reputation: 341
Is there any way to get PCM frames from a song which is playing in Deezer or Spotify and if there is, could you maybe explain briefly how ?
I checked in the both API a way to do that but I'm not very lucky tonight and I didn't find a answer yet... :(
Any kind of help will be very usefull, thanks a lot.
Kind Regards,
Sébastien.
Upvotes: 0
Views: 536
Reputation: 40430
Disclaimer: I work for Spotify
libspotify delivers raw PCM frames in the music_delivery
callback, see the API documentation for more details. Actually this is the default delivery mechanism for libspotify, so you don't need to do anything special to get raw PCM, that's the format which the library speaks.
I'm not sure about the Spotify Web Apps platform, I'm not a Javascript guy at all...
Upvotes: 2