Forums » Feature Requests Search

MaxMSP? New Reply

Author Post
Posts: 1
Registered: Jul 31, 2009

(Probably not too high on the list, I know, and there are always Tristan's objects to hold me over, but...)

Are there any plans to wrap up some Echo Nest functionality in objects for MaxMSP, for those of us who are more comfortable with patching than proper programming?

Posts: 1
Registered: Jul 13, 2010

+1

or might this already be possible with jython

Posts: 6
Registered: Dec 22, 2008

it is already possible with echonestlive, which is a max4live object. the authors made available the plain old max patch, which uses the unofficial echo nest processing library + mxj to bring EN functionality into max. let me know if you need help getting everything running.

Posts: 1
Registered: Dec 14, 2010

heya,

I would love to use max patch however I run into this problem:

I added core.jar lib to max libraries however when I load EN patch I get the error "Could not load class 'com.mtn.echonestlive.m4l.TrackAnalyzer' " I tried to add classes manually but they don't seem to work :/

I am running Max on WinXP SP3.

Thanks for your time ;>

Posts: 666
Registered: Sep 08, 2008

eleven_t - the max patch was written by a 3rd party, perhaps they will chime in here to answer your questions. -- Paul

Posts: 5
Registered: Jul 23, 2009

eleven_t, I'm having the same problem. Maybe the patch was written in an older version of Max.

Paul, is there any chance that Tristan could build a little patch for max (one that would work on Max 5 for both OSX and Windows)? Or maybe an object? Not that his analyzer objects aren't already amazing, but an official echonest object would be mindblowing. I keep thinking about all of the amazing things that could be done if the remix api were ported to max...

Also, I know that there is a Jamoma project where people are doing research on creating a framework that would make it easier to port max patches to objective-c, for use in iphone & ipad apps. i'm sure THAT would be something of interest to you guys...

Posts: 666
Registered: Sep 08, 2008

esimmens - let me see what this would take to do. -- Paul

Posts: 5
Registered: Jul 23, 2009

Thanks Paul!

By the way, I asked someone about that Jamoma project:

timothyplace: @eddiesimmens We have made a number of changes to #Jamoma in the last year to support iOS - we just haven't made it to the finish line. yet.

Sounds like they could use some help, no? Maybe someone out there reading this topic could join in on the jamoma project...

Best,

Eddie

Posts: 666
Registered: Sep 08, 2008

Thanks Eddie. As for the MAX patch, we should have an update on when this will happen very soon. -- Paul

Posts: 6
Registered: Dec 22, 2008

I'm writing some Max/MSP objects to provide an interface to the Echonest APIs, with an eye towards Remix-style functionality. Expect something in March.

And if you have ideas about the kind of objects you like to see, let me know.

Posts: 5
Registered: Jul 23, 2009

sorry for the delay in response...i completely forgot about this topic!

Blacker—I can't wait to see what externals you are writing. Here's a list of some objects I just brainstormed...

An object that chops up a measure of a song (stored in a buffer) and then downloads a similar sounding segment into another buffer? Personally, I love the art of sampling...so anything that replaces sections of audio with Creative Commons sounds would save me A LOT of potential legal troubles ;)

It would sure be nice to have something similar to the Mootcher external at the Freesound Project, but for streaming...maybe to generate playlists based on certain parameters, like danceability (which could be implemented as arguments?)

Objects to synchronize audio and video, like the cat/piano example? I'm sure you could do some of these things already in Max, but with these APIs it would save us from having to reinvent the wheel...

Objects for ANY of the example python scripts would be amazing.

I guess one issue to keep in mind would be the number of API calls required for any given object...I could see some MAXers using the 'uzi' object and instantly overloading the APIs ;)

Good Luck!

Best, Eddie

Posts: 6
Registered: Dec 22, 2008

We now have an analyzer~ en_analyzer~ Max/MSP external that allows users to access The Echo Nest's audio analysis from within Max. Upload some audio data, then make use of EN's rich musical analysis in your patch. To download the object, along with an example patch and source code, visit:

analyzer~ on github en_analyzer~ on github

Questions, comments, and suggestions are all welcome. The external is currently only available for Mac; the Windows version is under development (if there are any Visual Studio ninjas out there interested in helping, get in touch). Happy patching!

UPDATE: to avoid conflict with Tristan's existing analyzer~ object, the new one is now called en_analyzer~

Posts: 5
Registered: Jul 23, 2009

yes! you are awesome!

Posts: 5
Registered: Jul 23, 2009

So I've been playing around with this object in combination with the Freesound API object...I've been using the Freesound API to download samples (into Polybuffer~) that match a certain tag/description, and then analyzing these samples with en_analyzer~ to find their key and mode. However, this process seems to be quite inefficient when I wish to find audio files that are only in a specified key. For instance, if I need to find guitar riffs in the key of D I would need to 1) search the freesound archives for the tags "guitar" and "riff" 2) download all of the returned audio files (from the urls in the parsed xml file) and 3) send each audio file through the en_analyzer~ object to find which ones are in the key of D (which could take a LONG time if I need to analyze several hundred files to find the few that are in the key of D).

Could the en_analyzer~ object be modified to accept a list of urls (or buffer~ names) for bulk analysis? Or is there some other way of accomplishing what I am trying to do?

Best, Eddie

Posts: 2
Registered: Oct 03, 2011

Hi there,

I'm having problems with en_analyzer. It's been working fine on my mac book pro running 10.6.8 and then last week it just started crashing as soon as I hit analyze. I've tried it in max 5.1.9 and 6.0.1 on both this machine (which it has previously worked on) and a new mac book air running 10.7.2 with a fresh install of max 5.1.9 and 6.0.1.

I'm really keen to play with max and the echonest so if you've got any ideas about why it might be crashing let me know. thanks Dylan.

Posts: 105
Registered: Sep 05, 2008

hi dylanserato-- best thing to do is file an issue on the en_analyzer github page and make sure you include the crash log.

Posts: 2
Registered: Oct 03, 2011

cool, done.

Reply to this Thread

You must log in to post a reply.