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

Class SineChordEvent

source code

    object --+            
             |            
 BaseToneEvent --+        
                 |        
MultiSineToneEvent --+    
                     |    
      SineClusterEvent --+
                         |
                        SineChordEvent

Generates a tone by summing the notes of a chord of a standard type.

Instance Methods [hide private]
 
__init__(self, frequency, chord_type='', *args, **kwargs)
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, chord_type='', *args, **kwargs)
(Constructor)

source code 

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

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

See Also: SineClusterEvent