NAME

WWW::TheEchoNest::Song - Wrapper for The Echo Nest API of music intelligence

VERSION

version 0.1

DESCRIPTION

The Echo Nest song API calls are provided with this module.

song/identify is used to indentify a song based on an echoprint (aka codegen) or ENMPF segment.

NAME

WWW::TheEchoNest::Song

REQUIRES

METHODS

identify

To heep this method simple you can generally call it with the custom parameter of file_location. When that is the only parameter passed in most of the heavy lifting is done under the hood.

If you are not getting good results there are a couple of tuning options, set the start offset and length of encoded audio to send as outlined in the WWW::TheEchoNest::Codegen module.

Currently Over The Air (OTA) recordings are not well supported by song/identify so be sure the audio source file is as distortion free as possible.

$song->identify(
   query => '[ ..json from codegen .. ]'
);

profile

profile();
search();

AUTHOR

Aaron Johnson <aaronjjohnson@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Aaron Johnson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.