Class a.s.Module(object):

Part of aculab.snapshot View Source View In Hierarchy

A DSP module on an Aculab Prosody (speech processing) card.

The member open has the type SM_OPEN_MODULE_PARMS http://www.aculab.com/support/TiNG/gen/apifn-sm_open_module.html.

The member info has the type SM_MODULE_INFO_PARMS http://www.aculab.com/support/TiNG/gen/apifn-sm_get_module_info.html.
Method __init__ Undocumented
Method add_tone_limits Helper function for dtmf_fax_toneset.
Method dtmf_fax_toneset Create a custom toneset for the detection of DTMF and CED/CNG at
Method translate_tone Translate for our custom DTMF/FAX toneset.
Method vmptx_default_toneset Allocate a default toneset for the VMPtx on the first invocation
def __init__(self, card, index): (source)
Undocumented
def add_tone_limits(self, lower, upper): (source)
Helper function for dtmf_fax_toneset.
def dtmf_fax_toneset(self): (source)
Create a custom toneset for the detection of DTMF and CED/CNG at the same time. This toneset is cached; upon the first invocation, the toneset will be created on the module, further invocations just return the existing identifier.
def translate_tone(self, toneset, mode, recog): (source)
Translate for our custom DTMF/FAX toneset.
Returnsa tuple (tone, length). length will be None unless une of the kSMToneLenDetection* algorithms is used.
def vmptx_default_toneset(self): (source)
Allocate a default toneset for the VMPtx on the first invocation and cache it for subsequent invocations.
API Documentation for pyAculab, generated by pydoctor at 2009-01-02 15:12:29.