~ubuntu-branches/ubuntu/breezy/speech-dispatcher/breezy

« back to all changes in this revision

Viewing changes to src/cl/configuration.lisp

  • Committer: Bazaar Package Importer
  • Author(s): Milan Zamazal
  • Date: 2004-05-30 12:55:54 UTC
  • Revision ID: james.westby@ubuntu.com-20040530125554-iy8f3to3bw4cldv5
Tags: upstream-0.4.1
ImportĀ upstreamĀ versionĀ 0.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;;; Configuration variables
 
2
 
 
3
;; Author: Milan Zamazal <pdm@brailcom.org>
 
4
 
 
5
;; Copyright (C) 2004 Brailcom, o.p.s.
 
6
 
 
7
;; COPYRIGHT NOTICE
 
8
 
 
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.
 
13
 
 
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
 
17
;; for more details.
 
18
 
 
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.
 
22
 
 
23
 
 
24
(in-package :ssip)
 
25
 
 
26
 
 
27
(defvar *host* "localhost"
 
28
  "Name of the default host running speechd to connect to.")
 
29
 
 
30
(defvar *port* (or (ignore-errors
 
31
                     (car (read-from-string (getenv "SPEECHD_PORT"))))
 
32
                   6560)
 
33
  "Default port of speechd.")
 
34
 
 
35
 
 
36
(defvar *default-text-priority* :text
 
37
  "Default Speech Dispatcher priority of sent texts.")
 
38
 
 
39
(defvar *default-sound-priority* :message
 
40
  "Default Speech Dispatcher priority of sent sound icons.")
 
41
 
 
42
(defvar *default-char-priority* :notification
 
43
  "Default Speech Dispatcher priority of sent single letters.")
 
44
 
 
45
 
 
46
(defvar *connection-parameters* '()
 
47
  "Alist of connection names and their parameters.
 
48
 
 
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.
 
56
 
 
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.
 
60
 
 
61
The message-priority parameter has a special meaning: It overrides priority of
 
62
all messages sent through the connection.
 
63
 
 
64
You must reopen the connections to apply the changes to this variable.")