The organist can choose whether to play loud pipes or soft pipes , flute-sounding pipes or brassy pipes , sweet pipes or harsh-sounding pipes . An action connects the keyboards to the pipes . Stops allow the organist to control which ranks of pipes sound at a given time .