FFT#

The amplitude spectrum of the last N samples of u (pocketfft), and its strongest frequency. rate 0 reads the run clock’s.

fft · signal

Keeps the last size samples (64…1024) and outputs their amplitude spectrum and the strongest bin’s frequency. window is none, hann or hamming, and rate 0 reads the run clock’s.

Inputs#

Port

Type

Unit

Components

u

signal

—

—

Outputs#

Port

Type

Unit

Components

magnitude

numbers

—

—

peak_hz

signal

—

—

Parameters#

Param

Type

Default

Options or unit

size

enum

"256"

64, 128, 256, 512, 1024

window

enum

"none"

none, hann, hamming

rate

number

0.0

Hz