Previous topic

SUttProcessor Structure

Next topic

Feature Processor

SUttProcessorClass StructureΒΆ

speect class SUttProcessorClass

The SUttProcessorClass structure.

Protected Attributes
SObjectClass _inherit

Inherit from SObjectClass.

void(*const initialize)(SUttProcessor *self, const SVoice *voice, s_erc *error)

Initialize function pointer.

Initialize the utterance processor. Used for initialization of the utterance processor, if required, on loading of the voices.

Parameters:
  • self

    The UttProcessor to initialize.

  • voice

    The voice that the utterance processor belongs to.

  • error

    Error code.

Note:

If an error occurs the error variable must be set so that SUttProcessorInit can delete the utterance processor.

Not necessarily implemented.

void(*const run)(const SUttProcessor *self, SUtterance *utt, s_erc *error)

Run function pointer.

Execute the UttProcessor on the given utterance.

Parameters:
  • self

    The UttProcessor to execute.

  • utt

    The utterance on which to execute the UttProcessor.

  • error

    Error code.