Developing wearable bio-feedback systems: a general-purpose platform