peetzweg / aves

0 stars 0 forks source link

[MUST] Handle more than 1500 Characters #15

Closed peetzweg closed 7 years ago

peetzweg commented 7 years ago

Totally important. Most articles are way longer than 1500characters. I think the easiest way is to split them up in multiple files and storing an array of the locations in the dynamo db [part1, part2, part3]

peetzweg commented 7 years ago

While doing this it would be great to directly incorporate the title of the article as well as the Author

Furthermore using SSML could be helpful with this task https://www.w3.org/TR/2010/REC-speech-synthesis11-20100907/

peetzweg commented 7 years ago

Also interesting to see how the player handles multiple files.

peetzweg commented 7 years ago

synthesize Save loop and lastly save everything at once to the dynamo. And is it possible to call the callback multiple times?

peetzweg commented 7 years ago

Just saw that arrays are not natively supported by the dynamodb document client an a helper method should be used.

https://aws.amazon.com/blogs/developer/announcing-the-amazon-dynamodb-document-client-in-the-aws-sdk-for-javascript/

peetzweg commented 7 years ago

Phew, hard task so far. I need to return the first synthesised file and continue with the rest. Waiting for all just take way to long.

peetzweg commented 7 years ago

Just doing it all at once. It does only take so long for the first time. It's easier for now and i don't know if its worth it afterwhile