Re: Emacspeak on Mac

  • From: Florian-achtige <florianbeijers@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Fri, 2 Sep 2011 19:50:43 +0200

Hi,

Reading back my emails from a while ago really makes me feel like I am
reading the ramblings of a whiny kid.  I appologize for my way of
asking questions and whining :D It almost makes me reluctant to ask
this next question :D
Since my upgrade to lion, all my .-files have gone poof. I have no
.bash_rc, .profile …that kind of thing. But strangely enough ,
~/.emacs does not exist either, according to my mac OS terminal. I
can't find it anywhere using spotlight and launchbar, not sure if
those can even find hidden files though.
In normal circumstances I would say this would have to make emacspeak
unable to load, because there is no load flag for emacspeak in the
.emacs file , but it loads just fine. SO …where could the file have
gone?
 Is there a way I can log where emacs is getting its initialisation
flags from? The .emacs appears to have been generated when building
emacs using brew's svn repo, it is emacs 24.0. The -q flag i removed
from the emacs file prior to reinstalling it all appears to have gone,
as well, for i can no longer save my settings. Does anyone have an
idea on how to find out where this file is located so i can make the
necessary edits to it?

Thanks a lot and once again my appologies,
Florian

2011/5/14, David Tseng <davidct1209@xxxxxxxxx>:
> He doesn't even need to do that (if he wanted to use espeak in the
> first place, which he doesn't).
>
> All the server is (in the case of espeak) is a tcl script that handles
> protocol commands from emacspeak using a read (via stdin) eval loop
> and passing off strings send from the espeak/emacs process containing
> specific control characters/commands to the espeak lib for tts
> rendering.  It doesn't require a compile in other words and the make
> file just deploys the server in the site-lisp/emacspeak/servers
> directory so emacspeak can find it.
>
> As for the espeak libs, you can find pre-compiled dylibs floating
> around of espeak though I can't atest to their functionality or
> reliability.  Someone else had wanted this over at the mv-dev list for
> VoiceOver (which requires a bit more work).
>
> On 5/13/11, DaShiell, Jude T.  CIV NAVAIR 1490, 1, 26
> <jude.dashiell@xxxxxxxx> wrote:
>> Right, the espeak binary package containing the espeak server and a
>> couple binaries probably isn't yet built.  To be absolutely sure, try:
>> Espeak " testing 1 2 3 4" <enter> and the stuff inside the quotes should
>> not speak if VoiceOver is toggled off when you do that.  If this is the
>> case, you'll need to configure and make espeak after you configure and
>> make portaudio since espeak will go looking for portaudio and when it
>> doesn't find it will throw rocks at your head.
>>
>> -----Original Message-----
>> From: programmingblind-bounce@xxxxxxxxxxxxx
>> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Florian
>> Beijers
>> Sent: Friday, May 13, 2011 15:09
>> To: programmingblind@xxxxxxxxxxxxx
>> Subject: Re: Emacspeak on Mac
>>
>> This message makes me think I can use eSpeak on the mac with emacspeak .
>> Is this true?
>> If so, I checked and there is indeed an eSpeak file in that directory
>> without a file extension, but running:
>> emacspeak -e
>>
>> gives the ' process speaker not running '  error which I have seen
>> before on linux when it was trying to pipe speech to a nonexistent
>> hardware synthesizer. So I know its there ...appears emacspeak does not
>> ;)
>>
>>
>> On May 13, 2011, at 6:38 PM, DaShiell, Jude T. CIV NAVAIR 1490, 1, 26
>> wrote:
>>
>>> See what happens when you type locate espeak >espeak.log in a terminal
>> window.  There should be some directory structure like
>> emacspeak-33/servers/espeak in that log file.  If so see if you can find
>> an espeak file with no file suffix on it in that directory.  If not,
>> then run make in that directory and see what happens.  If you get
>> errors, then you may need to edit the version of tcl and tclx in that
>> make file to match what's on your machine.  I had 8.5 on slackware 13.0
>> but that file says 8.4.  So I changed 8.4 to 8.5 and did the make and it
>> was successful.  I expect I'll be doing a make on a mac or two this
>> weekend so I'll know more after that.  By the way, emacspeak-34.0
>> Bubbles was just released earlier today.
>>>
>>> -----Original Message-----
>>> From: programmingblind-bounce@xxxxxxxxxxxxx
>> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Florian
>> Beijers
>>> Sent: Friday, May 13, 2011 11:44
>>> To: programmingblind@xxxxxxxxxxxxx
>>> Subject: Re: Emacspeak on Mac
>>>
>>> How do I find out what directory it is talking about? I have seen no
>> indication of it telling me.
>>> Also , how do I increase the speech rate? I tried changing the value
>> in the 'default mac speech rate'  field of customize without any visible
>> effect. I know the -q flag prevents me from saving but it didnt change
>> my current buffer either after hitting state, set.
>>>
>>> Thanks in advance,
>>> Florian
>>> On May 13, 2011, at 5:36 PM, DaShiell, Jude T. CIV NAVAIR 1490, 1, 26
>> wrote:
>>>
>>>> When emacspeak says specified program is a directory, you probably
>> need
>>>> to enter that directory and if you find a Makefile in that directory
>> run
>>>> make on it.  I had this happen in the emacspeak servers directory
>> until
>>>> I entered that directory and ran make and had a script built by make
>>>> then emacspeak started working on slackware 13.0 using portaudio 19
>> and
>>>> espeak.
>>>>
>>>> -----Original Message-----
>>>> From: programmingblind-bounce@xxxxxxxxxxxxx
>>>> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Florian
>>>> Beijers
>>>> Sent: Friday, May 13, 2011 11:16
>>>> To: programmingblind@xxxxxxxxxxxxx
>>>> Subject: Re: Emacspeak on Mac
>>>>
>>>> Hey,
>>>>
>>>> I am gradually learning my way around emacs and emacspeak. I have a
>> few
>>>> questions:
>>>> - What does it mean when the voice raises pitch?
>>>> - I have had it tell me "Specified program for new process is a
>>>> directory" ...Is that me doing something wrong or the program?
>>>> - How far can the voice it uses be sped up ?
>>>> - Do links make the voice speak lower like on linux? Working with the
>>>> emacspeak easy howto which gives me these facts, I am quite a newbie
>> to
>>>> emacs and emacspeak..
>>>>
>>>> Florian
>>>> On May 12, 2011, at 8:41 PM, Ken Perry wrote:
>>>>
>>>>> Grin well ask around I have miss typed my way through life.
>>>>>
>>>>> -----Original Message-----
>>>>> From: programmingblind-bounce@xxxxxxxxxxxxx
>>>>> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Florian
>>>> Beijers
>>>>> Sent: Thursday, May 12, 2011 2:33 PM
>>>>> To: programmingblind@xxxxxxxxxxxxx
>>>>> Subject: Re: Emacspeak on Mac
>>>>>
>>>>> Hehe,
>>>>>
>>>>> I am afraid that means YOU had a mistype . I copied that line from
>> the
>>>> email
>>>>> xd
>>>>>
>>>>> Thanks for clearing that up, I never work with svn so didnt know the
>>>>> direction scheme thats used by default. :D
>>>>>
>>>>> Florian
>>>>> On May 12, 2011, at 8:30 PM, Ken Perry wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> You have a miss type. It should be:
>>>>>>
>>>>>> svn co http://emacspeak.googlecode.com/svn/trunk emacspeak
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: programmingblind-bounce@xxxxxxxxxxxxx
>>>>>> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Florian
>>>>> Beijers
>>>>>> Sent: Thursday, May 12, 2011 2:26 PM
>>>>>> To: programmingblind@xxxxxxxxxxxxx
>>>>>> Subject: Re: Emacspeak on Mac
>>>>>>
>>>>>> It doesnt seem to work for me. When i try to run the svn co command
>> I
>>>> get
>>>>> :
>>>>>> svn: Unusable URI: it does not refer to this repository
>>>>>>
>>>>>> The command I enter is:
>>>>>> svn co http://emacspeak.googlecode.com/svntrunk emacspeak
>>>>>>
>>>>>>
>>>>>> Why does this happen and what can I do to fix?
>>>>>>
>>>>>> FLorianOn May 9, 2011, at 8:15 PM, Ken Perry wrote:
>>>>>>
>>>>>>> Grin I didn't use a mac before it because a better OS 10.5
>>>> definitely
>>>>>>> wasn't.  I can't wait for Lion now.  The sad part is I like all
>>>> three
>>>>> OS's
>>>>>>> now so I have to have a mac so I can run them legally.
>>>>>>>
>>>>>>> Ken
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: programmingblind-bounce@xxxxxxxxxxxxx
>>>>>>> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of David
>>>> Tseng
>>>>>>> Sent: Monday, May 09, 2011 2:09 PM
>>>>>>> To: programmingblind@xxxxxxxxxxxxx
>>>>>>> Subject: Re: Emacspeak on Mac
>>>>>>>
>>>>>>> Should work on 10.5 as long as you can get all the dependencies
>>>>>>> installed through Mac Ports (or home brew).
>>>>>>>
>>>>>>> 10.5 most definitely has the cocoa frameworks btw.
>>>>>>> On 5/9/11, Kerneels Roos <kerneels@xxxxxxxxx> wrote:
>>>>>>>> Thanks for this. Does it work on older, G4 Mac OSX 10.5 also?
>>>>>>>>
>>>>>>>> On 5/6/2011 7:06 PM, Ken Perry wrote:
>>>>>>>>> Emacspeak now works on Mac thanks to David.  I know he has
>> posted
>>>> here
>>>>>>>>> before but I have just recently set it up on 3 machines with a
>> bit
>>>> of
>>>>>>>>> Davids
>>>>>>>>> help so I thought I would post the steps.
>>>>>>>>>
>>>>>>>>> first if you don't have Mac ports go to the following link and
>>>> download
>>>>>>>>> the
>>>>>>>>> one for your platform:
>>>>>>>>>
>>>>>>>>> http://macports.org/install.php
>>>>>>>>>
>>>>>>>>> sometimes Mac ports doesn't update your profile so you need to
>> if
>>>> it
>>>>>>>>> doesn't.  You can check if it does just by typing port if it is
>>>> there
>>>>> it
>>>>>>>>> should give you some usage information.  If it doesn't work then
>>>> you
>>>>>> need
>>>>>>>>> to
>>>>>>>>> edit your .bash_profile file and add this line
>>>>>>>>>
>>>>>>>>> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
>>>>>>>>>
>>>>>>>>> That will make mac ports work right.  After that follow these
>>>> steps.
>>>>>>>>>
>>>>>>>>> #install emacs
>>>>>>>>> sudo port install emacs
>>>>>>>>>
>>>>>>>>> #install subversion
>>>>>>>>> sudo port install subversion
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> #get emacspeak repo from the  emacspeak trunk
>>>>>>>>> svn co http://emacspeak.googlecode.com/svntrunk emacspeak
>>>>>>>>>
>>>>>>>>> #change directories
>>>>>>>>> cd emacspeak
>>>>>>>>>
>>>>>>>>> #make the configure file
>>>>>>>>> make config
>>>>>>>>>
>>>>>>>>> #build emacspeak
>>>>>>>>> make emacspeak
>>>>>>>>>
>>>>>>>>> #install emacspeak
>>>>>>>>> sudo make install
>>>>>>>>>
>>>>>>>>> #add this line to your bash_profile
>>>>>>>>> export DTK_PROGRAM=mac
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Now close your terminal and relog in your all done run
>> emacspeak.
>>>>>>>>>
>>>>>>>>> thanks goes to David and everyone else in getting this to work.
>> I
>>>> know
>>>>>>>>> more
>>>>>>>>> changes are coming but this works great.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Ken
>>>>>>>>>
>>>>>>>>> __________
>>>>>>>>> View the list's information and change your settings at
>>>>>>>>> //www.freelists.org/list/programmingblind
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Kerneels Roos
>>>>>>>> Cell: +27 (0)82 309 1998
>>>>>>>> Skype: cornelis.roos
>>>>>>>>
>>>>>>>> __________
>>>>>>>> View the list's information and change your settings at
>>>>>>>> //www.freelists.org/list/programmingblind
>>>>>>>>
>>>>>>>>
>>>>>>> __________
>>>>>>> View the list's information and change your settings at
>>>>>>> //www.freelists.org/list/programmingblind
>>>>>>>
>>>>>>> __________
>>>>>>> View the list's information and change your settings at
>>>>>>> //www.freelists.org/list/programmingblind
>>>>>>>
>>>>>>
>>>>>> __________
>>>>>> View the list's information and change your settings at
>>>>>> //www.freelists.org/list/programmingblind
>>>>>>
>>>>>> __________
>>>>>> View the list's information and change your settings at
>>>>>> //www.freelists.org/list/programmingblind
>>>>>>
>>>>>
>>>>> __________
>>>>> View the list's information and change your settings at
>>>>> //www.freelists.org/list/programmingblind
>>>>>
>>>>> __________
>>>>> View the list's information and change your settings at
>>>>> //www.freelists.org/list/programmingblind
>>>>>
>>>>
>>>> __________
>>>> View the list's information and change your settings at
>>>> //www.freelists.org/list/programmingblind
>>>>
>>>> __________
>>>> View the list's information and change your settings at
>>>> //www.freelists.org/list/programmingblind
>>>>
>>>
>>> __________
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/programmingblind
>>>
>>
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/programmingblind
>>
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/programmingblind
>>
>>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
>
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

Other related posts: