Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BOSS_OLA Class Reference
[BOSS OLA Module]

A module for concatenation and manipulation of speech units. More...

#include <boss_ola.h>

Inheritance diagram for BOSS_OLA:

BOSS_ConMan BOSS::Module List of all members.

Public Member Functions

 BOSS_OLA (BOSS::Config &__config, MySQL_Handler *__database)
 BOSS_OLA class constructor.

virtual string getDescription ()
 Returns a description string of this module.

virtual void operator() (xercesc::DOMNode *sentence)
 Runs the module.


Private Member Functions

void getOLA_Units (xercesc::DOMNode *node, OLA_UnitVector &cv)
 Constructs a OLA Unit for every non-uniform unit in the xml document.

void preEmph (t_Signal &res)
 Applies preemphasis to the signal in argument.

bool selfCheck (OLA_UnitVector &units)
 Runs a self-check.

void writeSignalToDisk (xercesc::DOMNode *sentence, t_Signal &signal)
 Writes the signal in the raw format to disk.

void writeSignalToXML (t_Signal &signal, xercesc::DOMNode *sentence)
 Stores signal in userdata structure in the base xml document.

void getNewF0Contour (OLA_UnitVector &units, vector< Phone > &phones, PitchContour &contour)
 Uses the prosody definition to construct a new F0 contour. The new F0 contour will be used for new pitchmarks generation.

void calculateProsody (vector< Phone > &phones)
 This is a placeholder function for a prosody calculation.


Private Attributes

bool preemph_flag

Detailed Description

A module for concatenation and manipulation of speech units.


Constructor & Destructor Documentation

BOSS_OLA::BOSS_OLA BOSS::Config __config,
MySQL_Handler __database
 

BOSS_OLA class constructor.


Member Function Documentation

void BOSS_OLA::calculateProsody vector< Phone > &  phones  )  [private]
 

This is a placeholder function for a prosody calculation.

Todo:
Create a better algorithm based on the outputs of the BOSS_Intonation module

string BOSS_OLA::getDescription  )  [virtual]
 

Returns a description string of this module.

Implements BOSS::Module.

void BOSS_OLA::getNewF0Contour OLA_UnitVector units,
vector< Phone > &  phones,
PitchContour contour
[private]
 

Uses the prosody definition to construct a new F0 contour. The new F0 contour will be used for new pitchmarks generation.

void BOSS_OLA::getOLA_Units xercesc::DOMNode *  node,
OLA_UnitVector cv
[private]
 

Constructs a OLA Unit for every non-uniform unit in the xml document.

void BOSS_OLA::operator() xercesc::DOMNode *  sentence  )  [virtual]
 

Runs the module.

Implements BOSS::Module.

void BOSS_OLA::preEmph t_Signal res  )  [private]
 

Applies preemphasis to the signal in argument.

Author:
Stefan Breuer

bool BOSS_OLA::selfCheck OLA_UnitVector units  )  [private]
 

Runs a self-check.

void BOSS_OLA::writeSignalToDisk xercesc::DOMNode *  sentence,
t_Signal signal
[private]
 

Writes the signal in the raw format to disk.

void BOSS_OLA::writeSignalToXML t_Signal signal,
xercesc::DOMNode *  sentence
[private]
 

Stores signal in userdata structure in the base xml document.

Reimplemented from BOSS_ConMan.


Member Data Documentation

bool BOSS_OLA::preemph_flag [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Dec 20 23:14:40 2005 for BOSS by doxygen 1.3.6