Soundcloud and Max

Max Björverud's icon

Is it possible to play soundcloud within Max? I would like to "embed" soundcloud audio within Max and play it there. If it is possible. How would you do it? If it isn't possible. How do you make it possible?

Jeremy's icon

You can use the jweb object, but the audio won't be routed via MSP, just played using the built-in computer audio.

Best, Jeremy

nick rothwell | project cassiel's icon

Streaming is probably rather tricky, but you can download via the HTTP-based API: http://developers.soundcloud.com/docs/api/reference - knockable-uppable in Java, for example.

Max Björverud's icon

Yes I've tested jweb and Im going to test some soundflower magic with it to get that audio into Max. Download is something I'd like to avoid all toghether. Thats what this is all about acctually.

betseybiggs's icon

Hi Max, I'd be curious if you come up with something. I'm also trying to get audio streaming through jweb (although not from SoundCloud). Could you post a solution if you find something that works? I'll do the same.

timothybone's icon

I've posted something i hacked together using shell and jit.uldl. Though at this point I may very well hack together a javascript api verison of it. I'll post it here when done. Otherwise you can find the soundcloud sounderizer patch (which works decently and allows multiple soundcloud streams directly into ableton) on github.com/timothybone/max-patches

timothybone's icon

if someone wants to beat me to it, just bounce over to developers.soundcloud.com, follow the instructions, it ought not be too hard. just make sure to follow the api rules so not to make a patch that's against the law!

Randy Gibson's icon

Has anyone had any luck with this?

I'm building a patch that will bring in streaming radio services from around the world. I'm using the jweb object to load the player, but would really like to be able to control the audio output as well. I'm loading several websites at once for simultaneous playback.

Thanks!

timothybone's icon

I ended up using this and actually running soundcloud songs inside an ableton set...It wasn't anything fantastic, but it worked alright for a hackish solution to a fun idea.

I mean...it's mostly just around the idea of web scraping. Alternatively you could be more piratey and use youtube-dl to acquire target files and then to propagate as you wish for max, etc.

vichug's icon

youtube-dl works for soundcloud ?

OCH's icon

if someone else was also wondering:
https://github.com/imclab/open-source-max-projects/tree/master/soundcloud%20sounderizer