wave generator of sin, tri,saw