A function with a smooth transition between a sine wave approximation and a square wave approximation.