Commit Graph

130 Commits

Author SHA1 Message Date
14811ee2d4 Bump version, improve analytics 2024-02-06 11:43:44 +08:00
a4976a7b62 Add badge counts, fix logout and delete item navigation issues 2023-12-20 14:35:59 +08:00
69709dd37a Add Yunxi voice, comment out today buttons for now 2023-11-21 10:38:52 +08:00
bf160cdd86 Reset playback errors when restarting, dont allow selecting ultra voices if not in beta 2023-11-14 13:18:37 +08:00
884563d7f1 Stop observers on error 2023-11-09 09:29:27 +08:00
f83701c6cc Move the voices out of the bundle 2023-11-08 22:51:35 +08:00
8bd9beebc6 Set playback error if speech file does not download 2023-11-08 20:29:08 +08:00
5db983510b Swift linting 2023-11-08 20:20:46 +08:00
155d71c7bd Add some voices 2023-11-08 19:36:34 +08:00
2231181893 Add French as a language option for text to speech 2023-10-25 09:24:54 +08:00
76c094b1ba Force reading position to update on iOS in PDFs 2023-10-24 19:27:09 +08:00
c94227ded9 Improve labels loading for iOS17, bump version 2023-09-19 12:22:38 +08:00
135feeb362 Handle ios out of bounds issue 2023-09-19 07:08:18 +08:00
5394649d42 Fix array 2023-08-23 12:29:47 +08:00
6b398c0571 Add more ultra voices, add a larger font size in the reader 2023-08-23 12:18:01 +08:00
4c6618ff3f Fix bug preventing secondary ultra releastic voices from being used 2023-08-22 10:24:06 +08:00
9cd8ecd75b Use 15s as the default skip interval for text to speech 2023-04-17 10:36:17 +08:00
b61b511c23 add os conditionals to get mac app to compile 2023-03-22 09:24:12 -07:00
774c2bc16c resolve or remove todo comments 2023-02-27 16:52:52 -08:00
fe9376488f update existing code to use wrapper API 2023-02-27 08:17:27 -07:00
8068b11f1e Merge pull request #1830 from sixten/warnings
Address iOS compiler and linter warnings
2023-02-22 11:01:43 +08:00
ce04baedee When preloading make sure we dont mutate the current document 2023-02-21 16:33:57 +08:00
073fd66f4f Make sure the current language is initialized 2023-02-21 15:58:35 +08:00
6fd8729291 disable quite a few line length warnings 2023-02-20 12:15:29 -07:00
f7168ff65a reformat some multi-line expressions
Honestly, some of this formatting seems a little weird, but it appears to thread the needle between the competing requirements of swiftformat's wrapMultilineStatementBraces rule and SwiftLint's opening_brace rule.
2023-02-20 12:15:29 -07:00
8156328cf6 fix some linter warnings on deliberate code 2023-02-20 12:15:29 -07:00
9749e94eb0 results of data call are not Optional 2023-02-20 12:15:29 -07:00
c9296deac4 Update TTS user interface 2023-02-20 22:49:09 +08:00
3d275dd559 Enable realistic voices, update voice list 2023-02-16 16:21:55 +08:00
d8392a64dd Remove unused color 2023-02-07 15:56:53 +08:00
3e4f9409df Dont fully close audio player on error
This gives users the ability to change the selected language if
the error was related to language / voice.
2022-12-01 12:50:59 +08:00
df11add608 Add samples for LK, MY, and SG versions of Tamil 2022-11-29 19:00:04 +08:00
77c071c099 Add Hindi and Tamil as text to speech options 2022-11-29 14:49:45 +08:00
d7290044a8 Save listen position independent of read position when listening to articles
When you restart an audio session it will start at the previous
listen position.
2022-11-24 13:58:30 +08:00
be941faf39 Handle case where AVQueuePlayer doesnt update the current item for shorter audio segments 2022-11-11 15:55:28 +08:00
98df7164e5 When enabling ultra realistic voices, if granted select a default voice 2022-11-11 15:55:28 +08:00
6ba5b6165b Pass in feature auth header for TTS if set 2022-11-11 15:55:28 +08:00
a4419e58bc WIP: toggle for realistic voices 2022-11-11 15:55:28 +08:00
59271882a5 Use currentAudioIndex, this will give us the option to force it to a differnt value
Sometimes the play item isn't updated very quickly, the timeElapsed
can be greater than the duration in those cases. We could probably
force the currentItemIndex to increment in those cases to get
speech cards to update.
2022-11-11 15:55:28 +08:00
a0f17185d8 Update the share extension view to newer design 2022-11-11 15:55:28 +08:00
878cb51533 Separate out the speechplayeritem class, implement a queued prefetch 2022-11-11 15:55:28 +08:00
5865be5982 Update ultra voice list 2022-11-11 15:55:28 +08:00
48b0ea09bd Add sample voice files / Stop sample voices when unpausing 2022-11-11 15:55:28 +08:00
b47b1ca49a Add samples for voices 2022-11-11 15:55:28 +08:00
aad1a51da8 Allow speechmarks data to be empty 2022-11-11 15:55:28 +08:00
3d9976e06a WIP: Adding ultra realistic voice support 2022-11-11 15:55:28 +08:00
467a37e8cc WIP: New themes and reader preferences for iOS 2022-11-01 17:40:11 +08:00
bafe1bd338 Ensure the audio index is updated when items are changed 2022-10-13 15:04:57 +08:00
2e9bda7835 Dont instantiate TabView with zero items
Seems this prevents the crash when the TabView tries to set
its index to 0/0.
2022-10-13 14:02:17 +08:00
8fcbfbbd2e fixes after rebasing 2022-10-12 12:58:32 -07:00