Package aldrin :: Module envelope :: Class ADSRPanel
[show private | hide private]
[frames | no frames]

Type ADSRPanel

object --+                
         |                
    Object --+            
             |            
    EvtHandler --+        
                 |        
            Window --+    
                     |    
                 Panel --+
                         |
                        ADSRPanel


ADSR Panel.

Allows to sculpt Attack/Decay/Sustain/Release based envelopes.
Method Summary
  __init__(self, wavetable, *args, **kwds)
Initialization.
  update(self)
Update slider values from presets.
  update_envelope(self, event)
Updates the envelope from current slider values.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
list ATTACK_MODES = ['Linear', '48dB Logarithmic', '64dB Loga...
list DECAY_MODES = ['Linear', 'Logarithmic']
list RELEASE_MODES = ['Linear', '-48dB Logarithmic', '-64dB L...

Instance Method Details

__init__(self, wavetable, *args, **kwds)
(Constructor)

Initialization.
Overrides:
wx._windows.Panel.__init__

update(self)

Update slider values from presets.

update_envelope(self, event=None)

Updates the envelope from current slider values.

Class Variable Details

ATTACK_MODES

Type:
list
Value:
['Linear', '48dB Logarithmic', '64dB Logarithmic', '96dB Logarithmic'] 

DECAY_MODES

Type:
list
Value:
['Linear', 'Logarithmic']                                              

RELEASE_MODES

Type:
list
Value:
['Linear', '-48dB Logarithmic', '-64dB Logarithmic', '-96dB Logarithmi\
c']                                                                    

Generated by Epydoc 2.1 on Sun Feb 4 18:01:15 2007 http://epydoc.sf.net