day 9: variable pitch sine wave output