echonest audio analysis

Peter Nyboer's icon

http://analyze.echonest.com/api
seems pretty interesting. You can upload a sound file and their servers will analyze it and spit back an XML file.

"The Echo Nest’s proprietary music analyzer API automatically analyzes audio (e.g. aif, wav, mp3, m4a), and generates an XML file that describes the musical and structural content of the music. That representation can help power music visualization, music games, artistic installations, content-based and DJ applications with a much deeper level of music understanding. "

jln's icon
alangalan's icon

lets get this data into max/msp & jitter!

barry threw's icon

It's XML, so...um, do it.

bt

On Nov 24, 2008, at 3:34 PM, Alan Garcia wrote:
> lets get this data into max/msp & jitter!

barry threw
Media Art and Technology

San Francisco, CA
Work: 857-544-3967
Email: bthrew (at) gmail (dot) com
Web: www.barrythrew.com

alangalan's icon

totally. im looking at the libs for xml parsing. any suggestions?

i found one from digital orchestra toolbox and a js one that i haven't tested. the dot.xmlread object from digital orchestra toolbox returns corresponding lists of attributes, content etc.

The output data is for example:
confidence 0.297>3.894

Now, to use this data do i do some string operations or something? Unpack a list? I'm still not flawless with my knowledge of these objects.

Thx for any tips.
-Alan

Ben Lacker's icon

Hey all,

I've just released en_analyzer~, an external that provides access to The Echo Nest's audio analysis API from within Max. The object, as well as an example patch and source code is available here:

It's a universal binary for Mac, and I'm working on the Windows version. The object uploads the contents of a buffer~, retrieves the associated analysis, and parses and stores that data for use in Max.

Any feedback is welcome. Happy coding.

Anthony Palomba's icon

Or you could run Echonest python scripts directly from Max
http://puredata.info/Members/thomas/py