Got a basic functional prototype working for the microphone team.
We were looking for a method to use the p5 speech library for continuous speech recognition and getting the results to Max.
I found a solution after Luke duBois suggested using websockets.
- Node server hosts p5 sketch
- Browser sends word back via websocket
- Node server writes word to text file
- Max gets text file via
GETrequest very often
The worst part is the continuous
GET requests from Max. I’ll see if I can replace this with sending messages via OSC.