play 5 square waves based on input