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?
I think so. Soundcloud has good documentation on their APIs. For example:
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.
hi, thanks for the info, and very sorry for the late reply. I will test this out soon…
C74 RSS Feed | © Copyright Cycling '74