a recording device that measures the amount of air inhaled or exhaled and the length of time required for each breath