I've been tinkering with generating simple interface sounds and simulating haptic feedback using the WebAudio api. For example, a low frequency pulse can be a surprisingly good simulation of a phone's vibration, and works well on a Macbook.
Video + sample project
Hi Ryhan Hassan, any chance you could re-upload your example? The DB link seems to be down. Would be much appreciated. Thanks!
Nice work, Ryhan!
This is awesome.
Just tried, brilliant idea!
Ryhan does it again
Extremely cool. Benjamin add example?
There must be a way to use the Vibration API.How do you access functions outside of Framer?
How could this be made work?window.navigator.vibrate(200);