5. Configurable Settings

5.1. Perk Settings
5.2. Device Settings
5.3. System Settings
5.4. Other Settings

Perks, devices, and the LSR platform itself may define settings that can be configured by a user in the settings chooser (see Section 4.1, “Settings Chooser”). The settings are defined as programmatic variables with metadata indicating its type, its human readable name, and its extended help description. The settings dialog uses this information to populate its graphical user interface with controls for manipulating the available settings.

5.1. Perk Settings

The following tables list the settings defined by the ReviewPerk and the BasicSpeechPerk. The setting names, descriptions, type, and default values are given.

Table 7. Settings for the ReviewPerk

NameDescriptionTypeDefault
Skip empty itemsWhen set to always, review functions silently skip over items without any text. When set to Never, the review functions stop on items with no text. When set to Report, the review functions skip over items without any text, but signal the skip so other Perks can notify the user.choicereport
Review invisible itemsWhen set, review traverses items not visible on the screen. Otherwise, review walks visible items only.booleanfalse
Wrap pointerWhen set, review by word or character crosses item boundaries. Otherwise, first and last are announced at item boundaries.booleantrue

Table 8. Settings for the BasicSpeechPerk

NameDescriptionTypeDefault
Echo wordsWhen set, entire words are spoken when editing text.booleanfalse
Echo charactersWhen set, individual characters are spoken when editing text.booleantrue
Always say roleWhen set, widget roles are always spoken. Otherwise, roles are announced only when a new type of widget is encountered.booleanfalse

5.2. Device Settings

The following tables list the settings common to all serial output devices, specific to audio device, and specific to Braille devices. The setting names, descriptions, type, and default values are given.

A given device may support any subset of these settings depending on its capabilities. It may also allow the user to change these settings globally for the device or per semantic tag. In the latter case, a setting may be exposed relative to the global value for the device.

Table 9. Settings common to all serial output devices

NameDescriptionTypeDefault
Cap prefixText to insert before capital letters.string 
Preserve capsWhen set, capital letters are differentiated from their lowercase equivalents.boolean 
Ignore charactersCharacters to treat as blanks.string 
Maximum repeatThe minimum number of subsequent repeated characters required before a word or item is shortened.integer range4
Word definitionDefines what constitutes a word for output processing. Non-blank includes all characters up to a blank. Alphanumeric and punct. includes all characters up to the first character that is not a letter, number, or punctuation mark. Alphanumeric includes all letters and numbers up to the first non-letter or non-number. Alphabetic includes all letters up to a non-letter.string choiceNon-blank

[Tip]Tip

Cap prefix and maximum repeat are not supported.

Table 10. Settings common to audio output devices

NameDescriptionTypeDefault
VoiceName of a pre-defined text-to-speech synthesizer voice.string choice(engine dependent)
VolumeVolume as a percentage of total volume.percent range90%
RateSpeech rate.integer range(engine dependent)
PitchVoice fundamental pitch.integer range(engine dependent)
GenderVoice gender.string choice(voice dependent)
AspirationVoice breathiness or airiness.integer range(voice dependent)
FricationVoice harshness or clickiness.integer range(voice dependent)
IntonationVoice tone variation.integer range(voice dependent)
Head sizeVoice reverberation.integer range(voice dependent)
ChannelAudio channel number. All audio within a channel is output serially while audio across channels is output in parallel.integer0
PositionThree-dimensional spatial position of channel with x,z in azimuth and y in elevation.integer tuple(0, 0, 0)
InstrumentMIDI instrument used for playing non-speech sound.string choiceAcoustic grand piano
LanguageLanguage and locale of the voice to use for speech synthesis.string choice(engine dependent)
Expand numbersWhen set, inserts spaces before numbers causing them to be read individually.booleanfalse
Expand capsWhen set, inserts spaces before capital letters causing them to be read individually.booleantrue
Blank stringString to speak to represent a blank or ignored character.stringblank
StoppableWhen set, output can be stopped.booleantrue
Mute speechWhen set, prevents all speech output.booleanfalse
Mute non-speechWhen set, prevents all non-speech sound output.booleanfalse
MutePrevent all audio output.booleanfalse
ContinuousLoop all audio output.booleanfalse
Say all punctuationWhen set, all punctuation will be spoken. Otherwise, only punctuation deemed important by the speech engine will be pronounced.false 
Spelling formatDescribes how words should be output. Text indicates all characters in the word are output without spelling. Pronounce means all punctuation characters in the word are spelled. Spell means all characters in the word are spelled. Phonetic means all characters in the word are spelled using the NATO phonetic alphabet.string choiceText

5.3. System Settings

The following table list the settings specific to the LSR platform itself. The setting names, descriptions, type, and default values are given. These options are available for developers and advanced users.

Table 11. Settings for the LSR platform

NameDescriptionTypeDefault
Announce script exceptionsWhen set, important Perk exceptions will be announced on output devices.booleantrue
Allow automatic stopsWhen set, script events interrupt output as expected. Otherwise, script stops are ignored and all output is queued without interruption.booleantrue

5.4. Other Settings

Custom Perks may define settings specific to their operation. This document only covers the settings defined by the core Perks. Additional settings are described in the Linux Screen Reader User's Guide.

Generated 2007/05/14 10:49:44-05:00

Copyright © 2006, 2007 IBM