iOS 振动单元细粒度控制
我对 iPhone 上的振动装置有多少控制权?
我正在模拟拨动的琴弦,如果能让iPhone随着声音振动那就太棒了。
所以, a) 是否可以调节振动强度? b) 是否可以更改持续时间?
是否有可能模仿在几秒钟内逐渐减弱的剧烈攻击?
我知道在旧版本的 iOS 中,只能激活它。持续时间和强度均已修复:控制振动
现在仍然如此吗?或者说变得更加灵活了?
How much control do I have over the vibration unit on the iPhone?
I am simulating a plucked string, it would be fantastic if I could get the iPhone to vibrate in accord with the sound.
so,
a) is it possible to modulate the intensity of the vibration?
b) is it possible to change the duration?
Would it be possible to mimic a sharp attack that falls off gradually over a period of a few seconds?
I am aware that in older versions of iOS, it was only possible to activate it. both duration and intensity were fixed: taking control on vibration
is this still the case? Or has it become more flexible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
iOS 5 附带了一个应用程序,可让您设计 自定义振动。振动是根据用户敲击手机而“设计”的。
这意味着创建自定义振动在技术上是可行的,但我不知道是否有 API。如果最新的 SDK 中有此内容,无论如何它仍处于 NDA 之下。
iOS 5 comes with an app that let's you design a custom vibration. The vibration is "designed" based on the user tapping on the phone.
That means it's technically feasible to create custom vibrations, but I don't know if there's an API for it. If there was in the newest SDK, it'd still be under NDA anyway.