Commit Graph

162 Commits

Author SHA1 Message Date
5ec5916cc8 Increase cache time for text to speech data 2023-09-07 14:01:31 +08:00
6b398c0571 Add more ultra voices, add a larger font size in the reader 2023-08-23 12:18:01 +08:00
792cf0b207 upgrade google cloud sdk 2023-08-11 13:55:29 +08:00
0426bdb29f Merge pull request #2554 from omnivore-app/fix/logging
fix/logging
2023-07-28 12:19:16 +08:00
3146b3bcc5 remove redundant logs 2023-07-27 17:55:17 +08:00
2e965afd69 reformat sql query in logs 2023-07-27 17:34:12 +08:00
078c26801d Upgrade the speech sdk version 2023-07-26 18:31:20 +08:00
fa1ff9ba17 Upgrade node to 18.16 2023-07-24 15:55:11 +08:00
14b7ed5252 Fallback to old sentence tokenizer if new one is failed 2023-04-20 19:44:08 +08:00
6337d60146 Add test for Chinese 2023-04-20 17:10:32 +08:00
c63ecc94fb Replace SentenceTokenizerNew with SentenceTokenizer 2023-04-18 09:33:48 +08:00
c697b0cb4d Add test case 2023-04-17 19:13:09 +08:00
8a86f19e61 Upgrade natural nodejs module and use a new sentence tokenizer based on parsing 2023-04-17 18:56:17 +08:00
d484d26f98 Strip emojis on realistic speech text 2023-02-16 19:16:01 +08:00
1e9fd24cb6 Merge pull request #1808 from omnivore-app/fix/empty-synthesized-output
Return empty result if no synthesized output from api
2023-02-16 17:06:31 +08:00
3dde59c4a6 Clean up logging of API errors 2023-02-16 16:45:37 +08:00
f25b9f09a7 Add some logging 2023-02-16 16:23:03 +08:00
cd9c2e50b5 Use a voice mapping 2023-02-16 15:43:12 +08:00
9d5cb84648 Return arraybuffer from realistic voice API 2023-02-16 13:19:24 +08:00
7177279951 Fix envar name 2023-02-16 11:23:28 +08:00
9566c17db3 Update API for ultra realistic voices 2023-02-16 10:56:24 +08:00
5bde7f0344 Lint 2023-02-15 23:49:05 +08:00
9d5b298dc0 Return empty result if no synthesized output from api 2023-02-15 17:37:48 +08:00
49e40994ee Fix text to speech timeout issue by sending the response back when cache is invalid 2023-02-06 11:24:31 +08:00
a729caa458 Return status=500 if no audio data returned by synthesis api 2022-12-01 11:42:36 +08:00
1228efb70f Add docker-compose service 2022-11-21 10:36:41 +08:00
d10099226a Make tests more readable 2022-11-15 13:17:26 +08:00
03a11b310c Fix not tokenizing sentences correctly in li elements by adding a new line to the end of each text in the li element 2022-11-15 13:10:20 +08:00
0f85071af7 validate if user has opted in to use ultra realistic voice feature 2022-11-10 17:18:16 +08:00
b9c5f02fe3 Archive audio file and speech marks file in GCS 2022-11-10 17:18:16 +08:00
398e242131 Add features table 2022-11-08 17:30:03 +08:00
f2a69d06c4 Change default rate to 1.1 2022-11-08 16:53:35 +08:00
769e8c5f96 Add default language and rate 2022-11-08 15:41:20 +08:00
271280f4fc Fix not correctly getting audio file 2022-11-08 12:56:52 +08:00
e3329d0a5f Return audio file if exists 2022-11-08 11:38:14 +08:00
e62765c3e6 Save steaming data in GCS 2022-11-08 11:24:47 +08:00
2e47b0879c Convert HTML to utterances 2022-11-07 19:30:20 +08:00
abc9dd49be Convert wav to mp3 2022-11-07 17:26:53 +08:00
55ad5ec6f5 Return empty array for speechmarks for realistic voices 2022-11-04 15:53:50 +08:00
718f6716bc Add a realistic voice api provider 2022-11-04 13:50:49 +08:00
52da88ed4c Wrap textToSpeech in a class 2022-11-04 12:01:15 +08:00
9197236088 Wrap textToSpeech in a class 2022-11-04 12:01:09 +08:00
64d029e7a7 Get and update character count in redis for rate limit on tts streaming service 2022-11-02 19:35:45 +08:00
d2c6412289 Do not escape utterance in speech file and do it when streaming 2022-10-13 16:40:46 +08:00
811cec6c93 add space to the end of sentence 2022-10-05 17:55:10 +08:00
73de22f678 Use wordLength in the event 2022-10-05 17:42:24 +08:00
321895844f Revert back change on wordOffset 2022-10-05 17:41:18 +08:00
1b8d6d761c Stop synthesize code blocks 2022-10-05 17:07:45 +08:00
d279790e81 Detect word boundary only in speech marks 2022-10-05 16:50:16 +08:00
174afe0085 Add test for decimal point in a sentence 2022-10-05 16:48:20 +08:00