Release - XBMC TTS (Text To Speech) [Alpha]

  Thread Rating:
  • 6 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ruuk Online
Skilled Python Coder
Posts: 1,545
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Information  XBMC TTS (Text To Speech) [Alpha]
Post: #1
XBMC TTS
Text to speech for XBMC.

It is still in early development, but is very usable in it's current state.

Currently works directly on Linux (including OpenElec), Windows and OSX but can work on other platforms via the speech server.

Available via my repository or you can download the zip file or the optional speech.server from the Downloads Page where there is also a windows installer that will install both XBMC (if not already installed) and the addon.

[Image: sig.jpg]
(This post was last modified: 2014-06-02 19:44 by ruuk.)
find quote
Traker1001 Offline
Senior Member
Posts: 127
Joined: Jun 2013
Reputation: 3
Post: #2
<Reserved> More Coming Soon...

Current Version: 0.0.82
(This post was last modified: 2014-08-03 18:44 by Traker1001.)
find quote
ruuk Online
Skilled Python Coder
Posts: 1,545
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Information  v0.0.67
Post: #3
Added a new version to my repository: 0.0.67.

Get it or the repository from the Downloads Page.

Changes:
  • Weather window now speaks automatically
  • Now speaks full screen video player status including pause, buffering (with percent) and seeking (with position)
  • HTTP speech server backend: fixed errors cause by connection issues
  • HTTP speech server backend: now gives an error reason when falling back
  • Fix for bug added in last version causing speech to not interrupt when changing controls

[Image: sig.jpg]
(This post was last modified: 2014-06-03 23:15 by ruuk.)
find quote
ruuk Online
Skilled Python Coder
Posts: 1,545
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Information  v0.0.68
Post: #4
Added a new version to my repository: 0.0.68.

Get it or the repository from the Downloads Page.

Changes:
  • Playing status now speaks on all views when media is playing
  • Playing status now speaks fast forward and rewind with 2x, 4x, 8x, 16x and 32x levels

[Image: sig.jpg]
find quote
ruuk Online
Skilled Python Coder
Posts: 1,545
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Information  v0.0.69
Post: #5
Added a new version to my repository: 0.0.69.

Get it or the repository from the Downloads Page.

Changes:
  • Startup beeps now happen before speech
  • Now speaks the new version on update
  • Fix for Flite player not changing when changed in settings
  • Fix for aplay not interrupting properly
  • Now enables alsa for aplay when aplay is selected as a player on on Raspberry Pi OpenElec
  • Added ability to pipe audio directly from engine to player
  • Added setting to eSpeak, Google and HTTP TTS Server: 'Pipe Audio To Player'
  • Updated comtypes to 1.1.0

[Image: sig.jpg]
find quote
Traker1001 Offline
Senior Member
Posts: 127
Joined: Jun 2013
Reputation: 3
Post: #6
Awesome... Although, I could have sworn my start up was beeping before speech already, at least in Ubuntu and Windows.
Is the version update speaking just for the TTS addon?
find quote
RiChaDo Offline
Junior Member
Posts: 48
Joined: Nov 2010
Reputation: 0
Post: #7
I got openelec but after installing this addon what todo next? because It's not doing anything

[Image: widget]
[Image: widget]
find quote
ruuk Online
Skilled Python Coder
Posts: 1,545
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #8
(2014-06-06 15:37)RiChaDo Wrote:  I got openelec but after installing this addon what todo next? because It's not doing anything
OpenElec should speak as soon as the addon is installed. If it's not working then something must be wrong.

What version of OpenElec on what platform?
How did you install the addon?

[Image: sig.jpg]
find quote
ruuk Online
Skilled Python Coder
Posts: 1,545
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #9
(2014-06-06 10:06)Traker1001 Wrote:  Awesome... Although, I could have sworn my start up was beeping before speech already, at least in Ubuntu and Windows.
Depending on the speech engine and platform it would beep after because the sound was being triggered after the addon was started. I just moved the sound to before everything was started.
(2014-06-06 10:06)Traker1001 Wrote:  Is the version update speaking just for the TTS addon?
Yes. It compares the version when the addon is loaded and then speaks the new version.
If I find a way to do it for other addons, I'll put it in.

