Sean Peters | 3 Nov 19:20 2007

problems compiling the emacspeak server for ttsynth


Hello,

Don Raikes writes:
 > <snip>
 > Now I am having problems getting the emacspeak server for ttsynth to compile.
 > <snip>
Is ttsynth the new name for viavoice / outloud?
Assuming you're trying to build atcleci.so in emacspeak/servers/linux-outloud,
this is what worked for me (using debian stable/unstable mix and emacspeak from svn):
CFLAGS="-I /usr/include/tcl8.4/ -g -O2 -fPIC  -DPIC -ansi -Wall"
LIBS="-ltcl8.4 -ldl"
make atcleci.so LIBS="$LIBS" CFLAGS="$CFLAGS"

To fix the Makefile,
CFLAGS needs -I /usr/include/tcl8.4/ added and -pedantic removed (well, i suppose the real cause should
be fixed really, but i don't know what that is).
LIBS needs -ltcl changed to -ltcl8.4

Sean

Lukas Loehrer | 5 Nov 10:09 2007
Picon
Picon

Re: problems compiling the emacspeak server for ttsynth

Sean Peters writes ("problems compiling the emacspeak server for ttsynth"):
> CFLAGS needs -I /usr/include/tcl8.4/ added and -pedantic removed
> (well, i suppose the real cause should be fixed really, but i don't
> know what that is).

What exact version of g++ are you using? I am on Debian too and cannot
reproduce the problem.

Best regards, Lukas

Sean Peters | 5 Nov 18:03 2007

Re: problems compiling the emacspeak server for ttsynth

Lukas Loehrer writes:
 > Sean Peters writes ("problems compiling the emacspeak server for ttsynth"):
 > > CFLAGS needs -I /usr/include/tcl8.4/ added and -pedantic removed
 > > (well, i suppose the real cause should be fixed really, but i don't
 > > know what that is).
 > 
 > What exact version of g++ are you using? I am on Debian too and cannot
 > reproduce the problem.

$ g++ -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang
--prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr
--with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

$ dpkg -l tcl8.4-dev g++
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                     Version                  Description
+++-========================-========================-================================================================
ii  g++                      4.1.1-15                 The GNU C++ compiler
ii  tcl8.4-dev               8.4.12-1.1               Tcl (the Tool Command Language) v8.4 - development files

With the -pedantic left in, i get:
(Continue reading)

Don Raikes | 8 Nov 02:56 2007

compiling the ttsynth server on fedora core 6

Hi all,
 
Well,  I finally got the ttsynth server to compile it took a little playing but the atcleci.so file was created just fine.
 
Now I have another problem. When I go to the servers directory and try to run ./outloud, I get more errors.
 
I already changed the first line to use tclsh since I ahve tcl-8.4 installed and I added the line
package requires Tclx as well.
 
However, I get the following messages:
 
Could not open text-to-speech engine
    while executing
"load $tclTTS/atcleci.so"
    invoked from within
"if {[file exists /usr/include/alsa/asoundlib.h]
    && [file exists  $tclTTS/atcleci.so]} {
    load $tclTTS/atcleci.so
    proc closeDSP {} {
       ..."
    (file "./outloud" line 487)
Language Library not opened: enu50.so: cannot open shared object file: No such file or directory
 
I checked the TTSynthServer is there, and is executable.
 
Any suggestions appreciated.
Lukas Loehrer | 8 Nov 12:30 2007
Picon
Picon

Re: compiling the ttsynth server on fedora core 6

Locate the file enu50.so on your system and add the directory to the
LD_LIBRARY_PATH environment variable. If this fixes the problem, you
can permenantly get it to work by adding the directory to the file

/etc/ld.so.conf

and running ldconfig.

Best regards, Lukas

Don Raikes writes ("compiling the ttsynth server on fedora core 6"):
> Hi all,
> 
> Well,  I finally got the ttsynth server to compile it took a little playing but the atcleci.so file was
created just fine.
> 
> Now I have another problem. When I go to the servers directory and try to run ./outloud, I get more errors.
> 
> I already changed the first line to use tclsh since I ahve tcl-8.4 installed and I added the line
> package requires Tclx as well.
> 
> However, I get the following messages:
> 
> Could not open text-to-speech engine
>     while executing
> "load $tclTTS/atcleci.so"
>     invoked from within
> "if {[file exists /usr/include/alsa/asoundlib.h]
>     && [file exists  $tclTTS/atcleci.so]} {
>     load $tclTTS/atcleci.so
>     proc closeDSP {} {
>        ..."
>     (file "./outloud" line 487)
> Language Library not opened: enu50.so: cannot open shared object file: No such file or directory
> 
> I checked the TTSynthServer is there, and is executable.
> 
> Any suggestions appreciated.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> <META content="MSHTML 6.00.6000.16544" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>Well,&nbsp; I finally got the ttsynth server to 
> compile it took a little playing but the atcleci.so file was created just 
> fine.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>Now I have another problem. When I go to the 
> servers directory and try to run ./outloud, I get more errors.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>I already changed the first line to use tclsh since 
> I ahve tcl-8.4 installed and I added the line</FONT></DIV>
> <DIV><FONT face=Arial size=2>package requires Tclx as well.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>However, I get the following messages:</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>Could not open text-to-speech 
> engine<BR>&nbsp;&nbsp;&nbsp; while executing<BR>"load 
> $tclTTS/atcleci.so"<BR>&nbsp;&nbsp;&nbsp; invoked from within<BR>"if {[file 
> exists /usr/include/alsa/asoundlib.h]<BR>&nbsp;&nbsp;&nbsp; &amp;&amp; [file 
> exists&nbsp; $tclTTS/atcleci.so]} {<BR>&nbsp;&nbsp;&nbsp; load 
> $tclTTS/atcleci.so<BR>&nbsp;&nbsp;&nbsp; proc closeDSP {} 
> {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ..."<BR>&nbsp;&nbsp;&nbsp; (file 
> "./outloud" line 487)<BR>Language Library not opened: enu50.so: cannot open 
> shared object file: No such file or directory</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>I checked the TTSynthServer is there, and is 
> executable.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>Any suggestions 
> appreciated.</FONT></DIV></BODY></HTML>

Zachary Kline | 9 Nov 22:21 2007

Greetings and questions

Hi,
My name is Zachary Kline, and I'm currently a computer science major at 
Oregon State University.  I used to be subscribed to the Emacspeak list 
some months ago, but have since lost touch with it somewhat.  I figured I 
should perhaps check back into it now, especially since I'm in a field 
which will require me to do some work with programming and Linux, for 
which Emacspeak seems quite suited.
I do have a couple questions.  One which is of some immediate concernto 
me is about math, or specifically the rendering of such in Emacspeak.  A 
problem for me this term, though admittedly not an unconquerable one, has 
been getting math to professors in a format they can understand and I can 
make use of as well.  I can use Latex for such work, and do like doing so, 
however I've also heard of ASSTR, which Mr. Raman developed for his PHD.
Is this integrated into Emacspeak at all?  Or is support for MathML or 
other such formats possible, if not already done?
Any advice on this would be greatly appreciated.
All the best, and good to be back,
Zack.

Kalyan Mukherjea | 10 Nov 07:44 2007
Picon

Greetings and questions

Hi Zack,

As far as I know Aster was a system which rendered Math rendered in
LaTeX  into speech using a hardware speech synth. I read a web article
on this (written by one of the faculty members at Cornell where Raman
did his doctorate) and I think that some though not all of its
features have been incorporated into Emacspeak.

I seem to have the impression that Aster received a LaTeX file as
input and produced an audio output file.

I myself use Emacspeak all the time since I am a blind  and retired
math Professor. Using Emacspeak + AAucTeX I have written 300 page
textbooks of math and I am sure that 
to satisfy your  professors at Korvallis   you need to only worry
about the mathematical aspects of what you are presenting. Emacspeak
(even with a software synth which does not accomodate voice locking)
is powerful enough to produce perfectly executed  LaTeX documents. 
What I mean is that the LaTeXnique can  be perfect; the math could, of
cours, still be refutable!

If you wish to get further tips on how to customize Emacspeak for math
and my private cheat codes for tracking down and eliminating LaTeX
errors, write to me offlist since what I will have to say is not
really pertinent to Emacspeak.

Cheers.
Kalyan 

Zachary Kline writes:

 > however I've also heard of ASSTR, which Mr. Raman developed for his PHD.
 > Is this integrated into Emacspeak at all?  Or is support for MathML or 
 > other such formats possible, if not already done?
 > Any advice on this would be greatly appreciated.
 > All the best, and good to be back,
 > Zack.
 > 
 > -----------------------------------------------------------------------------
 > To unsubscribe from the emacspeak list or change your address on the
 > emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a
 > subject of "unsubscribe" or "help"
 > 

Alastair Irving | 13 Nov 10:57 2007
Picon

Re: Greetings and questions


All

This seems like a sensible point to mention a project I'm working on,
LaTeX-access:
http://latex-access.sourceforge.net

The idea for this came in part from Dr Raman's aster project. Basically,
the project consists of a set of python scripts which translate a line
of LaTeX code into nemeth braille and english speech. I find this helps
grately when doing lots of mathematical work, as fractions etc in LaTeX
are very tedious to listen to.  Currently there is only integration with
jaws under windows, but I'm very keen to move into linux.  

My knowledge of emacs lisp is nonexistant and I don't currently have the
time to seriously learn it, so I won't be able to experiment with
emacspeak integration in the near future.  However, if any list member
with the necessary lisp skills is interested, I'd be very happy to work
with you to see what can be done.  

Alastair Irving

-----Original Message-----
From: Kalyan Mukherjea [mailto:kalyan.infinity <at> gmail.com] 
Sent: 10 November 2007 06:44
To: Zachary Kline
Cc: emacspeak <at> cs.vassar.edu
Subject: Greetings and questions

Hi Zack,

As far as I know Aster was a system which rendered Math rendered in
LaTeX  into speech using a hardware speech synth. I read a web article
on this (written by one of the faculty members at Cornell where Raman
did his doctorate) and I think that some though not all of its features
have been incorporated into Emacspeak.

I seem to have the impression that Aster received a LaTeX file as input
and produced an audio output file.

I myself use Emacspeak all the time since I am a blind  and retired math
Professor. Using Emacspeak + AAucTeX I have written 300 page textbooks
of math and I am sure that 
to satisfy your  professors at Korvallis   you need to only worry
about the mathematical aspects of what you are presenting. Emacspeak
(even with a software synth which does not accomodate voice locking) is
powerful enough to produce perfectly executed  LaTeX documents. 
What I mean is that the LaTeXnique can  be perfect; the math could, of
cours, still be refutable!

If you wish to get further tips on how to customize Emacspeak for math
and my private cheat codes for tracking down and eliminating LaTeX
errors, write to me offlist since what I will have to say is not really
pertinent to Emacspeak.

Cheers.
Kalyan 

Zachary Kline writes:

 > however I've also heard of ASSTR, which Mr. Raman developed for his
PHD.  > Is this integrated into Emacspeak at all?  Or is support for
MathML or 
 > other such formats possible, if not already done?
 > Any advice on this would be greatly appreciated.
 > All the best, and good to be back,
 > Zack.
 > 
 >
------------------------------------------------------------------------
-----
 > To unsubscribe from the emacspeak list or change your address on the
> emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a 
> subject of "unsubscribe" or "help"  >

------------------------------------------------------------------------
-----
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a
subject of "unsubscribe" or "help"

Zachary Kline | 15 Nov 19:30 2007

Lack of feedback with Google signin?

Hi,
        I was wondering what sort of feedback I'm supposed to get using the glogin.xml form.  I've submitted it
several times, and got no indication of either successful signin or unsuccessful.
My attempts to switch to Gmail have met with failure, or at least W3 prompting me to sign in again...
Am I doing something wrong here?
Thanks,
Zack.

T. V. Raman | 16 Nov 23:53 2007
Picon

[emacspeak The Complete Audio Desktop] AxsJAX, Speech-Enabled Games And Audit...

This is not part of Emacspeak, but is relevant to emacspeak users given that:

  • Speech-enabled games have proven to be a successful means of discovering AUI techniques that work, beginning with the speech-enabled version of Tetris.
  • The emerging Emacs to Firefox connection using module emacspeak-moz.el and mozrepl
  • The ability to run Fire Vox with the Emacspeak speech servers --- look for a blog post on that soon.

Charles Chen and I recently released a JavaScript powered framework for access-enabling AJAX applications --- see AxsJAX. Along with access-enabling useful applications such as Google WebSearch and Google Reader, we also access-enabled JawBreaker, a popular game much in the spirit of Tetris --- but without a ticking clock. See AxsJAX showcase for pointer to this and other Web-2.0 applications that have been AxsJaxed.



--
Posted By T. V. Raman to emacspeak The Complete Audio Desktop at 11/16/2007 02:53:00 PM

Gmane