10. In a further step, adjoining phonemes are (Web hosting packages)

10. In a further step, adjoining phonemes are combined into pairs (diphones). This allows a better resolution of the text into speech. 11. The PitchMark Generator analyzes the results of the contour generator and generates parameters for the later sound synthesis. 12. The results of the PitchMark Generator and the list of diphones are now used to select and concatenate the corresponding speech samples. 13. Finally, the concatenated samples are replayed with the help of a suitable audio player. FreeTTS is designed as a modular system. Each of the steps listed above is processed by a specialized Utterance Processor. An utterance is the basic data structure in FreeTTS. It may contain the complete text that is to be spoken but may later be broken into individual phrases, which again are represented as Utterance instances. Each utterance consists of a set of lists (in FreeTTS these are called relations). These include the lists of syllables, words, segments (results of the Segmenter), and so on. The various utterance processors perform read and write accesses to these lists. Detailed information about the architecture of FreeTTS is found in the FreeTTS Programmer s Guide (contained in the FreeTTS documentation). Extending the FreeTTS System You can derive the information needed for lip synchronization from the durations computed in step 8, where the duration of each single segment (phoneme) was determined. The best point for invoking the lip synchronization, however, is between steps 12 and 13, as close as possible to the audio output. You can generate the events for lip synchronization by implementing your own utterance processor, called Animator. This processor derives events (AnimationEvent) from the end times stored in each segment and sends these events to an AnimationListener at the right time. You can control this with your own timer. Animation Events First, implement the AnimationEvent class and the AnimationListener interface. Both are stored in the com.sun.speech.freetts.relp package. Listing 5.1 shows the code for AnimationEvent.java. package com.sun.speech.freetts.relp; public class AnimationEvent { public int endTime; public String phone; /** * Constructor 75 Project One: Duke Speaks Listing 5.1 (Continues)
You need web hosting, easy to use web template and great support. What else could I ask for?All of our reseller accounts include free web hosting templates just check web hosting templates for more information.

Leave a Reply