code: func Resolution(resolution uint) OptionsFunc {
  	return func(w *Waveform) error {
  		return w.setResolution(resolution)
  	}
  }
docs: // Resolution generates an OptionsFunc which applies the input resolution
  // value to an input Waveform struct.
  //
  // This value indicates the number of times audio is read and drawn
  // as a waveform, per second of audio.