openmixer — generated API reference
    Preparing search index...

    Function fftSizeForRate

    • The RTA FFT length for rate — the TypeScript mirror of mix_dsp.h's omx_rta_fft_size_for: the smallest power of two whose bins are at or under RTA_TARGET_BIN_HZ (44.1/48 kHz → 8192, 88.2/96 kHz → 16384, 176.4/192 kHz → 32768). Window TIME stays ~171 ms at every rate — pinning the length instead of deriving it was how moving the rig to 96 kHz silently halved the resolution (2026-09-17 declare-derive audit, F2). Every consumer of an offline/synth or a server RTA frame derives its window from the graph rate through this function rather than declaring one of its own.

      Parameters

      • rate: number

      Returns number