Hallo, im Anhang meine config.
ich frag mich echt, warum mein brass nach dieser konfiguration immer noch nicht funktioniert.
Hier ist das Konfig. vielleicht kennt sich da jemand aus:
# Example for a configuration file. # $Id: config,v 1.6 2004/03/10 20:47:20 butenuth Exp $
# Definition of Braille tables for text and attributes:
# Brass expects these files in /etc/brass. For a different # location specify the full path. text_table = "/etc/brass/text.german.tbl" attrib_table = "/etc/brass/attrib.tbl"
# Device files for screen and keyboard handling console_dev = "/dev/console" vcsa_dev = "/dev/vcsa0" tty_dev = "/dev/tty0"
# Braille driver definitions. # The entry "driver" specifies the library to load. # All other entries are driver dependent
# Dummy driver for systems without Braille terminal. NoBraille = braille { driver = "/usr/lib/brass/nobraille.so" }
# All Alva ABT models connected to the serial port. Alva = braille { driver = "/usr/lib/brass/alva.so" device = "/dev/ttyS0" # serial port # model = "Auto" # Autodetection of model. This works only # with new firmware and a correct null # modem cable. model = "ABT340" # one out of "ABT320", # "ABT340", "ABT340 Desktop", # "ABT380", "ABT380 Desktop" firmware = "new" # 95/04/01 or newer # firmware = "old" # older than 95/04/01 }
# BrailleLite, connected to the serial port. # Internal speech of BrailleLite is currently not supported.
BrailleLite = braille { driver = "/usr/lib/brass/braille_lite.so" device = "/dev/ttyS0" # serial port # model = "BL18" model = "BL40" }
# Papenmeier 2D Papenmeier = braille { driver = "/usr/lib/brass/papenmeier.so" device = "/dev/ttyS0" # serial port }
# Combi Braille 25, 45, 85 CombiBraille = braille { driver = "/usr/lib/brass/combibraille.so" device = "/dev/ttyS0" # serial port }
TSI = braille { driver = "/usr/lib/brass/tsi.so" device = "/dev/ttyS0" # serial port }
VarioHT = braille { driver = "/usr/lib/brass/Vario-HT.vario.so" device = "/dev/ttyS0" # serial port }
# Synthesizer definitions. # Every synthesizer needs at least two entries: # - library: Full path of the synthesizer library # - language: The language this synthesizer can synthesize # All other entries are synthesizer dependent.
# The software synthesizer, configured for English. Meaning of the # variables: # - phoneme_generator_directory: Directory where the phoneme generator # runs. Softspeech changes to this directory before starting the # program. # - phoneme_generator_command: Command line for the phoneme generator. # - synthesizer_directory: Directory where the synthesizer is started. # - synthesizer_command: command line for the synthesizer.
Softspeech_en = synthesizer { library ="/usr/lib/brass/softspeech.so" language = "english" phoneme_generator_directory = "/usr/lib/mbrola4sbl/freephone" phoneme_generator_command = "src/freephone -h lib/lexicon" synthesizer_directory = "/usr/lib/mbrola4sbl/mbrola" synthesizer_command = "./mbrola -e voices/en1 - -" samples_per_second = 16000 }
# The software synthesizer, configured for German:
Softspeech_de = synthesizer { library ="/usr/lib/brass/softspeech.so" language = "german" phoneme_generator_directory = "/usr/lib/mbrola4sbl/txt2pho" phoneme_generator_command = "./txt2pho -p data/ -m" synthesizer_directory = "/usr/lib/mbrola4sbl/mbrola" synthesizer_command = "./mbrola -e voicesde2 - -" samples_per_second = 16000 }
# IBM Viavoice, configured for US English Viavoice_en = synthesizer { library ="/usr/lib/brass/viavoice.so" language = "english" pthreads = "/lib/libpthread.so.0" viavoice = "/usr/lib/libibmeci50.so" }
# IBM Viavoice, configured for US English Viavoice_de = synthesizer { library ="/usr/lib/brass/viavoice.so" language = "german" pthreads = "/lib/libpthread.so.0" viavoice = "/usr/lib/libibmeci50.so" }
# The dummy synthesizer, configured for English Dummy_en = synthesizer { library = "/usr/lib/brass/dummy_synth.so" language = "english" }
# The dummy synthesizer, configured for German. Dummy_de = synthesizer { library = "/usr/lib/brass/dummy_synth.so" language = "german" }
# Dolphin Apollo Dolphin_de = synthesizer { library = "/usr/lib/brass/dolphin.so" language = "german" device = "/dev/ttyS0" # serial port }
Dolphin_en = synthesizer { library ="/usr/lib/brass/dolphin.so" language = "english" device = "/dev/ttyS0" # serial port }
Infovox_de = synthesizer { library ="/usr/lib/brass/infovox.so" language = "german" device = "/dev/ttyS0" # serial port }
# Select a Braille driver and the two synthesizers for English and # German. When you want to use only one language, you must load the # dummy synthesizer for the other language.
braille_driver = NoBraille synth_driver_en = Softspeech_en synth_driver_de = Softspeech_de
# # Profiles for various programs #
profile "default" { setup_language = 1 # German setup_speech = 1 # speech on setup_echo_input = 1 # read keyboard input
setup_braille_attribute_mode = 0 setup_braille_cursor_visible = 1 setup_braille_cursor_blinking = 1 setup_braille_caps_blinking = 0 setup_braille_attributes_blinking = 0 setup_braille_cursorsize = 1 # 1 = block, 0 = underline setup_braille_sliding_window = 0 setup_braille_skip_identical_lines = 1 setup_braille_cursor_on = 20 # in 1/10 second setup_braille_cursor_off = 20 setup_braille_caps_on = 8 setup_braille_caps_off = 4 setup_braille_attribute_on = 4 setup_braille_attribute_off = 24
setup_speech_english_speed = 1400 # 1000 is "normal" setup_speech_english_volume = 1000 setup_speech_english_pitch = 1000 setup_speech_english_punctuation = 0
setup_speech_german_speed = 1400 setup_speech_german_volume = 1000 setup_speech_german_pitch = 1000 setup_speech_german_punctuation = 0 setup_word_search_left = 0 setup_word_search_right = 0
# system_cursor(start_row, start_col, end_row, end_col) # Positive values are from top / left border (upper left corner # has coordinates [0, 0]). Negative values are from bottom / right. # (lower right corner has coordinates [-1, -1]). system_cursor(0, 0, -1, -1) # whole screen
# a simple replacement: # replace(german, "bla", "blubb") # a more complicated one, with a regular expression and a replacement # list: The first subexpression "(Perd)" is used in the replacement # list. The list is a sequence from strings and indexes of subexpressions. # The subexpression with index 0 is the whole expression. # replace(german, "a(Pferd)+", { "Katze", 1 }) }
profile "emacs" extends "default" { inherit_cursors()
setup_word_search_left = 1 setup_word_search_right = 0 }
profile "pine" extends "default" { # attribute_cursor(start_row, start_col, end_row, end_col, # attribute [, mask]) # A mask is optional. No mask is the same as 0, which means all bits # are checked. # Search for inverse line, ignore first line and three lower lines. attribute_cursor(1, 0, -4, -1, 112) # system_cursor(start_row, start_col, end_row, end_col) system_cursor(0, 0, -1, -5) inherit_replacements() }
ich hab überprüft, ob mbrola dort ist, txt2pho und freephone sind auch dort, die ganzen braillezeilentreiber sind am richtigen ort etc. und irgendwie haut das einfach nicht hin. brass gibt auch keine fehler beim start aus. wär vielleicht ein nützliches feature.
Mit freundlichen Grüßen Jürgen