Page 1 of 2

Speech plugin

Posted: Fri Sep 10, 2010 10:05 pm
by FeyFre
Plugin performs machine reading of selected text.
Additionally plugin can save generated speech into audio file.
Plugin uses Microsoft Speech API 5 (preinstalled on WindowsXP and newer).


Плагин выполняет машинное чтение выделенного текста.
Также сохранить речь в аудио файл.
Плагин для работы использует Microsoft Speech API 5 (предустановлено на WindowsXP и новее)

<<<DOWNLOAD>>> v1.0

Posted: Sat Sep 11, 2010 11:23 am
by Infocatcher
Speech-Rus.txt:

(В Windows XP и позднее/новее предустановлены, подробнее см. Панель Управления - Речь)
(вон в сообщении уже и порядок лучше, и «новее»)

В созданной панели

P.S. Ах да, плагин работает, глюков, вроде, не видно. :)

Posted: Sat Sep 11, 2010 3:17 pm
by KDJ
Very good. Thanks FeyFre.
But the voice of "Microsoft Sam" sounds a bit unnatural.
From this page you can download demo versions of other voices:
http://www.ivona.com/mini_reader.php?set_lang=us&
At the event, are available in languages: English, Polish and Romanian.

Image

By the way, you can extend the ComboBox, because "IVONA Jennifer" does not fit.

Posted: Sat Sep 11, 2010 5:01 pm
by FeyFre
KDJ, I am not one who provides MS SAPI voices and I do not restrict usage of this pluging to default one's.

On my PC there are installed three Microsoft's default voices(MS SAM, MS MARY and MS MIKE) + sample TTS voice bundled in MS SAPI SDK.
Also I have installed Acapela Elan TTS SpeechCube Nicolai voice(a demo) Russian texts.
For Ukrainian texts I have UkrVox TTS Engine by Yaroslav Kozak(also able to read Russian).
Also I have access to TTS-engine which was included and developed as component of larger commercial project(telephony-related) at my work(I am one of lead developers). This engine is dictionary based and have a special editor to create and edit as much voices as you want to read texts on any language you can provide dictionary.

So you see, I also shall be happy to share as much voices as I know about. But there are no much of them, especially in free access.

About ComboBox: I am not going to expand width more, because there are no much room left for large controls in bar(I personally have 15 inched monitor and max. 1024x768 resolution so sometimes I cannot see whole dockbar - it is a bit uncomfortable) and I plan add more controls.

So you have to variants:
1. Use ResHacker or source, change ComboBox width manually and rebuild plugin.
2. You can modify those labels manually. They are not hardcoded into binaries, but saved in registry:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens
There are a number of subkeys one for each voice.
You can change default value of subkey for any voice without any negative consequences(this values are labels only).

Posted: Sat Sep 11, 2010 6:35 pm
by KDJ
FeyFre thank you for the extensive explanation.
As for the width of ComboBox, it may be how it is. I changed the label of the voice in registry.

Posted: Mon Sep 13, 2010 9:20 am
by Instructor
Список русских TTS голосов:
http://forum.ru-board.com/topic.cgi?forum=5&topic=21094

Posted: Mon Sep 13, 2010 7:56 pm
by KDJ
Balabolka, Russian TTS software to read text:
http://www.cross-plus-a.com/balabolka.htm

Posted: Mon Sep 13, 2010 9:11 pm
by FeyFre
KDJ
Balabolka have not any SAPI TTS-engines bundled, so it useless here.
Purpose of this plugin - to read some text directly from AkelPad without installing and starting any 3rd-party software(it is very handy for some user category). After a bit of development plugin can provide even higher level of TTS-service than Balabolka, including saving generated file into any audio format provided by system codecs.
(I know it is not so oblivious, but at least 90% of feature provided by Speech plugin, Balbolka and other software does not any additional software at all. Since SAPI provides Automation interface every WSH script can access most its features.)

Posted: Tue Sep 21, 2010 3:27 pm
by ac4reg
отличный плагин, большое спасибо. Хотелось бы еще хоткей на плэй (скрытие панели) и чтение с позиции курсора до конца текста.
Еще, может быть подскажете почему ScanSoft Katerina не сохраняет скорости чтения и на соответствующий ползунок приходится нажимать при каждом нажатии "P"?

Posted: Tue Sep 21, 2010 4:34 pm
by FeyFre
ac4reg
От панельки пока избавится ну удастся. Опции чтения доделаю, но наверно аж через версию(что-бы баги новых фич скопом не плодить)
Еще, может быть подскажете почему ScanSoft Katerina не сохраняет скорости чтения и на соответствующий ползунок приходится нажимать при каждом нажатии "P"?
Движки не сохраняют скорости чтения, ни громкости. Эти параметры помнит плагин(Запоминает при каждом изменении ползунков). Тоесть это скорее всего мой баг, но у меня он пока не проявлялся(Ссылочку на Катерину можно, если доступна открыто?)

Posted: Sun Nov 28, 2010 10:57 am
by FeyFre
Update 1.2:
1. Improved callback intercation with SAPI
2. Added ability to select output device to play with.

Обновление 1.2:
1. Усовершенствованно событийное взаимодействие с SAPI
2. Добавлена возможность выбора устройства воспроизведения.

<<<DOWNLOAD>>> v1.2

Posted: Wed Jan 05, 2011 2:29 pm
by FeyFre
<<<DOWNLOAD>>> v1.4
* x64 bit version

Posted: Sun Apr 10, 2011 2:34 pm
by FeyFre
Вот прошу протестировать под разрабатываемой(4.6) версии AkelPad

Posted: Wed May 11, 2011 9:38 pm
by FeyFre
<<<DOWNLOAD>>> v1.5
* AkelPad v4.6.0 compatibility
* Some bugfixes

Posted: Wed Jan 18, 2012 7:53 am
by Urasmus
Thanks for your help!!! The plugin ais execellent.