Auto commit by GitHub Actions Workflow

This commit is contained in:
MooseBotter
2023-12-25 10:31:03 +00:00
parent 028c1a1dd3
commit 8e6b1648ae
26 changed files with 517 additions and 736 deletions
+104
View File
@@ -2321,6 +2321,12 @@ atis:Start()
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(MSRS).gender">MSRS.gender</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Gender. Default "female".</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(MSRS).getSpeechTime">MSRS.getSpeechTime(length, speed, isGoogle)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Function returns estimated speech time in seconds.</p>
</td>
</tr>
<tr class="w3-border">
@@ -2363,6 +2369,12 @@ atis:Start()
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(MSRS).provider">MSRS.provider</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Provider of TTS (win, gcloud, azure, amazon).</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(MSRS).uuid">MSRS.uuid()</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Function for UUID.</p>
</td>
</tr>
<tr class="w3-border">
@@ -7288,6 +7300,98 @@ set the path to the exe file via <a href="##(MSRS).SetPath">MSRS.SetPath</a>.</p
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(MSRS).getSpeechTime" ><strong>MSRS.getSpeechTime(length, speed, isGoogle)</strong></a></h2>
</div>
<p>Function returns estimated speech time in seconds.</p>
<p>Assumptions for time calc: 100 Words per min, average of 5 letters for english word so</p>
<ul>
<li>5 chars * 100wpm = 500 characters per min = 8.3 chars per second</li>
</ul>
<p>So length of msg / 8.3 = number of seconds needed to read it. rounded down to 8 chars per sec map function:</p>
<ul>
<li>(x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min</li>
</ul>
<div id= "#Functions##getSpeechTime" class="w3-show w3-white">
<div class="w3-container w3-white" id="functiontype">
<h2><strong>Defined in:</strong></h2>
<div class="w3-margin-left">
<p>MSRS</p>
</div>
<h2><strong>Parameters:</strong></h2>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>length</strong></strong>
</p>
</div>
<div class="w3-half">
<p>can also be passed as #string</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>speed</strong></strong>
</p>
</div>
<div class="w3-half">
<p>Defaults to 1.0</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#boolean
<strong><strong>isGoogle</strong></strong>
</p>
</div>
<div class="w3-half">
<p>We're using Google TTS</p>
</div>
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(MSRS).uuid" ><strong>MSRS.uuid()</strong></a></h2>
</div>
<p>Function for UUID.</p>
<div id= "#Functions##uuid" class="w3-show w3-white">
<div class="w3-container w3-white" id="functiontype">
<h2><strong>Defined in:</strong></h2>
<div class="w3-margin-left">
<p>MSRS</p>
</div>
</div>
</div>
</div>