maj / ruby-echonest

A Ruby interface for Echo Nest Developer API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

echonest

A Ruby interface for Echo Nest Developer API

Description

Installation

Archive Installation

rake install

Gem Installation

gem install ruby-echonest

Features/Problems

Only supports the API for Track developer.echonest.com/docs/v4/track.html

Synopsis

require 'rubygems'
require 'echonest'

filename = 'foo.mp3'
echonest = Echonest('YOUR_API_KEY')

analysis = echonest.track.analysis(filename)
beats = analysis.beats
segments = analysis.segments

# traditional way
beats = echonest.get_beats(filename)
segments = echonest.get_segments(filename)

Thanks

koyachi for original idea gist.github.com/87086

Author

youpy <youpy@buycheapviagraonlinenow.com>

Copyright

Copyright © 2009 youpy

License

MIT

About

A Ruby interface for Echo Nest Developer API