GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bassnode/MrEko: Smart music playlist generation using the Echonest API

BranchesTags
Open more actions menu

Latest commit

 

History

100 Commits
100 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
db/migrate
db/migrate
 
 
ext/enmfp
ext/enmfp
 
 
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
Gemfile
Gemfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
TODO
TODO
 
 
mr_eko.gemspec
mr_eko.gemspec
 
 

Repository files navigation

MrEko

MrEko analyzes your music and lets you ask him in-depth questions about it. He answers in playlists.

Example:

# Scan a directory, recursively:
mreko scan ~/Music/iTunes

# Scan a set of files
mreko scan jakob-semaphore.mp3 pelican-drought.mp3

# Output a PLS playlist of fast, minor-key music
mreko playlist --tempo '>120' --mode minor > rainy_day_suicidal_playlist.pls

# Output a playlist of shorter,  up-tempo, danceable, major-keyed songs
mreko playlist --preset gym > sweaty_playlist.pls

# Output a 30 minute playlist which builds from tempo 120 to 185 BPM. See notes on TimedPlaylists below.
mreko playlist --timed 1800 --tempo 120 --final 185 > morning_commute.pls

# Output an hour-long playlist which gradually decreases in energy.
mreko playlist --timed 3600 --energy 100 --final 30 > evening_wind_down.pls

Requirements:

  • ffmpeg in your path.
  • an Echonest API token which goes here: ~/.mreko/echonest_api.key
  • Ruby 1.9.3 or above

TimedPlaylists:

TimedPlaylists are different than standard Playlists in that they are both limited by time (surprise!) and are built around one "facet". A facet is one of the Playlist options such as tempo, key, energy, mode, etc. You specify the length of the playlist (in seconds), the facet upon which the playlist is filtered and sorted, and then the initial and final values for the facet. E.g. a 45 minute playlist which starts in Minor key and ends Major: mreko playlist --timed 2700 --mode minor --final major

Notes:

MrEko will make an audio fingerprint of a music file and attempt to use it (along with ID3 tags) to retrieve data from Echonest. This can be fast but not always successful due to Echonest catalog limitations, so some songs must be uploaded to Echonest. This means that scanning a large and/or somewhat eclectic library could take a good while.

About

Smart music playlist generation using the Echonest API

Resources

Readme
MIT license
Activity

Stars

11 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.