Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Use local TTS with squeezebox on Windows

pgfeller edited this page Jan 3, 2016 · 8 revisions

This page is work-in-progress to summarize the findings of the following community discussion for users hosting openHAB on a M$-Windows operating system [1].



Environment Requirements

To verify if your system provides decent text-to-speech ability I recommend to download "Balabolka" [2]. Verify that a SAPI 5 voice is available for your language and that it's quality is decent enough.

Balabolka - SAPI 5

If the voice quality is not sufficient, or the desired language is missing you may consider a commercial SAPI 5 voice. Only use trial versions until your openHAB TTS is working end-to-end, as I can not know if the solution is compatible with all voices.

REST-TTS service

One way to use OS-TTS with openHAB (e.g. Squeezebox) is to provide a REST API that will convert a text string to an .mp3 file with the respective spoken text. The software available from [3] provides such an API.

Extract the downloaded .zip package. This will provide you the source code of the utility (can be compiled using M$-VS 2013 community edition) as well as some pre-compiled ready to use files (.\RESTTTS\RESTTTS\bin\Release).

Configuration

REST-TTS

To keep things as simple as possible the tool is a self hosted REST service. This requires elevated rights on your system. Therefore either compile the binaries yourself (after review of the code), or if you use a pre-compiled version make sure you scan it with a recent anti-virus software.

Right-click the "RESTTTS.exe" and execute it as administrator; you should see something similar to this: REST TTS with default configuration

Operating System

...

OpenHAB

...


References

Installation


User Interfaces


Community

(link to openHAB forum)

Development



Misc


Samples

A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Use case examples

Collections of Rules on a single page

Single Rules

Scripts


Release Notes

Clone this wiki locally