Package echonest :: Package remix :: Module action
[hide private]
[frames] | no frames]

Module action

source code

action.py

Created by Tristan Jehan and Jason Sundram.

Classes [hide private]
  Playback
A snippet of the given track with start and duration. Volume leveling may be applied.
  Fadeout
Fadeout
  Fadein
Fadein
  Edit
Refer to a snippet of audio
  Crossfade
Crossfades between two tracks, at the start points specified, for the given duration
  Jump
Move from one point
  Blend
Mix together two lists of beats
  Crossmatch
Makes a beat-matched crossfade between the two input tracks.
Functions [hide private]
 
rows(m)
returns the # of rows in a numpy matrix
source code
 
make_mono(track)
Converts stereo tracks to mono; leaves mono tracks alone.
source code
 
make_stereo(track)
If the track is mono, doubles it. otherwise, does nothing.
source code
 
render(actions, filename, verbose=True)
Calls render on each action in actions, concatenates the results, renders an audio file, and returns a path to the file
source code
 
humanize_time(secs)
Turns seconds into a string of the form HH:MM:SS, or MM:SS if less than one hour.
source code
 
display_actions(actions) source code
Variables [hide private]
  __package__ = 'echonest.remix'