Commit Graph

1876 Commits

Author SHA1 Message Date
66ea008f05 WIP: fetch speech files, show some follow along 2022-09-13 15:22:09 +08:00
e86a107a9a Bump up image size to 160*160 2022-09-12 17:05:31 +08:00
cb13d08421 Strip Emojis from title 2022-09-12 10:55:26 +08:00
3827195aea Catch Maximum call stack size exceeded error when converting html to text and fallback to linkedom 2022-09-12 10:53:51 +08:00
d04ad9d272 Strip Emojis from html text content 2022-09-09 18:33:52 +08:00
f83435eb07 Add stripEmojis 2022-09-09 17:18:27 +08:00
ea59efbf4d Replace with the test address 2022-09-09 15:22:22 +08:00
512c7e10d8 Update sender address 2022-09-09 15:19:54 +08:00
02ab4e45e5 Fix not setting confirmation code from Google Japan confiramtion emails 2022-09-09 15:12:19 +08:00
a01a10e3f5 Put title the first utterance 2022-09-09 12:10:29 +08:00
1be0dd50ef Remove anchors class names that contain "tw-text-substack-secondary" as they are used for Substack subscription 2022-09-08 22:19:27 +08:00
06218ef5e0 Return image proxy url in Article function_resolver 2022-09-08 17:55:09 +08:00
2eb6255ff3 Revert change on wordOffset 2022-09-08 16:19:12 +08:00
85e39dc9f1 Use paragraph as anchor 2022-09-08 16:10:38 +08:00
ff6e84c401 Revert the change 2022-09-08 16:00:26 +08:00
e0ae73b582 Adjust wordOffset 2022-09-08 15:59:44 +08:00
bbed3330e9 Return bookmark in utterances and speech marks 2022-09-08 15:50:35 +08:00
6350a3d53e Make idx string type 2022-09-08 11:33:29 +08:00
68a932ad0b Escape entityName in ssml 2022-09-07 23:13:12 +08:00
967fb3c6d5 Do not throw error if text is empty 2022-09-07 22:56:37 +08:00
8e8a6dccd0 Change rate to string type 2022-09-07 22:55:07 +08:00
9a62a3c31e Add pageId to speech-file 2022-09-07 22:51:44 +08:00
3cf3d40482 Replace speech-file with speech in the route 2022-09-07 22:48:40 +08:00
f927f879fd Exclude empty text in utterances 2022-09-07 22:48:06 +08:00
c6f32a38c2 Moving code block to the top level to synthesize 2022-09-07 19:05:17 +08:00
aeb7e47d68 Make voice, secondaryVoice and priority query params 2022-09-07 18:42:46 +08:00
9117bd668d Update dependencies 2022-09-07 18:20:10 +08:00
bbbd3d10af Update API endpoint 2022-09-07 18:11:59 +08:00
d9dc701de8 Stop counting the words in SSML tags 2022-09-07 18:03:13 +08:00
f1b379b96e Convert html to speech file and return 2022-09-07 18:00:32 +08:00
62619115c8 Convert html to speech-file 2022-09-07 17:59:41 +08:00
35ca4b9054 Fix text-to-speech dependency 2022-09-07 15:16:16 +08:00
96cbdc9f30 Replace wordsCount with wordCount 2022-09-07 15:16:16 +08:00
5781d385ad Return utterances in the API if output format is ssml 2022-09-07 15:16:16 +08:00
7ce7e28e3f Add idx and voice to SSMLItem 2022-09-07 15:16:16 +08:00
33cf975b0e Add dependencies on html-to-text and natural 2022-09-07 15:16:16 +08:00
e6a855db43 Write to audioStream only when uploading file 2022-09-07 15:16:16 +08:00
baaa38547a Create buffer for the audio data 2022-09-07 15:16:16 +08:00
d4dcec75d5 Return 0 for wordsCount if error 2022-09-07 15:16:16 +08:00
33f53da7f0 Change default rate to 1.25 2022-09-07 15:16:16 +08:00
4acfe283ef Remove speechMarks write stream 2022-09-07 15:16:16 +08:00
53f8972449 Send audio data as hex string 2022-09-07 15:16:16 +08:00
c4221f3bf5 Read Utterance input 2022-09-07 15:16:16 +08:00
1bd7637438 Change rate to 1.333 2022-09-07 15:16:16 +08:00
97e560c443 Update wordsCount in page 2022-09-07 15:16:16 +08:00
69f07a6a3c Merge pull request #1161 from omnivore-app/feature/speech-streaming
Create a cloud function to steam speech mp3
2022-09-06 10:40:20 +08:00
3bcd77d87a Hardcode SSML 2022-09-06 10:25:40 +08:00
795ca47414 Save wordsCount when page is created 2022-09-06 10:19:58 +08:00
d00391b593 Add wordCount to Page doc in elastic 2022-09-06 10:03:36 +08:00
7fa092d95e Write speech marks to file stream 2022-09-05 17:16:27 +08:00