TDSR
This is a console-based screen reader.
It has been tested under macOS and Linux.
It might also run on FreeBSD and other *nix systems, but this hasn't been tested.
What works
- Reading output
- Reading by line, word and character
- cursor keys (waits some amount of time and speaks)
Note
Compatibility is not guaranteed between versions.
Requirements
- Python 3
- pyte
- speech server
Installation on macOS
- Install Python 3. If using Homebrew,
brew install python3
. - Clone this repository.
git clone https://github.com/tspivey/tdsr.git
- cd tdsr
- pip3 install -Ur requirements.txt
- Assuming the repository is in
~/tdsr
, run:
~/tdsr/tdsr
and it should start speaking.
Installation on Linux
- Install Python 3 and Speech Dispatcher. They should be available from your package manager.
You may also need to install Speech Dispatcher's Python bindings, if they were packaged separately by your distro. - Follow the rest of the instructions for Mac OS X, starting with "Clone this repository".
Terminal setup
Open Terminal preferences, under Profiles check Use Option as Meta key.
Keys
(alt refers to the meta key.)
- alt u, i, o - read previous, current, next line
- alt j, k, l - read previous, current, next word
- alt m, comma, dot - read previous, current, next character
- alt k twice - spell current word
- alt comma twice - say current character phonetically
- alt c - config.
- alt q - quiet mode on/off. When on, text is not automatically read.
- alt r - start/end selection.
- alt v - copy mode. Press l to copy the line the review cursor is on, or s to copy the screen.
Configuration
Once in the config menu, you can use:
- r - set rate.
- v - set volume (value between 0 and 100).
- p - toggle symbol processing.
- d - set cursor delay (in MS). The default is 20.
- l - Toggle pausing at newlines.
- Enter - exit, saving the configuration.
Symbols
Symbols can be added in the configuration file (~/.tdsr.cfg
),
under the symbols section.
The format is:
character code = name
Because of how the config system works, it's best to do this with one TDSR open, then exit and re-launch to see the changes.
License
Copyright (C) 2016, 2017 Tyler Spivey
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.