Yes, probably this is a much more viable way.
Thanks again.
Yes, probably this is a much more viable way.
Yeah, I didn't want to have to have separate meters for culture/name/gender/age, but guess I will have to to line things up properly.eclectic-tech wrote: ↑January 28th, 2019, 8:53 pm Thanks for the winero link... I used that before to install 'Microsoft Eva Mobile' voice, but completely forgot about that link.
Now I have 3 new Aussie voices! Matilda is from the Cortana voices (she sounds great)
speech.png
Still have that short name issue Thanks JSM!
Add them if possible. Would be a great help whenever we're creating tables.
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
ContextTitle=Open @Includes folder
ContextAction=["#@#"]
[Metadata]
Name=SpeechWIndex
Author=JSMorley
Information=Demonstrates the included Speech Plugin, Speech.dll | https://forum.rainmeter.net/viewtopic.php?f=18&t=31161
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=January 30, 2019
[Variables]
@Include=#@#SpeechVars.inc
[SpeechHost]
Measure=Plugin
Plugin=Speech
;Name=#Name#
;Gender=#Gender#
Index=#Index#
Volume=#Volume#
Rate=#Rate#
UpdateDivider=-1
DynamicVariables=1
[MeterVoiceName]
Meter=String
MeasureName=SpeechHost
W=260
X=130
StringAlign=Center
FontSize=13
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "152,255,188,255"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor "255,255,255,255"][!UpdateMeter *][!Redraw]
LeftMouseUpAction=[!CommandMeasure SpeechHost ""][!CommandMeasure SpeechHost "This is [SpeechHost]"]
[MeterLeft]
Meter=String
X=270
FontSize=13
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,4,5,2
AntiAlias=1
DynamicVariables=1
Text=◀
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "152,255,188,255"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor "255,255,255,255"][!UpdateMeter *][!Redraw]
LeftMouseUpAction=[!SetVariable Index "(Clamp(#Index#-1,1,[SpeechHost:]))"][!CommandMeasure SpeechHost ""][!UpdateMeasure SpeechHost][!CommandMeasure SpeechHost "This is [SpeechHost]"][!Update]
[MeterCounts]
Meter=String
W=120
X=365
StringAlign=Center
FontSize=13
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
DynamicVariables=1
Text=Voice #Index# of [SpeechHost:]
[MeterRight]
Meter=String
X=435
FontSize=13
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,4,5,2
AntiAlias=1
DynamicVariables=1
Text=▶
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "152,255,188,255"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor "255,255,255,255"][!UpdateMeter *][!Redraw]
LeftMouseUpAction=[!SetVariable Index "(Clamp(#Index#+1,1,[SpeechHost:]))"][!CommandMeasure SpeechHost ""][!UpdateMeasure SpeechHost][!CommandMeasure SpeechHost "This is [SpeechHost]"][!Update]
[MeterSave]
Meter=String
Y=5R
X=0
FontSize=13
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Save
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "152,255,188,255"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor "255,255,255,255"][!UpdateMeter *][!Redraw]
LeftMouseUpAction=[!WriteKeyValue Variables Index "#Index#" "#@#SpeechVars.inc"][!Refresh]
[MeterCancel]
Meter=String
Y=0r
X=10R
FontSize=13
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Cancel
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "152,255,188,255"][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor "255,255,255,255"][!UpdateMeter *][!Redraw]
LeftMouseUpAction=[!Refresh]
Code: Select all
NOTE (08:59:09.305) SpeechWSelect\Speech.ini - [SpeechHost]: ------------------------------
NOTE (08:59:09.307) SpeechWSelect\Speech.ini - [SpeechHost]: * Speech.dll - GetInstalledVoices() API
NOTE (08:59:09.308) SpeechWSelect\Speech.ini - [SpeechHost]: Index: 1
NOTE (08:59:09.310) SpeechWSelect\Speech.ini - [SpeechHost]: Name : Microsoft David Desktop
NOTE (08:59:09.312) SpeechWSelect\Speech.ini - [SpeechHost]: Gender : Male
NOTE (08:59:09.313) SpeechWSelect\Speech.ini - [SpeechHost]: Culture : en-US
NOTE (08:59:09.315) SpeechWSelect\Speech.ini - [SpeechHost]: Age : Adult
NOTE (08:59:09.317) SpeechWSelect\Speech.ini - [SpeechHost]: Description : Microsoft David Desktop - English (United States)
NOTE (08:59:09.318) SpeechWSelect\Speech.ini - [SpeechHost]: ID : TTS_MS_EN-US_DAVID_11.0
NOTE (08:59:09.320) SpeechWSelect\Speech.ini - [SpeechHost]: Enabled : True
NOTE (08:59:09.321) SpeechWSelect\Speech.ini - [SpeechHost]: Index: 2
NOTE (08:59:09.323) SpeechWSelect\Speech.ini - [SpeechHost]: Name : Microsoft James
NOTE (08:59:09.325) SpeechWSelect\Speech.ini - [SpeechHost]: Gender : Male
NOTE (08:59:09.326) SpeechWSelect\Speech.ini - [SpeechHost]: Culture : en-AU
NOTE (08:59:09.328) SpeechWSelect\Speech.ini - [SpeechHost]: Age : Adult
NOTE (08:59:09.329) SpeechWSelect\Speech.ini - [SpeechHost]: Description : Microsoft James - English (Australia)
NOTE (08:59:09.331) SpeechWSelect\Speech.ini - [SpeechHost]: ID : MSTTS_V110_enAU_JamesM
NOTE (08:59:09.332) SpeechWSelect\Speech.ini - [SpeechHost]: Enabled : True
NOTE (08:59:09.334) SpeechWSelect\Speech.ini - [SpeechHost]: Index: 3
NOTE (08:59:09.335) SpeechWSelect\Speech.ini - [SpeechHost]: Name : Microsoft Matilda Mobile
NOTE (08:59:09.337) SpeechWSelect\Speech.ini - [SpeechHost]: Gender : Female
NOTE (08:59:09.338) SpeechWSelect\Speech.ini - [SpeechHost]: Culture : en-AU
NOTE (08:59:09.340) SpeechWSelect\Speech.ini - [SpeechHost]: Age : Adult
NOTE (08:59:09.342) SpeechWSelect\Speech.ini - [SpeechHost]: Description : Microsoft Matilda Mobile - English (Australia)
NOTE (08:59:09.343) SpeechWSelect\Speech.ini - [SpeechHost]: ID : MSTTS_V110_enAU_MatildaM
NOTE (08:59:09.345) SpeechWSelect\Speech.ini - [SpeechHost]: Enabled : True
NOTE (08:59:09.346) SpeechWSelect\Speech.ini - [SpeechHost]: Index: 4
NOTE (08:59:09.348) SpeechWSelect\Speech.ini - [SpeechHost]: Name : Microsoft Eva Mobile
NOTE (08:59:09.350) SpeechWSelect\Speech.ini - [SpeechHost]: Gender : Female
NOTE (08:59:09.351) SpeechWSelect\Speech.ini - [SpeechHost]: Culture : en-US
NOTE (08:59:09.353) SpeechWSelect\Speech.ini - [SpeechHost]: Age : Adult
NOTE (08:59:09.354) SpeechWSelect\Speech.ini - [SpeechHost]: Description : Microsoft Eva Mobile - English (United States)
NOTE (08:59:09.356) SpeechWSelect\Speech.ini - [SpeechHost]: ID : MSTTS_V110_enUS_EvaM
NOTE (08:59:09.357) SpeechWSelect\Speech.ini - [SpeechHost]: Enabled : True
NOTE (08:59:09.359) SpeechWSelect\Speech.ini - [SpeechHost]: Index: 5
NOTE (08:59:09.361) SpeechWSelect\Speech.ini - [SpeechHost]: Name : Microsoft Mark
NOTE (08:59:09.362) SpeechWSelect\Speech.ini - [SpeechHost]: Gender : Male
NOTE (08:59:09.364) SpeechWSelect\Speech.ini - [SpeechHost]: Culture : en-US
NOTE (08:59:09.365) SpeechWSelect\Speech.ini - [SpeechHost]: Age : Adult
NOTE (08:59:09.367) SpeechWSelect\Speech.ini - [SpeechHost]: Description : Microsoft Mark - English (United States)
NOTE (08:59:09.369) SpeechWSelect\Speech.ini - [SpeechHost]: ID : MSTTS_V110_enUS_MarkM
NOTE (08:59:09.370) SpeechWSelect\Speech.ini - [SpeechHost]: Enabled : True
NOTE (08:59:09.372) SpeechWSelect\Speech.ini - [SpeechHost]: Index: 6
NOTE (08:59:09.373) SpeechWSelect\Speech.ini - [SpeechHost]: Name : Microsoft Catherine
NOTE (08:59:09.375) SpeechWSelect\Speech.ini - [SpeechHost]: Gender : Female
NOTE (08:59:09.376) SpeechWSelect\Speech.ini - [SpeechHost]: Culture : en-AU
NOTE (08:59:09.378) SpeechWSelect\Speech.ini - [SpeechHost]: Age : Adult
NOTE (08:59:09.379) SpeechWSelect\Speech.ini - [SpeechHost]: Description : Microsoft Catherine - English (Australia)
NOTE (08:59:09.381) SpeechWSelect\Speech.ini - [SpeechHost]: ID : MSTTS_V110_enAU_CatherineM
NOTE (08:59:09.382) SpeechWSelect\Speech.ini - [SpeechHost]: Enabled : True
NOTE (08:59:09.384) SpeechWSelect\Speech.ini - [SpeechHost]: Index: 7
NOTE (08:59:09.386) SpeechWSelect\Speech.ini - [SpeechHost]: Name : Microsoft Zira Desktop
NOTE (08:59:09.387) SpeechWSelect\Speech.ini - [SpeechHost]: Gender : Female
NOTE (08:59:09.389) SpeechWSelect\Speech.ini - [SpeechHost]: Culture : en-US
NOTE (08:59:09.391) SpeechWSelect\Speech.ini - [SpeechHost]: Age : Adult
NOTE (08:59:09.392) SpeechWSelect\Speech.ini - [SpeechHost]: Description : Microsoft Zira Desktop - English (United States)
NOTE (08:59:09.394) SpeechWSelect\Speech.ini - [SpeechHost]: ID : TTS_MS_EN-US_ZIRA_11.0
NOTE (08:59:09.396) SpeechWSelect\Speech.ini - [SpeechHost]: Enabled : True
NOTE (08:59:09.397) SpeechWSelect\Speech.ini - [SpeechHost]: ------------------------------
Speech recognition and text-to-speech are so completely different things that this is actually off-topic here.Yincognito wrote: ↑February 3rd, 2019, 6:12 am Very nice plugin, jsmorley! This could be good at speaking the time to the user (this is what I would use it for)
Of course, the ultimate thing would be to give commands to a Rainmeter skin using the speech recognition feature (yes, it's different from text-to-speech, but since we're at it)... That would probably be more complicated though ... brings back to me memories of a certain software named (Promixis) Girder that used to let the user control the PC using the remote, the speech recognition, etc. Sadly, like most good things, that one is dead.
And now that I know it works for Andrei as well (thanks balala) - that makes the prospect sweeter. Still going to use some English voice though, I am disappointed that certain folks (not the MS ones) can't even make a Microsoft "Andrei" sound accurate...