Speech plugin

Discuss and announce AkelPad plugins
  • Author
  • Message
Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Speech plugin

Post 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

Offline
Posts: 1862
Joined: Mon Aug 06, 2007 1:07 pm
Contact:

Post by Infocatcher »

Speech-Rus.txt:

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

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

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

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post 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.

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post 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).

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post 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.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

Список русских TTS голосов:
http://forum.ru-board.com/topic.cgi?forum=5&topic=21094

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

Balabolka, Russian TTS software to read text:
http://www.cross-plus-a.com/balabolka.htm

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post 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.)

Offline
Posts: 1
Joined: Tue Sep 21, 2010 3:03 pm

Post by ac4reg »

отличный плагин, большое спасибо. Хотелось бы еще хоткей на плэй (скрытие панели) и чтение с позиции курсора до конца текста.
Еще, может быть подскажете почему ScanSoft Katerina не сохраняет скорости чтения и на соответствующий ползунок приходится нажимать при каждом нажатии "P"?

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

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

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post 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

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

<<<DOWNLOAD>>> v1.4
* x64 bit version

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

Вот прошу протестировать под разрабатываемой(4.6) версии AkelPad

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

<<<DOWNLOAD>>> v1.5
* AkelPad v4.6.0 compatibility
* Some bugfixes

Urasmus

Post by Urasmus »

Thanks for your help!!! The plugin ais execellent.
Post Reply