<div dir="ltr">I see what you're saying, you'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"><<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a>></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're meaning... That has calls to 'speak-text', which just calls TTS directly, without any of the<br>
'smarts' of 'say'.<br>
<br>
I can currently do this:<br>
<br>
<action application="speak" data="Hi, the number you are calling from"/><br>
<action application="say" data="en name_spelled iterated ${caller_id_number}"/><br>
<action application="playback" data="silence_stream://100"/><br>
<action application="speak" data="is blocked to this extension. Goodbye."/><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'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>
> You should already be able to do this,<br>
><br>
> see conf/vanilla/lang/en/vm/tts.xml<br>
><br>
><br>
><br>
</span><span class="">> On Mon, Aug 17, 2015 at 11:34 AM, Nathan Neulinger <<a href="mailto:nneul@mst.edu">nneul@mst.edu</a> <mailto:<a href="mailto:nneul@mst.edu">nneul@mst.edu</a>>> wrote:<br>
><br>
> It would be useful to be able to leverage the functionality of say - for smart parsing/breaking up of the text, but to<br>
> request that it use the setting for 'tts_engine' to actually get the audio instead of using the recorded files.<br>
><br>
> Implementation possibility:<br>
><br>
> Allow specifying a 'voice' for say via a separate variable (so as to not change the calling convention) -<br>
> to specify<br>
> the prefix directory it searches in for audio files.<br>
> If the desired file isn't present, fall back to generating the words with the configured tts engine.<br>
> (optional, selectable?) Cache the resulting generated word/phrase for future reuse<br>
><br>
> -- Nathan<br>
><br>
> ------------------------------------------------------------<br>
</span>> Nathan Neulinger <a href="mailto:nneul@mst.edu">nneul@mst.edu</a> <mailto:<a href="mailto:nneul@mst.edu">nneul@mst.edu</a>><br>
> Missouri S&T Information Technology <a href="tel:%28573%29%20612-1412" value="+15736121412">(573) 612-1412</a> <tel:%28573%29%20612-1412><br>
<span class="">> System Administrator - Architect<br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
</span>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> <mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>><br>
<span class="">> <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>
</span>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>><br>
<span class="">> <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>
><br>
><br>
><br>
><br>
> --<br>
><br>
</span>> */Brian West/*<br>
> <a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a> <mailto:<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>><br>
><br>
><br>
> */Twitter: @FreeSWITCH , @briankwest/*<br>
> <a href="http://www.freeswitchbook.com" rel="noreferrer" target="_blank">http://www.freeswitchbook.com</a><br>
> <a href="http://www.freeswitchcookbook.com" rel="noreferrer" target="_blank">http://www.freeswitchcookbook.com</a><br>
><br>
> Got Bugs? Report them here <<a href="https://freeswitch.org/jira" rel="noreferrer" target="_blank">https://freeswitch.org/jira</a>>! | Reddit: /r/freeswitch <<a href="https://www.reddit.com/r/freeswitch" rel="noreferrer" target="_blank">https://www.reddit.com/r/freeswitch</a>><br>
><br>
> *T:*<a href="tel:%2B19184209001" value="+19184209001">+19184209001</a> | *F:*<a href="tel:%2B19184209002" value="+19184209002">+19184209002</a> | *M:*+1918424WEST (9378)<br>
> *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">><br>
><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>
><br>
<br>
--<br>
------------------------------------------------------------<br>
Nathan Neulinger <a href="mailto:nneul@mst.edu">nneul@mst.edu</a><br>
Missouri S&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>