Skip to content

Commit

Permalink
notify about fix for possible missing SAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
fiendish committed Feb 24, 2016
1 parent 140751d commit 797b455
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugins/Text_To_Speech.xml
Expand Up @@ -99,7 +99,12 @@ function OnPluginInstall ()
require "luacom"
-- Instantiate a SAPI voice obejct
talk = assert (luacom.CreateObject ("SAPI.SpVoice"), "cannot open SAPI")
talk = assert (luacom.CreateObject ("SAPI.SpVoice"), [[
Cannot open SAPI.
Note for Linux and Mac OS users. Text to speech functionality depends on the Microsoft Speech API.
This is not included by default in Wine, and SpeechSDK51.exe must be separately installed.
You can download it from http://download.microsoft.com/download/B/4/3/B4314928-7B71-4336-9DE7-6FA4CF00B7B3/SpeechSDK51.exe
]])
-- Method call
talk:Speak ("SAPI Plug-in installed and is ready.", 1)
Expand Down

0 comments on commit 797b455

Please sign in to comment.