Novel Approach to Respiratory Rate Measurement Using Resonance Tube with Contradictory Thresholding Technique