mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
small changes by Soren Larsen
This commit is contained in:
parent
a8a8d4aadd
commit
6bb1adc7ee
62 changed files with 394 additions and 406 deletions
|
@ -4,18 +4,18 @@
|
|||
\renewcommand{\indexsubitem}{(in module macspeech)}
|
||||
|
||||
This module provides an interface to the Macintosh Speech Manager,
|
||||
allowing you to let the macintosh utter phrases. You need a version of
|
||||
allowing you to let the Macintosh utter phrases. You need a version of
|
||||
the speech manager extension (version 1 and 2 have been tested) in
|
||||
your \code{Extensions} folder for this to work. The module does not
|
||||
provide full access to all features of the Speech Manager yet.
|
||||
|
||||
\begin{funcdesc}{Available}{}
|
||||
Test availability of the Speech Manager extension (and, on the
|
||||
PowerPC, the Speech Manager shared library). Returns 0 or 1.
|
||||
PowerPC, the Speech Manager shared library). Return 0 or 1.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{Version}{}
|
||||
Return the (integer) version of the Speech Manager.
|
||||
Return the (integer) version number of the Speech Manager.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{SpeakString}{str}
|
||||
|
@ -43,7 +43,7 @@ yet possible to access the parameters of a voice.
|
|||
\renewcommand{\indexsubitem}{(voice object method)}
|
||||
|
||||
\begin{funcdesc}{GetGender}{}
|
||||
Return the gender of the voice: 0 for male, 1 for female and -1 for neuter.
|
||||
Return the gender of the voice:\ 0 for male, 1 for female and $-1$ for neuter.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{NewChannel}{}
|
||||
|
@ -54,7 +54,7 @@ Return a new speech channel object using this voice.
|
|||
A speech channel object allows you to speak strings with slightly more
|
||||
control than \code{SpeakString()}, and allows you to use multiple
|
||||
speakers at the same time. Please note that channel pitch and rate are
|
||||
interrelated in some way, so that to make your macintosh sing you will
|
||||
interrelated in some way, so that to make your Macintosh sing you will
|
||||
have to adjust both.
|
||||
|
||||
\renewcommand{\indexsubitem}{(speech channel object method)}
|
||||
|
@ -67,7 +67,7 @@ Stop babbling.
|
|||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{GetPitch}{}
|
||||
Returns the current pitch of the channel, as a floating-point number.
|
||||
Return the current pitch of the channel, as a floating-point number.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{SetPitch}{pitch}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue