calejost / unimrcp

Automatically exported from code.google.com/p/unimrcp
Apache License 2.0
0 stars 0 forks source link

MRCPsynth with text/SSML file reference #151

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is a patch for the MRCPsynth application.

It could be complex to pass complex SSML script or contents with special chars.

This patch allows to pass to the MRCPsynth a text reference.
(detects that the first parameter start with a '/').

I think it could help someones and not change the main features of the native 
application.

Regards,

Borja from i6net

Original issue reported on code.google.com by bsi...@gmail.com on 26 Dec 2012 at 10:53

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by achalo...@gmail.com on 7 Mar 2013 at 8:50

GoogleCodeExporter commented 8 years ago
Hi Borja,

Thanks for submission of the patch. I reworked it and applied to the trunk in 
r1898.

The idea is the same. If parameter starts with a leading '/', that means the 
specified argument is a file path. The same logic has been applied to all the 
UniMRCP applications for Asterisk such as MRCPSynth(), MRCPRecog(), and 
SynthAndRecog().

Check it out and let me know if you have any questions.

Regards,

Arsen

Original comment by achalo...@gmail.com on 9 Mar 2013 at 3:59