double bob(double ph, double amp, [double n = 1.0, double off = 0.0]) => -amp * math.sin((ph * n + off) * tau);