Home Information Classes Download Usage Mail List Requirements Links Tutorial

# Phonemes.h

    00001 /***************************************************/
    00011 /***************************************************/
    00012
    00013 #if !defined(__PHONEMES_H)
    00014 #define __PHONEMES_H
    00015
    00016 #include "Stk.h"
    00017
    00018 class Phonemes
    00019 {
    00020 public:
    00021
    00022   Phonemes(void);
    00023   ~Phonemes(void);
    00024
    00026   static const char *name( unsigned int index );
    00027
    00029   static MY_FLOAT voiceGain( unsigned int index );
    00030
    00032   static MY_FLOAT noiseGain( unsigned int index );
    00033
    00035   static MY_FLOAT formantFrequency( unsigned int index, unsigned int partial );
    00036
    00038   static MY_FLOAT formantRadius( unsigned int index, unsigned int partial );
    00039
    00041   static MY_FLOAT formantGain( unsigned int index, unsigned int partial );
    00042
    00043 private:
    00044
    00045   static const char phonemeNames[][4];
    00046   static const MY_FLOAT phonemeGains[][2];
    00047   static const MY_FLOAT phonemeParameters[][4][3];
    00048
    00049 };
    00050
    00051 #endif

The Synthesis ToolKit in C++ (STK)
©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.