set pitch and volume