>EMACSPEAK --Complete Audio Desktop

Next: , Previous: cd-tool, Up: Emacspeak Commands


11.2 dtk-speak

Commentary: Defines the TTS interface.

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

— Interactive Command: dtk-add-cleanup-pattern (&optional DELETE)

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-notes-shutdown ()

Shutdown midi system.

— Interactive Command: dtk-pause (&optional PREFIX)

control e p

Pause ongoing speech. The speech can be resumed with command `dtk-resume' normally bound to C-e SPC. 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 ()

control e d cap R

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

— Interactive Command: dtk-resume ()

control e SPACE

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 (PROGRAM)

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.

— Interactive Command: dtk-set-character-scale (FACTOR &optional PREFIX)

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 (S)

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 (LANG)

Set language according to the argument lang.

— Interactive Command: dtk-set-next-language ()

Switch to the next available language

— Interactive Command: dtk-set-predefined-speech-rate (&optional PREFIX)

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 (ALIAS LANG)

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 ()

Switch to the previous available language

— Interactive Command: dtk-set-punctuations (MODE &optional PREFIX)

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 (&optional PREFIX)

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

— Interactive Command: dtk-set-punctuations-to-some (&optional PREFIX)

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

— Interactive Command: dtk-set-rate (RATE &optional PREFIX)

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 ()

<pause> control e s

Stop speech now.

— Interactive Command: dtk-toggle-allcaps-beep (&optional PREFIX)

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 (&optional PREFIX)

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 (&optional PREFIX)

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 (&optional PREFIX)

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

— Interactive Command: dtk-toggle-quiet (&optional PREFIX)

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 (&optional PREFIX)

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 (&optional PREFIX)

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 ()

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-stop-immediately-while-typing (&optional PREFIX)

control e d cap I

Toggle state of variable `dtk-stop-immediately-while-typing'. As the name implies, if T then speech flushes immediately as you type. Optional argument PREFIX specifies if the setting applies to all buffers.

— Interactive Command: dtk-toggle-strip-octals (&optional PREFIX)

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.