Ergospirometric signal processing for human breath and force measurements