openmixer — generated API reference
    Preparing search index...

    Function hzToBin

    • The (fractional) bin holding hz in a transform of fftSize at sampleRate.

      The inverse, binToHz, is the detector's — feedback.ts declared it first and both mean the same thing, so it stays declared once and is re-exported from this module's own index.

      Parameters

      • hz: number
      • sampleRate: number
      • fftSize: number

      Returns number