Comments (1)
The presence of above feature request is a "user winning feature"
The idea is that an alarm starts at a lower volume level to be audible to a keen listener, and with the passage of successive short intervals of time, after each interval the volume is raised, causing alarm more likely to be heard and responded to, before distracting others.
The use case is that
- a phones owner, clock app user would keep phone near by
- user does not want to trouble/disturb/wake-up other occupants/people at location
- user is a light sleeper/alert to alarm/keen-eared-type person who can respond to alarm before the elapse of time to the higher volume levels are reached
Each Timer, Stopwatch and Alarm set could independently have this setting
The parameters for such feature
- bool: toggle button : to enable the increasing volume feature
- int: seconds to elapse to the next volume level (range: 5s to, 0s can be interpreted as disabled )
- int: number of levels (default 10), implicitly decides the increment
- int/float: a minimum start volume (optional, default 10%)
- int/float: a maximum end volume (optional, default 100%)
To implement
- When in alarm_triggered_callback()
- -- if increasing_volume feature is enabled
- -- -- if this is the start, i.e. 0s, start alarm at min-volume
- -- -- set a callback to invoke volume-increment-callback after pre-configured interval
- -- else just set the volume to the pre-configured alarm volume
- -- continue with the rest of the regular alarm setting procedure
- When in volume-increment-callback()
- -- increase alarm volume to the next level by adding to it the the pre-configured increment
- -- if the max-volume not yet reached set callback trigger for next increment after another elapsed no of seconds
After investigating a few clock-apps, ended up using google-clock-app for this feature.
from clockplus.
Related Issues (20)
- error
- New timer crashes when entering first number HOT 3
- Alarm not ringing in Redmi Note 4 (Nougat)
- alarm problems in Android 9
- Daylight Saving Time change confuses app
- missed alarm notification does not let screen turn off
- State of the Repo HOT 2
- Feature Request: Choose Song For Alarms
- feature request: show timer on lockscreen
- Feature request: Soft/custom vibration
- after upgrading to Android 10 no more alarms HOT 2
- Bug: doesn't work when task is removed
- Feature: Ability to slide created timers HOT 1
- Now able to sync HOT 1
- Check & request operation missing before using RingtoneManager.getCursor()
- Alarm fails to work when screen is off HOT 5
- Feature request: add alarm based on date (not just weekday)
- Feature request: Add clocks for other time zones
- Change timer input direction to right -> left
- Someone pick up this project pleaseee HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clockplus.