Package timeside :: Module api :: Class IAnalyzer
[hide private]
[frames] | no frames]

Class IAnalyzer

source code

         object --+        
                  |        
component.Interface --+    
                      |    
             IProcessor --+
                          |
                         IAnalyzer
Known Subclasses:

Media item analyzer driver interface. This interface is abstract, it doesn't describe a particular type of analyzer but is rather meant to group analyzers. In particular, the way the result is returned may greatly vary from sub-interface to sub-interface. For example the IValueAnalyzer returns a final single numeric result at the end of the whole analysis. But some other analyzers may return numpy arrays, and this, either at the end of the analysis, or from process() for each block of data (as in Vamp).

Instance Methods [hide private]
 
__init__(self)
Create a new analyzer.
source code

Inherited from IProcessor: blocksize, channels, mediainfo, post_process, process, release, samplerate, setup, totalframes

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
name()
Return the analyzer name, such as "Mean Level", "Max level", "Total length, etc..
source code
 
unit()
Return the unit of the data such as "dB", "seconds", etc...
source code

Inherited from IProcessor: id, uuid

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Create a new analyzer.

Overrides: object.__init__