Feature request/suggestion - "say" w/ tts_engine backing
It would be useful to be able to leverage the functionality of say - for smart parsing/breaking up of the text, but to request that it use the setting for 'tts_engine' to actually get the audio instead of using the recorded files. Implementation possibility: Allow specifying a 'voice' for say via a separate variable (so as to not change the calling convention) - to specify the prefix directory it searches in for audio files. If the desired file isn't present, fall back to generating the words with the configured tts engine. (optional, selectable?) Cache the resulting generated word/phrase for future reuse -- Nathan ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
You should already be able to do this, see conf/vanilla/lang/en/vm/tts.xml On Mon, Aug 17, 2015 at 11:34 AM, Nathan Neulinger <nneul@mst.edu> wrote:
It would be useful to be able to leverage the functionality of say - for smart parsing/breaking up of the text, but to request that it use the setting for 'tts_engine' to actually get the audio instead of using the recorded files.
Implementation possibility:
Allow specifying a 'voice' for say via a separate variable (so as to not change the calling convention) - to specify the prefix directory it searches in for audio files. If the desired file isn't present, fall back to generating the words with the configured tts engine. (optional, selectable?) Cache the resulting generated word/phrase for future reuse
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Not sure I see what you're meaning... That has calls to 'speak-text', which just calls TTS directly, without any of the 'smarts' of 'say'. I can currently do this: <action application="speak" data="Hi, the number you are calling from"/> <action application="say" data="en name_spelled iterated ${caller_id_number}"/> <action application="playback" data="silence_stream://100"/> <action application="speak" data="is blocked to this extension. Goodbye."/> which uses the already defined tts_engine/tts_voice to provide the audio for the other text (in the speak calls), but the iterated audio of caller id number is spoken by Callie via mod_say_en. Similar for the other functions in say - for currency, counts, ip addresses, etc. In that scenario, the voice will be different. I suppose I could create a new sounds directory, prepopulated with all of the phrases spoken by Callie based on the phrases.en, and then set sound_prefix ahead of time, at which point the voice would match up, but seems like the grammar portion of say could be useful to be able to use generically without having to prepopulate the content. Negative is that 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 a lot of benefit. -- Nathan On 08/17/2015 11:45 AM, Brian West wrote:
You should already be able to do this,
see conf/vanilla/lang/en/vm/tts.xml
On Mon, Aug 17, 2015 at 11:34 AM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
It would be useful to be able to leverage the functionality of say - for smart parsing/breaking up of the text, but to request that it use the setting for 'tts_engine' to actually get the audio instead of using the recorded files.
Implementation possibility:
Allow specifying a 'voice' for say via a separate variable (so as to not change the calling convention) - to specify the prefix directory it searches in for audio files. If the desired file isn't present, fall back to generating the words with the configured tts engine. (optional, selectable?) Cache the resulting generated word/phrase for future reuse
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*/Brian West/* brian@freeswitch.org <mailto:brian@freeswitch.org>
*/Twitter: @FreeSWITCH , @briankwest/* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
I see what you're saying, you'll probably want to pre-generate those then, its a limited set of items. On Mon, Aug 17, 2015 at 12:23 PM, Nathan Neulinger <nneul@mst.edu> wrote:
Not sure I see what you're meaning... That has calls to 'speak-text', which just calls TTS directly, without any of the 'smarts' of 'say'.
I can currently do this:
<action application="speak" data="Hi, the number you are calling from"/> <action application="say" data="en name_spelled iterated ${caller_id_number}"/> <action application="playback" data="silence_stream://100"/> <action application="speak" data="is blocked to this extension. Goodbye."/>
which uses the already defined tts_engine/tts_voice to provide the audio for the other text (in the speak calls), but the iterated audio of caller id number is spoken by Callie via mod_say_en. Similar for the other functions in say - for currency, counts, ip addresses, etc.
In that scenario, the voice will be different.
I suppose I could create a new sounds directory, prepopulated with all of the phrases spoken by Callie based on the phrases.en, and then set sound_prefix ahead of time, at which point the voice would match up, but seems like the grammar portion of say could be useful to be able to use generically without having to prepopulate the content. Negative is that 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 a lot of benefit.
-- Nathan
On 08/17/2015 11:45 AM, Brian West wrote:
You should already be able to do this,
see conf/vanilla/lang/en/vm/tts.xml
On Mon, Aug 17, 2015 at 11:34 AM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
It would be useful to be able to leverage the functionality of say - for smart parsing/breaking up of the text, but to request that it use the setting for 'tts_engine' to actually get the audio instead of using the recorded files.
Implementation possibility:
Allow specifying a 'voice' for say via a separate variable (so as to not change the calling convention) - to specify the prefix directory it searches in for audio files. If the desired file isn't present, fall back to generating the words with the configured tts engine. (optional, selectable?) Cache the resulting generated word/phrase for future reuse
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:
FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
--
*/Brian West/* brian@freeswitch.org <mailto:brian@freeswitch.org>
*/Twitter: @FreeSWITCH , @briankwest/* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
The easiest solution here is to use pre-generated sound files recorded by the same person as the TTS. The "Callie" voice we have default recordings is the same as the Cepstral tts voice of the same name.
On Aug 17, 2015, at 1:23 PM, Nathan Neulinger <nneul@mst.edu> wrote:
Not sure I see what you're meaning... That has calls to 'speak-text', which just calls TTS directly, without any of the 'smarts' of 'say'.
I can currently do this:
<action application="speak" data="Hi, the number you are calling from"/> <action application="say" data="en name_spelled iterated ${caller_id_number}"/> <action application="playback" data="silence_stream://100"/> <action application="speak" data="is blocked to this extension. Goodbye."/>
which uses the already defined tts_engine/tts_voice to provide the audio for the other text (in the speak calls), but the iterated audio of caller id number is spoken by Callie via mod_say_en. Similar for the other functions in say - for currency, counts, ip addresses, etc.
In that scenario, the voice will be different.
I suppose I could create a new sounds directory, prepopulated with all of the phrases spoken by Callie based on the phrases.en, and then set sound_prefix ahead of time, at which point the voice would match up, but seems like the grammar portion of say could be useful to be able to use generically without having to prepopulate the content. Negative is that 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 a lot of benefit.
-- Nathan
On 08/17/2015 11:45 AM, Brian West wrote:
You should already be able to do this,
see conf/vanilla/lang/en/vm/tts.xml
On Mon, Aug 17, 2015 at 11:34 AM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>>> wrote:
It would be useful to be able to leverage the functionality of say - for smart parsing/breaking up of the text, but to request that it use the setting for 'tts_engine' to actually get the audio instead of using the recorded files.
Implementation possibility:
Allow specifying a 'voice' for say via a separate variable (so as to not change the calling convention) - to specify the prefix directory it searches in for audio files. If the desired file isn't present, fall back to generating the words with the configured tts engine. (optional, selectable?) Cache the resulting generated word/phrase for future reuse
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
--
*/Brian West/* brian@freeswitch.org <mailto:brian@freeswitch.org> <mailto:brian@freeswitch.org <mailto:brian@freeswitch.org>>
*/Twitter: @FreeSWITCH , @briankwest/* http://www.freeswitchbook.com <http://www.freeswitchbook.com/> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
Got Bugs? Report them here <https://freeswitch.org/jira <https://freeswitch.org/jira>>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch <https://www.reddit.com/r/freeswitch>>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
Oh? I thought that Callie was a person - and you had to pay/contract to get updates periodically for the voice prompts. -- Nathan On 08/17/2015 01:24 PM, Michael Jerris wrote:
The easiest solution here is to use pre-generated sound files recorded by the same person as the TTS. The "Callie" voice we have default recordings is the same as the Cepstral tts voice of the same name.
On Aug 17, 2015, at 1:23 PM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
Not sure I see what you're meaning... That has calls to 'speak-text', which just calls TTS directly, without any of the 'smarts' of 'say'.
I can currently do this:
<action application="speak" data="Hi, the number you are calling from"/> <action application="say" data="en name_spelled iterated ${caller_id_number}"/> <action application="playback" data="silence_stream://100"/> <action application="speak" data="is blocked to this extension. Goodbye."/>
which uses the already defined tts_engine/tts_voice to provide the audio for the other text (in the speak calls), but the iterated audio of caller id number is spoken by Callie via mod_say_en. Similar for the other functions in say - for currency, counts, ip addresses, etc.
In that scenario, the voice will be different.
I suppose I could create a new sounds directory, prepopulated with all of the phrases spoken by Callie based on the phrases.en, and then set sound_prefix ahead of time, at which point the voice would match up, but seems like the grammar portion of say could be useful to be able to use generically without having to prepopulate the content. Negative is that 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 a lot of benefit.
-- Nathan
On 08/17/2015 11:45 AM, Brian West wrote:
You should already be able to do this,
see conf/vanilla/lang/en/vm/tts.xml
On Mon, Aug 17, 2015 at 11:34 AM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu><mailto:nneul@mst.edu>> wrote:
It would be useful to be able to leverage the functionality of say - for smart parsing/breaking up of the text, but to request that it use the setting for 'tts_engine' to actually get the audio instead of using the recorded files.
Implementation possibility:
Allow specifying a 'voice' for say via a separate variable (so as to not change the calling convention) - to specify the prefix directory it searches in for audio files. If the desired file isn't present, fall back to generating the words with the configured tts engine. (optional, selectable?) Cache the resulting generated word/phrase for future reuse
-- Nathan
------------------------------------------------------------ Nathan Neulingernneul@mst.edu <mailto:nneul@mst.edu><mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
--
*/Brian West/* brian@freeswitch.org <mailto:brian@freeswitch.org><mailto:brian@freeswitch.org>
*/Twitter: @FreeSWITCH , @briankwest/* http://www.freeswitchbook.com <http://www.freeswitchbook.com/> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
She is a person (who's name isn't actually Callie)... and yes, we do pay periodically for new prompts, but we do not pay anything for distribution of the prompts we have already made. In the scenario you lay out, there are just a couple prompts that are missing. I would just get those recorded.
On Aug 17, 2015, at 4:39 PM, Nathan Neulinger <nneul@mst.edu> wrote:
Oh? I thought that Callie was a person - and you had to pay/contract to get updates periodically for the voice prompts.
-- Nathan
On 08/17/2015 01:24 PM, Michael Jerris wrote:
The easiest solution here is to use pre-generated sound files recorded by the same person as the TTS. The "Callie" voice we have default recordings is the same as the Cepstral tts voice of the same name.
On Aug 17, 2015, at 1:23 PM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
Not sure I see what you're meaning... That has calls to 'speak-text', which just calls TTS directly, without any of the 'smarts' of 'say'.
I can currently do this:
<action application="speak" data="Hi, the number you are calling from"/> <action application="say" data="en name_spelled iterated ${caller_id_number}"/> <action application="playback" data="silence_stream://100"/> <action application="speak" data="is blocked to this extension. Goodbye."/>
which uses the already defined tts_engine/tts_voice to provide the audio for the other text (in the speak calls), but the iterated audio of caller id number is spoken by Callie via mod_say_en. Similar for the other functions in say - for currency, counts, ip addresses, etc.
In that scenario, the voice will be different.
I suppose I could create a new sounds directory, prepopulated with all of the phrases spoken by Callie based on the phrases.en, and then set sound_prefix ahead of time, at which point the voice would match up, but seems like the grammar portion of say could be useful to be able to use generically without having to prepopulate the content. Negative is that 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 a lot of benefit.
-- Nathan
On 08/17/2015 11:45 AM, Brian West wrote:
You should already be able to do this,
see conf/vanilla/lang/en/vm/tts.xml
On Mon, Aug 17, 2015 at 11:34 AM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu><mailto:nneul@mst.edu>> wrote:
It would be useful to be able to leverage the functionality of say - for smart parsing/breaking up of the text, but to request that it use the setting for 'tts_engine' to actually get the audio instead of using the recorded files.
Implementation possibility:
Allow specifying a 'voice' for say via a separate variable (so as to not change the calling convention) - to specify the prefix directory it searches in for audio files. If the desired file isn't present, fall back to generating the words with the configured tts engine. (optional, selectable?) Cache the resulting generated word/phrase for future reuse
-- Nathan
------------------------------------------------------------ Nathan Neulingernneul@mst.edu <mailto:nneul@mst.edu><mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
--
*/Brian West/* brian@freeswitch.org <mailto:brian@freeswitch.org><mailto:brian@freeswitch.org>
*/Twitter: @FreeSWITCH , @briankwest/* http://www.freeswitchbook.com <http://www.freeswitchbook.com/> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Michael Jerris
-
Nathan Neulinger