A Ruby interface for Echo Nest Developer API
WARNING: This uses the now-deprecated Echonest API. It needs to be upgraded to use their new (Spotify-based) API.¶ ↑
rake install
gem install ruby-echonest
Only supports the API for Track developer.echonest.com/docs/v4/track.html
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)
koyachi for original idea gist.github.com/87086
- Author
-
youpy <[email protected]>
- License
-
MIT