Your project has many pieces. Break it down into small pieces and check bit by bit. Yo have
- Nodejs
- R-PI 3
- BLE
- External ADC streaming your mic data
- P5.js sound to capture this data
The first step is to see if p5.sound can connect to this device and access this data. Have you done any test so far?
Kf