In [1]:
import essentia
# as there are 2 operating modes in essentia which have the same algorithms,
# these latter are dispatched into 2 submodules:
import essentia.standard
import essentia.streaming
# let's have a look at what is in there
print dir(essentia.standard)
loader = essentia.standard.MonoLoader(filename = '/Users/martin/doremi-mono.wav')
# and then we actually perform the loading:
audio = loader()
# by default, the MonoLoader will output audio with 44100Hz samplerate
# pylab contains the plot() function, as well as figure, etc... (same names as Matlab)
#from pylab import * #import plot, show, figure
import pylab
#import pylab
pylab.plot(audio[1*44100:2*44100])
pylab.show() # unnecessary if you started "ipython --pylab"
In [ ]: