Skip to content


Subversion checkout URL

You can clone with
Download ZIP



T. Bertin-Mahieux (2010) Columbia University

Simple code to get a url preview from for
a given track in the Million Song Dataset project.
This could be incorporated in a user study experiment,
or as a debugging tool (is this song really that 'rock'?),

You need a 7digital API key, available at:
we recommend you put the key as a environment variable:

In general, 7digital developer's website is:

We are aware of a python wrapper around 7digital API (thanks Oscar!):
To be as general as possible, we intend not to use it, but
we do recommend its use in a real application!

We are building a graphical player, see
It is in development, but the basic functionnalities are there.
It takes a track or song ID, or an artist/title as input.
It is Linux-dependent for the moment, but it should be ready
for Mac soon.
It depends on Tkinter, pyao and pymad. If you can install these,
you can make it work, write us if you need help or want to suggest

Dan Ellis provided a Matlab version of the script, see MatlabSrc directory
at the top level of this repository, script name: load_preview.m
Something went wrong with that request. Please try again.