forrestguice / SuntimesWidget

Android app (and widget collection) that displays sunlight and moonlight times.
GNU General Public License v3.0
350 stars 61 forks source link

Read time aloud [Feature request] #713

Open ahmad939 opened 1 year ago

ahmad939 commented 1 year ago

Greetings,

This request pertains to the Suntimes alarms. I would like to suggest the following enhancements for the alarms:

  1. Implement a feature where alarms read the time aloud once and repeat the announcement after every snooze interval.
  2. It would be beneficial to have the option to choose between read time aload only, and with ringtone while respecting audio focus.
  3. Of course, it would be an app Philosophy to incorporate language customization for the Text-to-Speech (TTS) engine.

Furthermore, regarding the snooze functionality, it would be environmentally friendly if the screen could be allowed to sleep during the snooze period.

Thank you for developing this well-designed application.

version 0.15.4 and android 12 Best regards,

ghost commented 1 year ago

Can you make it play gongs on the hour?

forrestguice commented 1 year ago

@ahmad939 I'll give this some consideration. I'm not opposed, but will need to research the technical aspects before making any promises.

Also, I agree it would be better for the screen to sleep during snooze. I double checked the code though, and can verify its not doing anything to explicitly keep it awake. The device should fall asleep on its own after a moment or two. That activity uses FLAG_TURN_SCREEN_ON though, so I've tried clearing it in the recent patch (v0.15.5). Maybe this will allow your screen to sleep.

@svjasonmchristosthefirstsp An "hourly chime" sounds like a similar but different feature. I might consider it for v0.16.0, but it also seems like something that would be a good fit for an app like "Natural Hour". Btw, if you wanted to do this now, you can probably get the same effect by creating multiple repeating "quick notifications", each for a different hour. Its not very convenient though.