getType() {
    return this.buffer.type;
  }
Returns current type of noise eg. 'white', 'pink' or 'brown'.

 @method  getType
 @for p5.Noise
 @returns {String} type of noise eg. 'white', 'pink' or 'brown'.