>EMACSPEAK --Complete Audio Desktop

Next: , Previous: dectalk-voices, Up: Emacspeak Commands


11.3 dtk-speak

Commentary: Defines the TTS interface.

Automatically generated documentation for commands defined in module dtk-speak.

— Interactive Command: dtk-add-cleanup-pattern nil

control e d a

Add this pattern to the list of repeating patterns that are cleaned up. Optional interactive prefix arg deletes this pattern if previously added. Cleaning up repeated patterns results in emacspeak speaking the pattern followed by a repeat count instead of speaking all the characters making up the pattern. Thus, by adding the repeating pattern `.' (this is already added by default) emacspeak will say “aw fifteen dot” when speaking the string “...............” instead of “period period period period ”

— Interactive Command: dtk-async-server nil

control e d cap A

Select and start an async speech server interactively. Async servers allow external programs like self-voicing Web browsers to use the Emacspeak TTS server abstraction. Argument PROGRAM specifies the speech server program.

— Interactive Command: dtk-local-server nil

control e d cap L

Select and start an local speech server interactively. Local server lets Emacspeak on a remote host connect back via SSH port forwarding for instance. Argument PROGRAM specifies the speech server program. Port defaults to dtk-local-server-port

— Interactive Command: dtk-pause nil

control e p

Pause ongoing speech. The speech can be resumed with command `dtk-resume' normally bound to M-x dtk-resume. Pausing speech is useful when one needs to perform a few actions before continuing to read a large document. Emacspeak gives you speech feedback as usual once speech has been paused. `dtk-resume' continues the interrupted speech irrespective of the buffer in which it is executed. Optional PREFIX arg flushes any previously paused speech.

— Interactive Command: dtk-reset-state nil

control e d cap R

Restore sanity to the Dectalk. Typically used after the Dectalk has been power cycled.

— Interactive Command: dtk-resume nil

Not bound to any key.

Resume paused speech. This command resumes speech that has been suspended by executing command `dtk-pause' bound to C-e p. If speech has not been paused, and option `dtk-resume-should-toggle' is set, then this command will pause ongoing speech.

— Interactive Command: dtk-select-server nil

control e d d

Select a speech server interactively. Argument PROGRAM specifies the speech server program. When called interactively, The selected server is started immediately. Optional arg device sets up environment variable ALSA_DEFAULT to specified device before starting the server.

— Interactive Command: dtk-set-character-scale nil

control e d f

Set scale FACTOR for speech rate. Speech rate is scaled by this factor when speaking characters. Interactive PREFIX arg means set the global default value, and then set the current local value to the result.

— Interactive Command: dtk-set-chunk-separator-syntax nil

control e d RETURN

Interactively set how text is split in chunks. See the Emacs documentation on syntax tables for details on how characters are classified into various syntactic classes. Argument S specifies the syntax class.

— Interactive Command: dtk-set-language nil

Not bound to any key.

Set language according to the argument lang.

— Interactive Command: dtk-set-next-language nil

Not bound to any key.

Switch to the next available language

— Interactive Command: dtk-set-predefined-speech-rate nil

control e d 9 control e d 8 control e d 7 control e d 6 control e d 5 control e d 4 control e d 3 control e d 2 control e d 1 control e d 0

Set speech rate to one of nine predefined levels. Interactive PREFIX arg says to set the rate globally. Formula used is: rate = dtk-speech-rate-base + dtk-speech-rate-step * level.

— Interactive Command: dtk-set-preferred-language nil

Not bound to any key.

Set the alias of the preferred language: For example if alias="en" lang="en_GB", then the following call: dtk-set-language("en") will set "en_GB".

— Interactive Command: dtk-set-previous-language nil

Not bound to any key.

Switch to the previous available language

— Interactive Command: dtk-set-punctuations nil

control e d p

Set punctuation mode to MODE. Possible values are `some', `all', or `none'. Interactive PREFIX arg means set the global default value, and then set the current local value to the result.

— Interactive Command: dtk-set-punctuations-to-all nil

Not bound to any key.

Set punctuation mode to all. Interactive PREFIX arg sets punctuation mode globally.

— Interactive Command: dtk-set-punctuations-to-some nil

Not bound to any key.

Set punctuation mode to some. Interactive PREFIX arg sets punctuation mode globally.

— Interactive Command: dtk-set-rate nil

control e d r

Set speaking RATE for the tts. Interactive PREFIX arg means set the global default value, and then set the current local value to the result.

— Interactive Command: dtk-stop nil

control e s

Stop speech now.

— Interactive Command: dtk-toggle-allcaps-beep nil

control e d cap C

Toggle allcaps-beep. when set, allcaps words are indicated by a short beep. Interactive PREFIX arg means toggle the global default value, and then set the current local value to the result. Note that allcaps-beep is a very useful thing when programming. However it is irritating to have it on when reading documents.

— Interactive Command: dtk-toggle-capitalization nil

control e d c

Toggle capitalization. when set, capitalization is indicated by a short beep. Interactive PREFIX arg means toggle the global default value, and then set the current local value to the result.

— Interactive Command: dtk-toggle-debug nil

control e d b

Toggle state of the debug FLAG. When debugging is on, you can switch to the buffer *speaker* to examine the output from the process that talks to the speech device by using command C-e d C-M-b. Note: *speaker* is a hidden buffer, ie it has a leading space in its name.

— Interactive Command: dtk-toggle-punctuation-mode nil

control e d ,

Toggle punctuation mode between "some" and "all". Interactive PREFIX arg makes the new setting global.

— Interactive Command: dtk-toggle-quiet nil

control e d q

Toggles state of dtk-quiet. Turning on this switch silences speech. Optional interactive prefix arg causes this setting to become global.

— Interactive Command: dtk-toggle-speak-nonprinting-chars nil

control e d n

Toggle speak-nonprinting-chars. Switches behavior of how characters with the high bit set are handled. Interactive PREFIX arg means toggle the global default value, and then set the current local value to the result.

— Interactive Command: dtk-toggle-split-caps nil

control e d s

Toggle split caps mode. Split caps mode is useful when reading Hungarian notation in program source code. Interactive PREFIX arg means toggle the global default value, and then set the current local value to the result.

— Interactive Command: dtk-toggle-splitting-on-white-space nil

control e d SPACE

Toggle splitting of speech on white space. This affects the internal state of emacspeak that decides if we split text purely by clause boundaries, or also include whitespace. By default, emacspeak sends a clause at a time to the speech device. This produces fluent speech for normal use. However in modes such as `shell-mode' and some programming language modes, clause markers appear infrequently, and this can result in large amounts of text being sent to the speech device at once, making the system unresponsive when asked to stop talking. Splitting on white space makes emacspeak's stop command responsive. However, when splitting on white space, the speech sounds choppy since the synthesizer is getting a word at a time.

— Interactive Command: dtk-toggle-strip-octals nil

control e d o

Toggle stripping of octals. Interactive prefix arg means toggle the global default value, and then set the current local value to the result.