Package jazzparser :: Package harmonical :: Module tones :: Class SineClusterEvent
[hide private]
[frames] | no frames]

Class SineClusterEvent

source code

    object --+        
             |        
 BaseToneEvent --+    
                 |    
MultiSineToneEvent --+
                     |
                    SineClusterEvent
Known Subclasses:

Generates a tone by summing the notes of a tonal space cluster.

Instance Methods [hide private]
 
__init__(self, frequency, points, duration=1, amplitude=0.8, envelope=None, root_weight=1.2, root_octave=0, double_root=False, equal_temperament=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from MultiSineToneEvent: get_samples

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, frequency, points, duration=1, amplitude=0.8, envelope=None, root_weight=1.2, root_octave=0, double_root=False, equal_temperament=False)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • root_weight (float) - amplitude ratio between the root note and any other note. Set >1.0 to make the root louder than other notes.
  • root_octave (int) - octave to transpose the root to relative to other notes. Default (0) has the other notes in the octave above the root.
  • double_root (bool) - if True, an extra tone will be added an octave below the root
Overrides: object.__init__

See Also: MultiSineToneEvent