Biofeedback

Former Member
Former Member
Had an idea for an app and am still pretty new to the programming side of things...looking for some advice (using Eclipse on Windows). I was thinking it would be great to have an app that would make a tone with each heartbeat that you could listen to. With the Fenix 3 hr and it's wrist-based HR (or even other models with the wrist-based HR or chest strap) you could lay comfortably and with the audio tones learn to relax and slow your heart rate.

Is it possible to que tones/beeps, and going even further, even different tones? Ideally it would be nice to have the tone lower as you slowed your heart rate, but....if nothing else just have a (hopefully) relatively quiet tone to listen to.

Thanks!
  • The list of tones that can be played are pre-defined. You can see the list here. Some devices do not have support for playing tones at all.

    It is pretty easy to play a tone (or vibrate) at a rate related to your current heart rate in an app. I already have a working prototype, but I don't really know what to display on screen. Right now I'm displaying a speedometer-type widget that shows your heart rate on on the range from min to max heart rate, and then draws with different colors with cooler colors being used for lower heart rates.

    Travis
  • Former Member
    Former Member over 9 years ago
    Travis,

    Thanks for the help. I hadn't seen anything on tones in the help literature so this is very helpful. Found the "Attention" sample app with tones and have been playing with that, but that's as close as I had come with it. Do you have your source code available anywhere, or your app itself on the Garmin pages yet?

    Thanks,
    Justin
  • Justin,

    I can post it to github (I need an excuse to figure out how to use git), or I can just send you a .zip of the code. What would you prefer?

    Travis
  • Former Member
    Former Member over 9 years ago
    Travis,

    I couldn't find a way to PM you my email, so don't worry about it if you don't already have it online....appreciate the offer though...very kind of you.

    Thanks,
    Justin
  • Former Member
    Former Member over 9 years ago
    Travis,

    Just wanted to thank you on the forum for your help and work on this. Seems to work pretty well and has been a lot of fun to play around with!

    Justin
  • Dear Travis,

    It's been a while since you posted this.

    Are you still around and willing to share your code? I would very much appreciate it.

    S