Commit Graph

847 Commits

Author SHA1 Message Date
924d981deb Add test page 2022-09-14 16:59:21 +08:00
eab6911bcb mask bottom of mini player safe area so list view doesn't peek through there 2022-09-13 08:39:23 -07:00
28826970fc dismiss current reader view when tapping view article from audio sheet 2022-09-13 08:10:04 -07:00
56441b5958 Download audio artwork 2022-09-13 17:06:38 +08:00
e73072e224 Updates after rebasing, implement download for offline audio 2022-09-13 16:03:34 +08:00
9b1ce21f6f remove explicit try call for decoding SpeechDocument 2022-09-13 15:27:48 +08:00
c4152a05a0 create a LinkedItemAudioProperties struct that can be passed to AudioController (instead of passing LinkedItem) 2022-09-13 15:27:48 +08:00
bc9b0b0752 Increase timer interval, better handling of seeking near the bounds of audio 2022-09-13 15:27:48 +08:00
e39888158d Better handling of end of stream detection 2022-09-13 15:27:48 +08:00
ab7d34337f Improve voice changing during playback 2022-09-13 15:27:48 +08:00
73841bc2da Implement voice switching during playback
This assumes voices are approx the same duration, which is
more accurate than rebuilding durations off of the estimates.
2022-09-13 15:27:48 +08:00
f5c5cd76ec When seeking into a new player item make sure we seek to the correct offset 2022-09-13 15:27:48 +08:00
1950e3626c Add 1.1 as a playback rate option 2022-09-13 15:27:48 +08:00
6c2333fd65 Update durations when playback rate changes. Fire timer to update UI 2022-09-13 15:27:48 +08:00
8c4c88a51a Recalculate durations when speed is changed 2022-09-13 15:27:48 +08:00
65c77a9bdf Sort voices alphabetically, add Singapore voice 2022-09-13 15:27:48 +08:00
6c0c8e8d26 Send rate as a string 2022-09-13 15:27:48 +08:00
be2d0e03dd Remove audio info alert 2022-09-13 15:27:45 +08:00
9796646742 Start preloading audio speechfiles, use new domains 2022-09-13 15:26:51 +08:00
5af9ff0e89 Remove unused CachingPlayerItem 2022-09-13 15:26:51 +08:00
8883975979 Use AppStorage for voice and playback rate 2022-09-13 15:26:51 +08:00
8db3b397d7 UI for changing playback rate 2022-09-13 15:26:51 +08:00
c4bbf4f618 Continue naming refactor. Session -> Controller 2022-09-13 15:26:48 +08:00
77e9dc7094 Remove extra spacing at top of fullscreen player 2022-09-13 15:22:09 +08:00
ae5c8269ff Fix typo in string setting secondary voice 2022-09-13 15:22:09 +08:00
1d0b19f909 Full row width tappable area 2022-09-13 15:22:09 +08:00
213cf781a0 Allow voice changing 2022-09-13 15:22:09 +08:00
f7de80f87d Comment out the notification to highlight being spoken items 2022-09-13 15:22:09 +08:00
339745a93b Rename AudioSession to Controller, we should create a smaller class that handles the state of a individual playback session 2022-09-13 15:22:09 +08:00
79ea2c06ee Rename AudioSession to Controller, we should create a smaller class that handles the state of a individual playback session 2022-09-13 15:22:09 +08:00
8a9c1f4100 Fix duration estimation based on word count 2022-09-13 15:22:09 +08:00
66ea008f05 WIP: fetch speech files, show some follow along 2022-09-13 15:22:09 +08:00
a6313f60e0 Updates to streaming audio using new utterances API 2022-09-13 15:22:09 +08:00
2f15a31851 Update to use URLRequest so we can post data 2022-09-13 15:22:09 +08:00
46cb17efb7 messing around with authed URL 2022-09-13 15:22:09 +08:00
0a5e02ec6b WIP: add CachingPlayerItem and switch to AVPlayer for streaming audio 2022-09-13 15:22:09 +08:00
ff6698c12d set linkIsActive on audio session article open 2022-09-12 22:37:03 -07:00
64ee55d829 remove tap handler on FeedCard 2022-09-12 22:16:31 -07:00
64dbafece1 track nav link selection from viewModel 2022-09-12 22:09:16 -07:00
1ada0f02cf Add the Lookup (define) menu item to PDF
We removed this to get extra menu space, but users find it useful.
Especially ESL readers.
2022-09-12 11:43:19 +08:00
7cba83d13e Merge pull request #1160 from omnivore-app/feature/text-to-speech-reader-shortcut
Text to Speech Reader Shortcut
2022-09-02 13:21:47 +08:00
4b04d3bbc9 Add a non-working sheet for changing voice 2022-09-02 13:16:36 +08:00
111029a3f6 Add menus for view article, changing play rate
Also removes the matched geom for animations on the play/pause
button, this lets these buttons just get replaces and the
animation looks a bit better.
2022-09-02 12:33:18 +08:00
1c9e73e2c7 Move tap gesture to the article title, use an animation on transition 2022-09-02 11:38:19 +08:00
4aca2c1c8f require two taps on mini player to open reader view 2022-08-31 06:57:21 -07:00
41a5603593 use nsnotification to open web reader when selected from audio session 2022-08-31 06:56:18 -07:00
d075b03a57 open web reader when user taps on image in expanded audio player 2022-08-30 15:00:37 -07:00
43c02f2987 Improve snack bar colours in light mode 2022-08-30 23:04:06 +08:00
e46d7c7c9e Make offline audio download a user action during beta
This gets us past our cold start problem with audio, giving the
user the control to start downloading items.
2022-08-30 23:03:18 +08:00
6c5525ccd8 Disable preloading in iOS 2022-08-29 23:19:03 +08:00