
INF/NAN FILTER/DETECT
---------------------

Diagnostic / debugging tool to detect and filter out any INF or NAN samples in the input audio signal.

Whenever an infinite sample is received, either positive or negative, it is converted to zero and the bool INF output indicator is set.

Whenever a NAN sample is received, it is converted to zero and the bool NAN output indicator is set.

Setting the Reset pin clears both indicators.

Ideally, two LEDs should be connected to the bool indicator outputs.