We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I hope to build an app that records and processes audio info sampled from the environment, and saves certain FFT data to a txt file. This would be my first p5.js project, but thought it might be a fun way to get my feet wet with it. Still, since I'm a noob to all this, I'm hoping I could get some general workflow advice from you folks.
In a perfect world, my user would interact with the app within a web browser, hit a "record" button, capture a 5 second event, see the visualized FFT spectrum and a table of frequency/amplitude values emerge. From there, the user hits a "save" button, and both an mp3 file of my recording and a text file of its analyzed frequencies and amplitudes are saved.
But I realize there's some stuff (like saving files) that isn't allowed in client-side JS. And I'm not thrilled that I have to allow permission to use the mic each time I want to record from within the browser.
What would you suggest as the best approach? Could I (should I?) use node.js to handle the recording and saving of the audio, and use p5.js just to process the audio? Or is this type of interactive app not really fit well to p5.js.
For the record, I built the visualizer / FFT table in about a minute with p5.js (logging data to the console), so I was very excited at its capabilities!
Thanks in advance for any thoughts for me!