By using the pfft object in Max MSP I created simple video source of 50 by 50 pixels (50×50 matrix) so it can be used as a control for a LED matrix of the same dimensions. The process if very simple, by generating a subpatch with pfft, you can get the frequency bin that is being processed at the moment with fftin~, using the sound coming from the computer’s microphone. And from the same object you take the real and imaginary parts of the spectral analysis, with which you can get the amplitude and phase of such bin. fftinfo~ gives you information about the current subpatch used by pfft~.
This is an alternative port of Miller Puckett's bonk~ object.