p5.FFT with cordova

p5.AudioIn() does not work when build app using cordova. Therefore, I’ve used cordova plugin to receive microphone audioContext. Now, I want to connect above context as input to p5.fft to visualize waveform.
How can I achieve this?

Hi @sarthak_g ,
welcome to the forum !
I never used P5 embeeded in cordova, but I suppose you can use the setInput() function to set your audioContext as source.

1 Like