-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm trying to use eSpeak in Emacs 24.3.1 with Emacspeak 40.0 build 9180 with the Bulgarian voice of ESpeak, which is available since february 2011. I looked up the documentation and I found that I can change the language using either c-e,d,S and then entering a language code or using c-e,d,P for previous and c-e,d,N for next language, but at first only English was available. At first I thought that the problem is my ESpeak, but then I opened the file: /usr/local/share/emacs/site-lisp/emacspeak/servers/linux-espeak/tclespeak.cpp and noticed line 84: // Uncomment below your preferred languages The Bulgarian wasn't one of them, cause I guess I wasn't available of the time of the last change in this file. However I've added it and recompiled the library, which made it to appear in Emacspeak. Now I can't switch to it with either method - Emacspeak says "bg", but continues to use the English voice with one exception - when reading by character. Please could you tell me what might be the problem and how I can eventually fix it? Also, please edit the tclespeak.cpp file to include all currently available languages in ESpeak, enabled by default - you can get them with espeak --voices. I've also noticed that speak_lib.h, which tclespeak.cpp uses, also contains the following function: ESPEAK_API const espeak_VOICE **espeak_ListVoices(espeak_VOICE *voice_spec); /* Reads the voice files from espeak-data/voices and creates an array of espeak_VOICE pointers. The list is terminated by a NULL pointer If voice_spec is NULL then all voices are listed. If voice spec is given, then only the voices which are compatible with the voice_spec are listed, and they are listed in preference order. */ So you could use that one to generate the list dynamically. I would do it myself, but I don't speak neither C++ nor TCL - that's why I'm asking, smile. It also will be very helpfull to other people which want to use a different language, especially for new users like me. I have another thought - why it is required for the user to compile the speach server manually? Isn't it possible for it to be compiled during compiling of Emacspeak? Or at least to inform the user the exact action and the directory - I spotted at least a few people who didn't knew or had problems with that step. Best wishes, Zahari -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVa21+AAoJELcU47hAtAnqLKAP/3nhvwPH2UR4We1J8mBKuoU5 hjO2G87vGgk5V/9wMJS483u6xT3dTW1oJqzzFLEzmS47XG5Z7VOaFXvUaLrJafsG 3NyBra/k7wD0YturvER69jrXDQ8k0yeJj1nNzWRFpf+qcSWSsa9z2hzsBqgFA/LQ ownMLPH2HSrkn8ThpaX1li3h6gf8stWwijkWdr2fgJwYTHl+MAtUl3rZOGHm6nIa a5tb1qhQQJcj00lRqI3zCMYOY4AcqskwDdej6dYGxUYVXmEpapL3zBcIVLJzPWgY RJmq3rweqx1s5aC9Yp10YsV7uFNTlThMDJrIaKq96LRovRKOMndi9sese3HtqUUD wDmYtKGHfttisBsBWTdxFTurEPHrl2X7+Bn3rS2mUGj7hxu4rcpPBIU0zmwRCwNC e18EKvxVE3Eg52MFUzfpAPrJ7XOsNpxEuf6u/gG8oXtyg3a5Cc7cXi5vwl4Kw2tn a+h8zZ9G5fSRJPnyklbNOffZ4/vLzTmQVk8sSW5/lTViu0bWVt9FSz5VFdkB1gJ6 EnhmK27izugG+RtmWBHiKc2dIUGB5aPjrmhfbqqkSjPZOGzEiWblk1CHz6+euXh3 ztXmU8+HreXD6AY6K1CzP1mc8MwnrKy/EOKvI/qQ59+fRp0N4Ga/Sqi4AK4rYui6 74shWCA3ksYEIl1EfoV2 =QLT1 -----END PGP SIGNATURE----- ----------------------------------------------------------------------------- To unsubscribe from the emacspeak list or change your address on the emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help".
|All Past Years |Current Year|
If you have questions about this archive or had problems using it, please contact us.