mmbt2222, 2n7000, uln2003, tip122, irf540/9540, sheesh
its inputs have a schmitt trigger mode. if you can deal with 200mv hysteresis you can maybe use three resistors instead of an analog comparator
technically yes it's a chip but not an ic
resistors are under a cent
also they do have adcs and comparators and can drive 200ma. and they are reasonably tough
but you don't need much adc precision or speed or much drive current before you want something better
I’ll take an STM32 over an RP2040 any day. (The “Black Pill” dev/breakout board is a dollar and fifty cents on AliExpress, and I’ve seen it sell for a dollar or less.)
-----
EDIT: Speaking of which, I'd have to imagine that most FFT algorithms for low-power / simple electronics work would rather be implemented in analog OpAmps + Analog Filters rather than digital logic (or digital filters).