[Image: sig.jpg]
find quote
Martijn Offline
Team Kodi
Posts: 11,434
Joined: Jul 2011
Reputation: 165
Location: Dawn of time
Post: #10
you can get an add-on list through JSON-RPC. not sure if you can also get the current addon version with it.
if you can you could save current list. then start comparing it every X amount of time and that way notice if there's an updated version installed.

even better would be that we kept a list of recent updated add-on (or store addon update date). Perhaps something for the future.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2014-06-06 17:38 by Martijn.)
find quote
ruuk Online
Skilled Python Coder
Posts: 1,545
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #11
(2014-06-06 17:34)Martijn Wrote:  you can get an add-on list through JSON-RPC. not sure if you can also get the current addon version with it.
if you can you could save current list. then start comparing it every X amount of time and that way notice if there's an updated version installed.

even better would be that we kept a list of recent updated add-on (or store addon update date). Perhaps something for the future.

Thanks for the ideas.
I was hoping that addon updates were "notified" like video updates so I can handle them in the onNotification() method of the Monitor class which I already use. I just checked that out and it turns out this is not currently the case so something like what you suggested would probably be the way to go.

[Image: sig.jpg]
find quote
RiChaDo Offline
Junior Member
Posts: 48
Joined: Nov 2010
Reputation: 0
Post: #12
(2014-06-06 17:09)ruuk Wrote:  
(2014-06-06 15:37)RiChaDo Wrote:  I got openelec but after installing this addon what todo next? because It's not doing anything
OpenElec should speak as soon as the addon is installed. If it's not working then something must be wrong.

What version of OpenElec on what platform?
How did you install the addon?

Openelec Version:4.0.4 on asrock ion 330ht and did a install from zip in xbmc manager

[Image: widget]
[Image: widget]
find quote
ruuk Online
Skilled Python Coder
Posts: 1,545
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #13
Does the addon show up in the enabled addons under services?

[Image: sig.jpg]
find quote
RiChaDo Offline
Junior Member
Posts: 48
Joined: Nov 2010
Reputation: 0
Post: #14
yes and installed the keymap.xml

[Image: widget]
[Image: widget]
find quote
Martijn Offline
Team Kodi
Posts: 11,434
Joined: Jul 2011
Reputation: 165
Location: Dawn of time
Post: #15
(2014-06-06 17:58)ruuk Wrote:  
(2014-06-06 17:34)Martijn Wrote:  you can get an add-on list through JSON-RPC. not sure if you can also get the current addon version with it.
if you can you could save current list. then start comparing it every X amount of time and that way notice if there's an updated version installed.

even better would be that we kept a list of recent updated add-on (or store addon update date). Perhaps something for the future.

Thanks for the ideas.
I was hoping that addon updates were "notified" like video updates so I can handle them in the onNotification() method of the Monitor class which I already use. I just checked that out and it turns out this is not currently the case so something like what you suggested would probably be the way to go.

Maybe some one can add this to the onNotification() method to at least know there are add-ons updated or new ones available, depending on how you have set repo updates.
Then you can catch that, notify the user who can go to the add-on manager to update them manually. If auto update is set you could then grab a new list of add-ons and then mention the updated ones.

Edit:
Implementation would be something like this https://github.com/xbmc/xbmc/pull/4766/files
and i think relevant file to add it to would be
https://github.com/xbmc/xbmc/blob/master...y.cpp#L319 (some where after this line of code. next line does the GUI popup).
This would at least get the add-on update available.
So if some one could take a stab at it?

Sorry for the bit off topic.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
(This post was last modified: 2014-06-06 19:06 by Martijn.)
find quote
Post Reply