ISSUE-146: Add vibration strength control
Add vibration strength control
- State:
- POSTPONED
- Product:
- Vibration API
- Raised by:
- Frederick Hirsch
- Opened on:
- 2013-08-22
- Description:
- Raised on behalf of Binyamin, "ext 7raivis@inbox.lv" <7raivis@inbox.lv>
Issue
http://lists.w3.org/Archives/Public/public-device-apis/2013Aug/0040.html
Vibration strength control would improve UX, it is like to control sound
volume. It shocks on starting loud music or strong vibration. If it would
have option to start from peaceful quiet music, weak vibration, it would
make a obviously strongly better UX. Old GSM devices still has such a
examples.
Proposal , see http://lists.w3.org/Archives/Public/public-device-apis/2013Aug/0051.html
Vibration API strength proposal with stair-stepping/smooth volume reduce/increase:
navigator.vibrate([
{
"time": 200, // Required property.
"volume": [0, 80] // Minimum 0, maximum 100, default 100. [0, 80] smooth volume increase - starts volume strength at 0 and smoothly increases to 80 till end.
},
{
"time": 1000, // 1000 ms
"delay": 50, // Will start vibrate after 50 ms. Default 0 ms
"volume": [0, 100, 0] // Smooth volume reduce-increas-reduce - starts at 0, smoothly increases to 100 in 50 ms and smooth reduce to 0 at end.
},
{
"time": 200,
"volume": [50] // Stair-stepping volume - will start and end volume strength 50.
}
]);
or the same in simplified version without strings:
navigator.vibrate([{200, [0, 80]}, {1000, 50, [0, 100, 0]}, {200, [50]}]);
and single 1 s vibrate with 100 strength and without delay:
- Related Actions Items:
- No related actions
- Related emails:
- Re: [vibration] issue status summary (from mvanouwerkerk@google.com on 2014-01-06)
- [vibration] issue status summary (from Frederick.Hirsch@nokia.com on 2014-01-03)
- [admin] Agenda - Distributed Meeting 12 December2013 (from Frederick.Hirsch@nokia.com on 2013-12-11)
- Re: [admin] Agenda - Distributed Meeting 21 November 2013 (from jean-claude.dufourd@telecom-paristech.fr on 2013-11-21)
- [admin] Agenda - Distributed Meeting 21 November 2013 (from Frederick.Hirsch@nokia.com on 2013-11-21)
- Agenda - Distributed Meeting 7 November 2013 (Thursday) (from Frederick.Hirsch@nokia.com on 2013-11-05)
- Re: Agenda - Distributed Meeting 31 October 2013 (Thursday) (from jean-claude.dufourd@telecom-paristech.fr on 2013-10-29)
- Agenda - Distributed Meeting 31 October 2013 (Thursday) (from Frederick.Hirsch@nokia.com on 2013-10-28)
- Draft minutes today 3 October 2013 (from Frederick.Hirsch@nokia.com on 2013-10-03)
- Re: Vibration API strength (weaker/stronger) (from mvanouwerkerk@chromium.org on 2013-10-03)
- Re: Vibration API strength (weaker/stronger) (from anssi.kostiainen@intel.com on 2013-10-03)
- Agenda - Distributed Meeting 3 October 2013 (Thursday) (from Frederick.Hirsch@nokia.com on 2013-10-02)
- Minutes 26 Sept 2013 (from Frederick.Hirsch@nokia.com on 2013-09-26)
- Agenda - Distributed Meeting 26 Sept 2013 (Thursday) (from Frederick.Hirsch@nokia.com on 2013-09-26)
- Draft minutes DAP 19 Sept 2013 teleconference (from Frederick.Hirsch@nokia.com on 2013-09-19)
- Agenda - Distributed Meeting 19 Sept 2013 (Thursday) (from Frederick.Hirsch@nokia.com on 2013-09-18)
- Cancel DAP call this week, meet next Thursday 19 Sept; pls work on ISSUES and ACTIONS on mail list (from Frederick.Hirsch@nokia.com on 2013-09-10)
- Agenda - Distributed Meeting 4 Sept 2013 (from Frederick.Hirsch@nokia.com on 2013-09-03)
- DAP-ISSUE-146: Add vibration strength control [Vibration API] (from sysbot+tracker@w3.org on 2013-08-22)
Related notes:
comment from Marcos http://lists.w3.org/Archives/Public/public-device-apis/2013Aug/0062.html
FWIW, I think this would be a worthwhile addition in a future version of the specification. This seems particularly useful for games, alarms, etc. - basically anything that provides some kind of varying tactile feedback or notification. Solving this with what looks like pulse modulation as Michael van Ouwerk suggested is also a cool idea, but I don't know how sensitive/controllable vibration hardware is.
I mentioned this proposal to the Apache Cordova committers mailing list and I received the following feedback: "iOS has no way to control vibration strength FYI, so it will just ignore this parameter if implemented"
Lisa Seacat DeLuca, 30 Sep 2013, 14:28:54DAP WG resolved to defer until implementation support
Decision 3 Oct 2013
http://lists.w3.org/Archives/Public/public-device-apis/2013Oct/att-0024/minutes-2013-10-03.html#item04
Display change log