implement simple sine wave audio generator (still sounds awful)