triangle wav form, but it plays and updates at the same time