omde.oscillator
index
/usr/local/lib/python2.1/site-packages/omde/oscillator.py

Oscillating function translated and normalized in the [0,1] range

 
Classes
            
omde.functional.Function(omde.functional.FunctionModel)
Cosine
PowerDown
PowerUp
SawDown
SawUp
Sine
Square
Triangle

 
class Cosine(omde.functional.Function)
      Cosinusoid translated in the [0,1] range
 
  
__add__(self, function) from omde.functional.Function
__call__(self, t)
__div__(self, function) from omde.functional.Function
__init__(self, frequency=1.0, phase0=0.0)
__mul__(self, function) from omde.functional.Function
__radd__(self, function) from omde.functional.Function
__rdiv__(self, function) from omde.functional.Function
__rmul__(self, function) from omde.functional.Function
__rsub__(self, function) from omde.functional.Function
__sub__(self, function) from omde.functional.Function
instance(self, begin, end) from omde.functional.Function

 
class PowerDown(omde.functional.Function)
      Power-down wave translated in the [0,1] range
 
  
__add__(self, function) from omde.functional.Function
__call__(self, t)
__div__(self, function) from omde.functional.Function
__init__(self, frequency=1.0, phase0=0.0, exponent=0.0)
__mul__(self, function) from omde.functional.Function
__radd__(self, function) from omde.functional.Function
__rdiv__(self, function) from omde.functional.Function
__rmul__(self, function) from omde.functional.Function
__rsub__(self, function) from omde.functional.Function
__sub__(self, function) from omde.functional.Function
instance(self, begin, end) from omde.functional.Function

 
class PowerUp(omde.functional.Function)
      Power-up wave translated in the [0, 1] range
 
  
__add__(self, function) from omde.functional.Function
__call__(self, t)
__div__(self, function) from omde.functional.Function
__init__(self, frequency=1.0, phase0=0.0, exponent=0.0)
__mul__(self, function) from omde.functional.Function
__radd__(self, function) from omde.functional.Function
__rdiv__(self, function) from omde.functional.Function
__rmul__(self, function) from omde.functional.Function
__rsub__(self, function) from omde.functional.Function
__sub__(self, function) from omde.functional.Function
instance(self, begin, end) from omde.functional.Function

 
class SawDown(omde.functional.Function)
      broken
 
  
__add__(self, function) from omde.functional.Function
__call__(self, t)
__div__(self, function) from omde.functional.Function
__init__(self, frequency=1.0, ph=0.0)
__mul__(self, function) from omde.functional.Function
__radd__(self, function) from omde.functional.Function
__rdiv__(self, function) from omde.functional.Function
__rmul__(self, function) from omde.functional.Function
__rsub__(self, function) from omde.functional.Function
__sub__(self, function) from omde.functional.Function
instance(self, begin, end) from omde.functional.Function

 
class SawUp(omde.functional.Function)
      Saw-up wave translated in the [0,1] range
 
  
__add__(self, function) from omde.functional.Function
__call__(self, t)
__div__(self, function) from omde.functional.Function
__init__(self, frequency=1.0, phase0=0.0)
__mul__(self, function) from omde.functional.Function
__radd__(self, function) from omde.functional.Function
__rdiv__(self, function) from omde.functional.Function
__rmul__(self, function) from omde.functional.Function
__rsub__(self, function) from omde.functional.Function
__sub__(self, function) from omde.functional.Function
instance(self, begin, end) from omde.functional.Function

 
class Sine(omde.functional.Function)
      Sinusoid translated in the [0,1] range
 
  
__add__(self, function) from omde.functional.Function
__call__(self, t)
__div__(self, function) from omde.functional.Function
__init__(self, frequency=1.0, phase0=0.0)
__mul__(self, function) from omde.functional.Function
__radd__(self, function) from omde.functional.Function
__rdiv__(self, function) from omde.functional.Function
__rmul__(self, function) from omde.functional.Function
__rsub__(self, function) from omde.functional.Function
__sub__(self, function) from omde.functional.Function
instance(self, begin, end) from omde.functional.Function

 
class Square(omde.functional.Function)
      Square wave translated in the [0, 1] range
 
  
__add__(self, function) from omde.functional.Function
__call__(self, t)
__div__(self, function) from omde.functional.Function
__init__(self, frequency=1.0, phase0=0.0)
__mul__(self, function) from omde.functional.Function
__radd__(self, function) from omde.functional.Function
__rdiv__(self, function) from omde.functional.Function
__rmul__(self, function) from omde.functional.Function
__rsub__(self, function) from omde.functional.Function
__sub__(self, function) from omde.functional.Function
instance(self, begin, end) from omde.functional.Function

 
class Triangle(omde.functional.Function)
      Trangle oscillator translated in the [0,1] range
 
  
__add__(self, function) from omde.functional.Function
__call__(self, t)
__div__(self, function) from omde.functional.Function
__init__(self, frequency=1.0, phase0=0.0)
__mul__(self, function) from omde.functional.Function
__radd__(self, function) from omde.functional.Function
__rdiv__(self, function) from omde.functional.Function
__rmul__(self, function) from omde.functional.Function
__rsub__(self, function) from omde.functional.Function
__sub__(self, function) from omde.functional.Function
instance(self, begin, end) from omde.functional.Function

 
Functions
            
cos(...)
cos(x)
 
Return the cosine of x.
fabs(...)
fabs(x)
 
Return the absolute value of the real x.
fmod(...)
fmod(x,y)
 
Return fmod(x, y), according to platform C.  x % y may differ.
pow(...)
pow(x,y)
 
Return x**y.
sin(...)
sin(x)
 
Return the sine of x.

 
Data
             __file__ = '/usr/local/lib/python2.1/site-packages/omde/oscillator.pyc'
__name__ = 'omde.oscillator'
pi = 3.1415926535897931