How can i use raw signal data for p5.fft?

Recently i used p5 for signal processing on web.

what I am doing now is get data from my Data Acquisition Embedded Device

and send the raw data(actually python list) to web.

and i want to process fft on web.

but most examples just show how to fft using mp3 file.

is it possible to use array as input of p5.sound.fft?