Home | Trees | Indices | Help |
|
---|
|
object --+ | component.Component --+ | core.Processor --+ | core.Grapher --+ | waveform_simple.Waveform --+ | WaveformContourBlack
Builds a PIL image representing an amplitude coutour (envelop) of the audio stream.
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
|
|||
|
|
|||
Inherited from |
|
|||
Inherited from |
|
Create a new grapher. width and height are generally in pixels but could be something else for eg. svg rendering, etc..
|
Short alphanumeric, lower-case string which uniquely identify this processor, suitable for use as an HTTP/GET argument value, in filenames, etc...
|
Return the graph name, such as "Waveform", "Spectral view", etc..
|
Allocate internal resources and reset state, so that this processor is ready for a new run. The channels, samplerate and/or blocksize and/or totalframes arguments may be required by processors which accept input. An error will occur if any of these arguments is passed to an output-only processor such as a decoder.
|
Process input frames and return a (output_frames, eod) tuple. Both input and output frames are 2D numpy arrays, where columns are channels, and containing an undetermined number of frames. eod=True means that the end-of-data has been reached. Output-only processors (such as decoders) will raise an exception if the frames argument is not None. All processors (even encoders) return data, even if that means returning the input unchanged. Warning: it is required to call setup() before this method.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Dec 15 00:09:37 2013 | http://epydoc.sourceforge.net |