[Newbies] How to add/enable speech synthesis?

Bert Freudenberg bert at freudenbergs.de
Tue Jul 10 15:56:27 UTC 2012


On 10.07.2012, at 17:25, Dr. Alexander Klein wrote:

> Hello,
> 
> I just wanted to experiment with speech synthesis in Squeak 4.3 All-in-one, but after an hour or so of browsing I still can't find where to enable it. I thought I'd find it in SqueakMap, but it doesn't seem to be there.
> 
> Can anyone give me a hint?
> 
> Thank you in advance,
> 
> 	Alex


Hi Alex,

execute this:

================
[Installer ss
	project: 'Speech';
	install: 'SharedPool-Speech';
	install: 'Speech'
] on: Error do: [:ex | (Smalltalk at: #PhonemeSet) initialize. ex resume].
================

This will install the Speech package from
	http://www.squeaksource.com/Speech.html
(and work around an initialization problem)

Then do

	Speaker manWithHead say: 'This is my voice. Can you see my lips?'

Fun! :)

For someone with write access to the Speech repo (Dave?):

In "LipsMorph class >> initialize" add the line

	PhonemeSet arpabet ifNil: [PhonemeSet initialize].

- Bert -




More information about the Beginners mailing list