Meaning of VibeProfile dutyCycle

Can anybody explain the use of the first argument of VibeProfile?

The doc states "Duty Cycle of the vibration, has a range of [0, 100]" and I thought it would then be the pitch of the sound, but that does not seem to be the case. Also the strength of the vibration feels the same for all values...
  • The dutyCycle should affect the frequency of the vibration, which can also be perceived as the strength of the vibration. I know that this is definitely noticeable on the vivoactive, but I'll need to verify whether it works as expected on the 920. I noticed that the vibe profiles are all the same on your sample app regardless of the dutyCycle that is chosen, but I hadn't looked into it and wasn't sure whether it was something related to the app or the device. Incidentally, your sample app crashes on the vivoactive, so I wasn't able to verify against the vivoactive.
  • Incidentally, your sample app crashes on the vivoactive, so I wasn't able to verify against the vivoactive.


    I'll be very happy to test it fully if I had a vivoactive device - maybe you can send me one ;)
  • I was able to test this, and it looks like the 920 does not support the dutyCycle parameter. This isn't a Connect IQ limitation, but a hardware limitation (it has to do with the vibe motor used in the device). In fact, right now the vivoactive is the only device that supports different vibration frequencies.
  • So, if I understand, the dutycycle would affect the strength of the vibration and the length determine how long the vibration is? An example would be the difference between the vibrations for the VA's notifications versus the vibrations for the VA's Move bar vibration. The VA's notifications are one short, soft vibration (low dutycycle?) while the VA's Move bar vibration is two short but stronger (higher dutycycle?) vibrations?
  • You might be able to test this with a demo app I made some time ago.

    Have a look at https://github.com/blackdogit/connectiq-apps-public - changes, fixes and extension are always welcome.

    /Tonny
  • @oldman1z: Yes, that's correct. Another place this is used is in the Garmin-published score trackers. The Soccer Score Tracker, for instance, will do a low-hi-low vibration pattern at the end of the match. Technically, the duty cycle controls the frequency of the vibration, but I think it's perceived as the intensity of the vibration. Like you said, the "soft" vibration is really just a low frequency or low duty cycle vibration.
  • Thanks for the information. Since this is addressable in the API, is there any reason "adjustment factors" for duration and intensity could not be added to the setup screen for notifications? For example, could these not be added under VA's System settings, Vibration?
  • It's possible, but this would be a firmware-level change rather than something related to Connect IQ. You could allow users to configure vibe alerts within your own app, however. So while it wouldn't be system-wide, it would give some flexibility on a per-app basis.
  • Former Member
    Former Member over 10 years ago
    I was able to test this, and it looks like the 920 does not support the dutyCycle parameter. This isn't a Connect IQ limitation, but a hardware limitation (it has to do with the vibe motor used in the device). In fact, right now the vivoactive is the only device that supports different vibration frequencies.


    Just to be sure: it also does not work in the Fenix 3?
  • This does work on the Fenix 3. It is only the FR920 where this doesn't work.