<div dir="ltr">I see what you&#39;re saying, you&#39;ll probably want to pre-generate those then, its a limited set of items.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 12:23 PM, Nathan Neulinger <span dir="ltr">&lt;<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Not sure I see what you&#39;re meaning... That has calls to &#39;speak-text&#39;, which just calls TTS directly, without any of the<br>
&#39;smarts&#39; of &#39;say&#39;.<br>
<br>
I can currently do this:<br>
<br>
         &lt;action application=&quot;speak&quot; data=&quot;Hi, the number you are calling from&quot;/&gt;<br>
         &lt;action application=&quot;say&quot; data=&quot;en name_spelled iterated ${caller_id_number}&quot;/&gt;<br>
         &lt;action application=&quot;playback&quot; data=&quot;silence_stream://100&quot;/&gt;<br>
         &lt;action application=&quot;speak&quot; data=&quot;is blocked to this extension. Goodbye.&quot;/&gt;<br>
<br>
which uses the already defined tts_engine/tts_voice to provide the audio for the other text (in the speak calls), but<br>
the iterated audio of caller id number is spoken by Callie via mod_say_en. Similar for the other functions in say - for<br>
currency, counts, ip addresses, etc.<br>
<br>
In that scenario, the voice will be different.<br>
<br>
I suppose I could create a new sounds directory, prepopulated with all of the phrases spoken by Callie based on the<br>
phrases.en, and then set sound_prefix ahead of time, at which point the voice would match up, but seems like the grammar<br>
portion of say could be useful to be able to use generically without having to prepopulate the content. Negative is that<br>
given that MOST of those sounds would not be used, it&#39;s a bunch of excess calls to the TTS engine to pregenerate for not<br>
a lot of benefit.<br>
<br>
-- Nathan<br>
<span class=""><br>
On 08/17/2015 11:45 AM, Brian West wrote:<br>
&gt; You should already be able to do this,<br>
&gt;<br>
&gt; see conf/vanilla/lang/en/vm/tts.xml<br>
&gt;<br>
&gt;<br>
&gt;<br>
</span><span class="">&gt; On Mon, Aug 17, 2015 at 11:34 AM, Nathan Neulinger &lt;<a href="mailto:nneul@mst.edu">nneul@mst.edu</a> &lt;mailto:<a href="mailto:nneul@mst.edu">nneul@mst.edu</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     It would be useful to be able to leverage the functionality of say - for smart parsing/breaking up of the text, but to<br>
&gt;     request that it use the setting for &#39;tts_engine&#39; to actually get the audio instead of using the recorded files.<br>
&gt;<br>
&gt;     Implementation possibility:<br>
&gt;<br>
&gt;              Allow specifying a &#39;voice&#39; for say via a separate variable (so as to not change the calling convention) -<br>
&gt;     to specify<br>
&gt;     the prefix directory it searches in for audio files.<br>
&gt;              If the desired file isn&#39;t present, fall back to generating the words with the configured tts engine.<br>
&gt;              (optional, selectable?) Cache the resulting generated word/phrase for future reuse<br>
&gt;<br>
&gt;     -- Nathan<br>
&gt;<br>
&gt;     ------------------------------------------------------------<br>
</span>&gt;     Nathan Neulinger <a href="mailto:nneul@mst.edu">nneul@mst.edu</a> &lt;mailto:<a href="mailto:nneul@mst.edu">nneul@mst.edu</a>&gt;<br>
&gt;     Missouri S&amp;T Information Technology <a href="tel:%28573%29%20612-1412" value="+15736121412">(573) 612-1412</a> &lt;tel:%28573%29%20612-1412&gt;<br>
<span class="">&gt;     System Administrator - Architect<br>
&gt;<br>
&gt;     _________________________________________________________________________<br>
&gt;     Professional FreeSWITCH Consulting Services:<br>
</span>&gt;     <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
<span class="">&gt;     <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt;     Official FreeSWITCH Sites<br>
&gt;     <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;     <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt;     <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt;     FreeSWITCH-users mailing list<br>
</span>&gt;     <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
<span class="">&gt;     <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;     UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;     <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
</span>&gt; */Brian West/*<br>
&gt; <a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a> &lt;mailto:<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt; */Twitter: @FreeSWITCH , @briankwest/*<br>
&gt; <a href="http://www.freeswitchbook.com" rel="noreferrer" target="_blank">http://www.freeswitchbook.com</a><br>
&gt; <a href="http://www.freeswitchcookbook.com" rel="noreferrer" target="_blank">http://www.freeswitchcookbook.com</a><br>
&gt;<br>
&gt; Got Bugs? Report them here &lt;<a href="https://freeswitch.org/jira" rel="noreferrer" target="_blank">https://freeswitch.org/jira</a>&gt;! | Reddit: /r/freeswitch &lt;<a href="https://www.reddit.com/r/freeswitch" rel="noreferrer" target="_blank">https://www.reddit.com/r/freeswitch</a>&gt;<br>
&gt;<br>
&gt; *T:*<a href="tel:%2B19184209001" value="+19184209001">+19184209001</a> | *F:*<a href="tel:%2B19184209002" value="+19184209002">+19184209002</a> | *M:*+1918424WEST (9378)<br>
&gt; *iNUM:*<a href="tel:%2B883%205100%201420%209001" value="+883510014209001">+883 5100 1420 9001</a> | *ISN:*410*543 | *Skype:*briankwest<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
--<br>
------------------------------------------------------------<br>
Nathan Neulinger                       <a href="mailto:nneul@mst.edu">nneul@mst.edu</a><br>
Missouri S&amp;T Information Technology    <a href="tel:%28573%29%20612-1412" value="+15736121412">(573) 612-1412</a><br>
System Administrator - Architect<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div>
</div>