yet another sine generator