Package timeside :: Package grapher :: Module waveform_contour :: Class WaveformContourWhite
[hide private]
[frames] | no frames]

Class WaveformContourWhite

source code

         object --+                    
                  |                    
component.Component --+                
                      |                
         core.Processor --+            
                          |            
               core.Grapher --+        
                              |        
       waveform_simple.Waveform --+    
                                  |    
               WaveformContourBlack --+
                                      |
                                     WaveformContourWhite

Builds a PIL image representing an amplitude coutour (envelop) of the audio stream.

Nested Classes [hide private]

Inherited from core.Processor: __metaclass__

Instance Methods [hide private]
 
__init__(self, width=1024, height=256, bg_color=(255, 255, 255), color_scheme='default')
Create a new grapher.
source code

Inherited from WaveformContourBlack: process, setup

Inherited from waveform_simple.Waveform: post_process

Inherited from core.Grapher: draw_anti_aliased_pixels, draw_peaks, draw_peaks_contour, draw_peaks_inverted, render, set_colors, watermark

Inherited from core.Processor: __del__, __or__, blocksize, channels, mediainfo, release, samplerate, totalframes, uuid

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

Static Methods [hide private]
 
id()
Short alphanumeric, lower-case string which uniquely identify this processor, suitable for use as an HTTP/GET argument value, in filenames, etc...
source code
 
name()
Return the graph name, such as "Waveform", "Spectral view", etc..
source code
Class Variables [hide private]

Inherited from core.Grapher: fft_size, frame_cursor, lower_freq, pixel_cursor

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, width=1024, height=256, bg_color=(255, 255, 255), color_scheme='default')
(Constructor)

source code 

Create a new grapher. width and height are generally in pixels but could be something else for eg. svg rendering, etc..

Decorators:
  • @interfacedoc
Overrides: object.__init__

id()
Static Method

source code 

Short alphanumeric, lower-case string which uniquely identify this processor, suitable for use as an HTTP/GET argument value, in filenames, etc...

Decorators:
  • @interfacedoc
Overrides: core.Grapher.id

name()
Static Method

source code 

Return the graph name, such as "Waveform", "Spectral view", etc..

Decorators:
  • @interfacedoc
Overrides: core.Grapher.name