Examples

The following examples illustrate how to parse Analyze API results in several different programming languages.

Python

Our sample Analysis class is an easy way to get your music's analysis in your Python code.

Flash / Actionscript

We've built an example visualizer using Actionscript and Flash that parses the analysis and plays a song while shapes move in time to the beat. Use this as a launching ground for your own dynamic visualizers.

Processing (Java)

We ported the Flash example to the popular physical and visual language Processing so that our friends can make beautiful applets and visualizers. Don't take any design cues from our example, which you can download here.

Objective C (iPhone, Mac OS X)

The ENXMLSerializerReader class can be used in any OS X Cocoa software. Those in the iPhone developer program may need a replacement XML parser class (check back later for details.)

Matlab

The Echo Nest provides a Matlab analysis parser for use in research. Download the Matlab libraries here and let us know if it is useful. The libraries should be self documenting, but ask on any questions on the forum.