Yin constructor

Yin(
  1. double audioSampleRate,
  2. int bufferSize
)

Implementation

Yin(double audioSampleRate, int bufferSize)
    : this._sampleRate = audioSampleRate,
      this._threshold = defaultThreshold,
      this._yinBuffer = List<double>.filled(bufferSize ~/ 2, 0.0);