| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

Remix Shell

Page history last edited by Adam Lindsay 11 years ago

Team

 

Adam Lindsay, on a whim, working remotely, drowning his sorrows for not being in Boston

 

Download

http://bitbucket.org/atl/remix-shell

 

Description

A stupid shell for the Echo Nest Remix API.

 

I had SuperCollider one-liner envy, so I created this. It doesn't do much, other than restrict you to one-liner remixes. But that's the fun.

 

 

Commands:

  load: loads the filename

  play: play the result of the last command, if it can be played (currently Mac only)

  save: save the result of the last command, if it can be rendered

  help: be minimally helpful

  anything else: try to interpret it in the current environment

 

Environment:

  beats, bars, tatums, sections, segments: all from the currently loaded file

  _: the last-defined AudioRenderable

  analysis: container for all the other analysis products in the file

 

  libraries:

    import echonest.audio as audio

    from echonest.selection import *

    from echonest.sorting import *

 

$ ./remix.py ../music/BillieJean.mp3

> beats.that(overlap_starts_of(segments.that(have_pitch_max(analysis.key['value']))))

> play

> save bj.mp3

> load ../music/aha.mp3

> segments.that(have_pitch_max(analysis.key['value']))

> play

> beats.that(overlap_starts_of(_))

> play

> ^D

 

Tools, Platforms and APIs Used

 

The Echo Nest Remix API

 

Comments (0)

You don't have permission to comment on this page.