The predecessors to trumpets did not have valves; however, modern trumpets have either three piston valves or three rotary valves, each of which increases the length of tubing when engaged, thereby lowering the pitch.