Forums > Jitter

Souncloud Audio into Jitter

March 13, 2012 | 11:55 am

Hi,

sorry for the relative noob question, but am hoping that someone could point me in the right direction.

Is it possible for Max/MSP/Jitter to go to a url (soundcloud page) and stream the audio content found at the url, then creating a visualization with regards to that information? I know the visualization part can be done, but the sourcing content from the url that i need guidance on.

any help/guidance much appreciated?


March 13, 2012 | 5:05 pm

I think so. Soundcloud has good documentation on their APIs. For example:
http://developers.soundcloud.com/docs/api/tracks
can get you both download URL and a streaming URL. With them, you can get original or mp3 bitstreams respectively. You’ll need to get a client_id to authenticate against those APIs. Their docs tell you how.

With an MP3 stream, you could probably use jit.qt.movie to "read" the URL you got from the SoundCloud APIs. Use a spigot~ object (and attach it to the jit.qt.movie) object to get access to the audio stream in Max.

I have no idea if this will work in a stream-as-it-downloads method or if it needs to get the whole MP3 downloaded.


March 28, 2012 | 4:24 pm

hi, thanks for the info, and very sorry for the late reply. I will test this out soon…


Viewing 3 posts - 1 through 3 (of 3 total)