[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnuspeech-contact] source code organisation
From: |
Steve Nygard |
Subject: |
Re: [gnuspeech-contact] source code organisation |
Date: |
Sat, 29 Apr 2006 17:51:28 -0600 |
On Apr 27, 2006, at 3:25 AM, Eric Zoerner wrote:
Where in the source for gnuspeech is the TTS logic, including where
it selects an intonation contour based on the punctuation?
If you look in gnuspeech/trillium/src/SpeechObject/postMonet/
server.monet/parser_module you will find the code that takes english
text and translates it into what Monet uses. This does a lot of
stuff and most of it hasn't been ported. What has been ported can be
found in current/Applications/GnuSpeech/TTSParser.[hm]. For the most
part it just looks up pronunciations in the dictionary.
The rest happens in Monet. EventList's -parsePhoneString: method
takes what was produced in the previous step. It creates tone groups
and such from the marked up string, and may also apply some hard-
coded rewrite rules from MMPostureRewriter.
From Monet, it is -[MSynthesisController synthesize] that calls
parsePhoneString. Several other methods are called following that to
calculate the intonation contours.
Is there information somewhere that describes the organisation of
the source code in the project?
There is a lot of stuff in there, which can make it hard to find the
things you are interested in. I try to write up something to
describe what's there.
--
Steve