Hey guys, apologies in advance for the off-topic post, just fishing for
comments here.

Recently I was in the market for a treadmill, looking to loose a good
portion of this beer gut around my mid-section. As I looked for
treadmills I started to notice one common feature in all of them, the
all seemed to support something called "iFit.com".

After a little digging around I also saw that just about any fitness
equipment with electronics also seemed to support iFit.com, treadmills,
stationary bikes, elliptical trainers, stair walkers, rowing machines,
etc. So I went to iFit.com and figured out that iFit.com has programs on
their website that stream customized workouts right to your fitness
equipment. I thought this was the coolest thing ever, so I bought the
treadmill and decided to give it a try.

I wasn't long before I realized that iFit.com's website workouts can
only control your fitness equipment from your computer if you are using
windows. Which is lame as ever.

Since the cable connection from the computer to the treadmill is done
with a standard audio cable connected to the soundcard, I thought I
might be able to reverse engineer the sound signals coming from the
website and write my own program to control the treadmill. Well, that
was no luck. Then I found this guy:

http://members.ync.net/mcuriale/imfit/

Mike had already reverse engineered the audio "pulses" that control the
treadmill (GOOD), but he did this using Visual Basic under Windows
(BAD). I was able to convert his Visual Basic code into Perl code and
now I have a successful re-implementation of his code that produces the
audio pulses that control the treadmill. This not only runs on Linux but
it is pure Perl (no "use" statements whatsoever), so it will run on ANY
platform supported by Perl (although the wav files it produces are
little endian but I think sox'll swap bytes if you need it).

My question for you guys (since you're the only programmers I really
dialog with on a regular basis), is how many of you out there own such
fitness equipment? If any, have you ever wanted a nice program for
managing your workouts in a way that doesn't require an $$$expensive$$$
subscription to a proprietary website.

Mike's program is great, but it basically does two things creates
workouts, and plays them. I  am looking to do more like integrate with
mysql and keep a database of workouts, calendar of what workouts were
done on certain days, maybe even putting in some features that would be
of use to personal trainers since they seem to always have their clients
working out on these kind of machines.

Comments are welcome, just seeing if anyone else out there is interested
in this fitness stuff and also explaining why you haven't seen many ON
topic posts from me lately or random rants about why Canopus boxes are
so awesome.


-- 
Aaron Newsome <[EMAIL PROTECTED]>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to