Discussion:
Improvements to the text to speech component
jonaslatza
2013-03-11 13:57:06 UTC
Permalink
Hello,

I would like to make some improvements to the text to speech system. My idea is that the username or alias is spoken only ones in case two messages are received from the same sender in a short amount of time.

Where can I find the existing code/corresponding file? Unfortunately I have not found the right place, yet.

with regards
-- Jonas
Thijs Alkemade
2013-03-11 16:39:59 UTC
Permalink
Post by jonaslatza
Hello,
I would like to make some improvements to the text to speech system. My idea is that the username or alias is spoken only ones in case two messages are received from the same sender in a short amount of time.
Where can I find the existing code/corresponding file? Unfortunately I have not found the right place, yet.
with regards
-- Jonas
Hi Jonas,

The file where that is handled is ESAnnouncerPlugin.m, and especially the
function starting at line 122
(http://hg.adium.im/adium/file/b5fd0b8f8a40/Source/ESAnnouncerPlugin.m#l122).

It appears, however, that this feature already exist for normal speak events
on lines 209-227. Do you want to add this for custom text speak events, or
is it not working for you?

Best regards,
Thijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 938 bytes
Desc: not available
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20130311/7d978e8c/attachment.bin>
jonaslatza
2013-03-12 11:24:53 UTC
Permalink
Post by Thijs Alkemade
Post by jonaslatza
Hello,
I would like to make some improvements to the text to speech system. My idea is that the username or alias is spoken only ones in case two messages are received from the same sender in a short amount of time.
Where can I find the existing code/corresponding file? Unfortunately I have not found the right place, yet.
with regards
-- Jonas
Hi Jonas,
The file where that is handled is ESAnnouncerPlugin.m, and especially the
function starting at line 122
(http://hg.adium.im/adium/file/b5fd0b8f8a40/Source/ESAnnouncerPlugin.m#l122).
It appears, however, that this feature already exist for normal speak events
on lines 209-227. Do you want to add this for custom text speak events, or
is it not working for you?
Best regards,
Thijs
Hi Thijs,

Thank you for the right line and file. It seems to be exactly the feature which I had had in my mind. Unfortunately it doesn't work on my machine.
I run Adium 1.5.6b2 on OSX 10.8.2. Is my build too old or is there a different problem?

Best regards,
Jonas

Loading...