1
;;; Configuration variables
3
;; Author: Milan Zamazal <pdm@brailcom.org>
5
;; Copyright (C) 2004 Brailcom, o.p.s.
9
;; This program is free software; you can redistribute it and/or modify
10
;; it under the terms of the GNU General Public License as published by
11
;; the Free Software Foundation; either version 2 of the License, or
12
;; (at your option) any later version.
14
;; This program is distributed in the hope that it will be useful, but
15
;; WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16
;; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19
;; You should have received a copy of the GNU General Public License
20
;; along with this program; if not, write to the Free Software
21
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
27
(defvar *host* "localhost"
28
"Name of the default host running speechd to connect to.")
30
(defvar *port* (or (ignore-errors
31
(car (read-from-string (getenv "SPEECHD_PORT"))))
33
"Default port of speechd.")
36
(defvar *default-text-priority* :text
37
"Default Speech Dispatcher priority of sent texts.")
39
(defvar *default-sound-priority* :message
40
"Default Speech Dispatcher priority of sent sound icons.")
42
(defvar *default-char-priority* :notification
43
"Default Speech Dispatcher priority of sent single letters.")
46
(defvar *connection-parameters* '()
47
"Alist of connection names and their parameters.
49
Each element of the list is of the form (CONNECTION-NAME . PARAMETERS), where
50
CONNECTION-NAME is a connection name as expected to be in `speechd-client-name'
51
and PARAMETERS is a property list with the pairs of parameter identifiers and
52
parameter values. Valid parameter names are the following symbols:
53
language, message-priority, punctuation-mode, capital-character-mode, voice,
54
rate, pitch, output-module. See the corresponding speechd-set-* functions for
55
valid parameter values.
57
If the symbol t is specified as the connection name, the element defines
58
default connection parameters if no connection specification applies. Only one
59
such an element is allowed in the whole alist.
61
The message-priority parameter has a special meaning: It overrides priority of
62
all messages sent through the connection.
64
You must reopen the connections to apply the changes to this variable.")