How can use a large (mora than 1500 characters) SSML speech file into aws sumerian with amazon polly? - ssml

I´m working in AWS sumerian and I use a host to speech my ssml file. When I use more than 1500 characters the scene can not run and I receive a message error that the max lengh has reached.
I want need to use a ssml speech file with more than 5000 characters, so if someone know how to split a large speech file in sumerian and then play it with amazon polly, please help me.
Thank you.

What if you just split the files and sequence them in the state machine?

Related

WOS2 Sending File by SFTP with Guaranteed Delivery

I have a question regarding the following scenario: I want to pick up a file from an SFTP server using the WSO2 VFS transport. This file should then be passed on to a target system using e.g. SOAP. One requirement I have is that the file mustn't get lost in case the WSO2 goes down. I know about the Enterprise Integration Pattern "Guaranteed Delivery" and how it is implemented with WSO2 (https://docs.wso2.com/display/IntegrationPat-terns/Guaranteed+Delivery).
Is there a gap between picking up the file from the SFTP server and writing it to the message store that could lead to a complete loss of the read file in case the WSO2 server goes down? Is a special configuration of the VSF transport (https://docs.wso2.com/display/ESB470/VFS+Transport) recommended?
I would really appreciate if you might share any experiences or recommendations related to these questions.
Kind regards,
Heiko
If any error happens while reading file form SFTP location, you can set an error location parameter to move that file to that particular location. Later you can process the files from the error location.

Use Spark to stream the contents of an S3 bucket that is constantly updated

I have an app that exports files to an S3 bucket every certain amount of time. I need to develop a Spark Streaming app that streams from this bucket and delivers the lines of the new files every 30 secs.
I have read this post which helped me understanding about the credentials, but still won’t address my needs.
Q1. Could anyone provide some code or hint on how to do this? I’ve seen the twitter example but I could not figure out how to apply it to my scenario.
Q2. How does Spark Streaming know which was the last file that streamed before picking up the next one? Is this based on the file’s LastModified header or some sort of timestamp?
Q3. If the cluster goes down, how do I manage to start streaming from where I left?
Thanks in advance!!

at commands to send image/ audio clip though sms

i have used AT commands previously to send a simple text message from PC to mobile via gsm modem. this is the link i referred to. However, I was wondering if is it possible to send images or short audio clips using AT commands. I have searched a lot but couldn't find any source. Any kind of help will be appreciated.
I don't think it's possible for a GSM modem. You may need a GPRS modem instead. But I wonder if there's a standard for sending MMS, although it's clear that some manufacturers have their own AT commands set. On my putal modem the commands are AT^UPLOADFILE, AT^MMSSEND and AT+EMMSEXE. You could refer to your own modem's dev manual.

How to capture network traffic by process name in mac?

I am trying to automate the process of capturing network packets send by a particular application.I don't have problem in windows as I am using Microsoft Network Monitoring tool and that gives all the traffic send based on the process.Now the problem is that we need to achieve the same result in mac as well.
We used Wire-shark in mac for capturing network traffic after a long research but still wireshark does not capture by process name.We tried some tools that captures based on process name but with very limited information. We need the full packet informations to be captured.
What will be the best way to achieve the result in mac as like we are getting in windows?
what all parameters can be used to filter the wanted data...?
I am in fact trying to get the port number used by the process but is that a right approach ? I am not sure we can zero down based on port number.
Any help would be greatly appreciated...
Thanks in advance...
You can use lsof command, but it's more complex than netstat.
Here is a guide: lsof survival guide

How can I remotely watch logs on Win2003 servers?

(Briefly, like this question but for Windows servers.)
I have several Win2003 servers running custom application services (C/C++, not Java) that write text-based logs in a custom format.
[2009-07-17 12:34:56.7890]\t INFO\t<ThreadID>\tLog message...
[2009-07-17 12:34:56.7890]\t *WARN\t<ThreadID>\tLog message...
[2009-07-17 12:34:56.7890]\t**ERR \t<ThreadID>\tLog message...
I would like to have a way to easily and efficiently (over a not-very-fast VPN) "watch" these logs for lines that match a pattern (like tail -f |grep -E on linux). Ideally the output would need to be aggregated, not one window/shell per file or per server, and a Windows application would be best, so that I can put it in front of people who are command-line-phobic.
Any recommendations?
edit: fixed link
Try using baretail
splunk from www.splunk.com is the way to go. It is free & does exactly what you are asking for.

Resources