What this function should do is take one of the four values of oscillator.type when its called, but always it only takes the value \'sine\' of the four available elements.