The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::TheEchoNest::Codegen - Wrapper for The Echo Nest API of music intelligence echoprint codegen

VERSION

version 1.1

DESCRIPTION

You should not need to use these methods directly, they are used for song/identify calls

You may however want to set some of the paramters as the defaults assume the echoprint codegen binary is in your path and working correctly.

 start_x_seconds_in
 x_seconds_of_audio
 file_location

NAME

WWW::TheEchoNest::Codegen

METHODS

codegen_mp3

 $song->codegen_mp3([start offset],[seconds],[path]);

start_x_seconds_in

 $song->start_x_seconds_in(5);

x_seconds_of_audio

 $song->x_seconds_of_audio(20);

file_location

 Not part of the API and normally set as a call to the song/identify request.

AUTHOR

Aaron Johnson <aaronjjohnson@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 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.