|
1922
|
1 To add this stuff to Macintosh python (and have some use for it):
|
|
|
2
|
|
|
3 1. Obtain a copy of the Speech Manager. It can be found on
|
|
|
4 ftp.apple.com.
|
|
|
5 2. Put the Speech.h file from the Speech Manager distribution and
|
|
|
6 macspeechmodule.c in your python Modules directory.
|
|
|
7 3. Add the new module to python and build a new python.
|
|
|
8 4. Install the Speech Manager (under sys7 the extension goes in the
|
|
|
9 Extensions folder, the data file in the System folder) and reboot.
|
|
|
10 5. Try it.
|
|
|
11
|
|
|
12 The test program 'hum' does that, you type notes and it hums them
|
|
|
13 (badly, addmitted, but that isn't my fault really).
|
|
|
14
|
|
|
15 The test program 'grail' is more fun, but you need stdwin support for
|
|
|
16 it. It reads the script for the Holy Grail film from the file SCRIPT
|
|
|
17 and both animates it (text only:-) on the screen and reads it out the
|
|
|
18 speaker. It will use all voices available in the system.
|