The Synthesis ToolKit in C++ (STK)

Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial

# Phonemes.h

    00001 #ifndef STK_PHONEMES_H
    00002 #define STK_PHONEMES_H
    00003
    00004 #include "Stk.h"
    00005
    00006 namespace stk {
    00007
    00008 /***************************************************/
    00018 /***************************************************/
    00019
    00020 class Phonemes : public Stk
    00021 {
    00022 public:
    00023
    00024   Phonemes( void );
    00025
    00026   ~Phonemes( void );
    00027
    00029   static const char *name( unsigned int index );
    00030
    00032   static StkFloat voiceGain( unsigned int index );
    00033
    00035   static StkFloat noiseGain( unsigned int index );
    00036
    00038   static StkFloat formantFrequency( unsigned int index, unsigned int partial );
    00039
    00041   static StkFloat formantRadius( unsigned int index, unsigned int partial );
    00042
    00044   static StkFloat formantGain( unsigned int index, unsigned int partial );
    00045
    00046 private:
    00047
    00048   static const char phonemeNames[][4];
    00049   static const StkFloat phonemeGains[][2];
    00050   static const StkFloat phonemeParameters[][4][3];
    00051 };
    00052
    00053 } // stk namespace
    00054
    00055 #endif

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