Module acss :: Class ACSS
[hide private]
[frames] | no frames]

Class ACSS

source code

object --+    
         |    
      dict --+
             |
            ACSS

Holds ACSS representation of a voice.

Instance Methods [hide private]
new empty dictionary

__init__(self, props={})
Create and initialize ACSS structure.
source code
 
__setitem__(self, key, value)
Update name when we change values.
source code
 
__delitem__(self, key)
Update name if we delete a key.
source code
 
updateName(self)
Update name based on settings.
source code
 
name(self) source code

Inherited from dict: __cmp__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values, viewitems, viewkeys, viewvalues

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]
  settings = {'average-pitch': 5, 'family': None, 'gain': 5, 'pi...

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, props={})
(Constructor)

source code 

Create and initialize ACSS structure.

Returns:
new empty dictionary

Overrides: object.__init__

__setitem__(self, key, value)
(Index assignment operator)

source code 

Update name when we change values.

Overrides: dict.__setitem__

__delitem__(self, key)
(Index deletion operator)

source code 

Update name if we delete a key.

Overrides: dict.__delitem__

Class Variable Details [hide private]

settings

Value:
{'average-pitch': 5,
 'family': None,
 'gain': 5,
 'pitch-range': 5,
 'punctuations': 'all',
 'rate': 50,
 'richness': 5,
 'stress': 5}