Commenting out everything from speechLock.acquire() to the final speechLock.release() at the top of the processSpeechQueue() function partially solves the problem. Emacspeak reads everything it should, but the server still has some strange interactions with voice-lock. If switching buffers fast, for instance, the server won’t say the name, of the buffer.Nevertheless, I’ve got the most important functionality of Emacspeak back.HadenOn Oct 27, 2013, at 1:16 PM, David Tseng <firstname.lastname@example.org> wrote:While implementing the server a while ago, I discovered a ref counting bug in the Mac tts implementation. If I recall correctly, end callbacks were not getting sent properly as a result (i.e. end callbacks of the previous utterance were sent *after* start callbacks of the current utterance). My guess is that 10.9 has corrected the issue.I've not upgraded to Mavericks since I use my Mac for production work, but I can take a look next weekend on a machine with Mavericks. The fix will likely change/remove the extra acquire/release on the lock controlling access to the speech queue for Mavericks only since the bug obviously still exists pre-Mavericks.- DavidOn Sun, Oct 27, 2013 at 10:04 AM, Haden Pike <email@example.com> wrote:
> > Maybe starting the application that is stored in environment variable DTK_PROGRAM is enough to run the server.> It is.
I tried that and these results might help diagnose the problem.
> This may help in determining the cause of the problem.
I ran ./mac from the Emacspeak servers directory. After receiving the “Server ready” message, I typed the following:
q this is a test
q of the mac speech server.
Typing d gave me “this is a test”. Typing d again gave me the second bit of queued text: “of the Mac speech server.
Based on this, it looks like the speech queue is not being processed correctly. I don’t know the Cocoa technologies well, so am not sure where to start fixing this.
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "firstname.lastname@example.org" with a
subject of "unsubscribe" or "help".
If you have questions about this archive or had problems using it, please send mail to:email@example.com No Soliciting!
Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998
Emacspeak Files | Emacspeak Blog | Search the archive