Sets the type of the oscillator.
Syntax
  
      setType(type)
      
         
      
    
Parameters
 type 
String: type of the oscillator. Options: 'sine' (default), 'triangle', 'sawtooth', 'square'
Notice any errors or typos? Please let us know. Please feel free to edit src/Oscillator.js and open a pull request!