Previous: Access strategies, Up: Diphone synthesizer [Contents][Index]
The appropriate diphone is selected based on the name of the phone identified in the segment stream. However for better diphone synthesis it is useful to augment the diphone database with other diphones in addition to the ones directly from the phoneme set. For example dark and light l’s, distinguishing consonants from their consonant cluster form and their isolated form. There are however two methods to identify this modification from the basic name.
When the diphone module is called the hook diphone_module_hooks
is applied. That is a function of list of functions which will be
applied to the utterance. Its main purpose is to allow the conversion
of the basic name into an augmented one. For example converting a basic
l into a dark l, denoted by ll. The functions given in
diphone_module_hooks may set the feature
diphone_phone_name which if set will be used rather than the
name of the segment.
For example suppose we wish to us