|
|
__init__(self,
width=1024,
height=256,
bg_color=None,
color_scheme='default')
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
setup(self,
channels=None,
samplerate=None,
blocksize=None,
totalframes=None)
Allocate internal resources and reset state, so that this processor
is ready for a new run. |
source code
|
|
|
|
render(self,
output=None)
Return a PIL Image object visually representing all of the data
passed by repeatedly calling process() and write the image to the
output if specified |
source code
|
|
|
|
watermark(self,
text,
font=None,
color=(255, 255, 255),
opacity=0.6,
margin=(5, 5)) |
source code
|
|
|
|
draw_peaks(self,
x,
peaks,
line_color)
Draw 2 peaks at x |
source code
|
|
|
|
draw_peaks_inverted(self,
x,
peaks,
line_color)
Draw 2 inverted peaks at x |
source code
|
|
|
|
draw_anti_aliased_pixels(self,
x,
y1,
y2,
color)
vertical anti-aliasing at y1 and y2 |
source code
|
|
|
|
|
|
Inherited from core.Processor:
__del__,
__or__,
blocksize,
channels,
mediainfo,
post_process,
process,
release,
samplerate,
totalframes,
uuid
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|