Comment detail

音声合成でHello, world! (Nested Flatten)
Squeak Smalltalk で。組み込みです。
1
Speaker default say: 'Hello, world!'
> 組み込みです

惚れました。
ぜひ将来 Gauche にも。w

他にも、ランダムに生成されるキャラ顔にセリフをしゃべらせる(発声のタイミングにあわせてそれっぽく口を動かします)…といったこともできます。
1
2
3
4
| speaker |
speaker := Speaker manWithHead.
(speaker findAVoice: GesturalVoice) head openInHand.
speaker say: 'Hello, world!'

Index

Feed

Other

Link

Pathtraq

loading...