iOS/android + javascript and possibly MIRA?

Ignas Balcius's icon

Hello,

I've been building a sonification project. The idea of the project is that a javascript file talks to the net and brings me data into max through node.js, where then I run it through dict and take the required number values for sonification. Next, there would be raw microphone audio being summed into a sort of mixer/ratio slider to choose which signal you would want to hear more. I made a quick visualiser of this:

The problem I am facing is that I need this max patch to function in a mobile device while still talking to the javascript file. I've checked MIRA and it provides a possibility of 'streaming' the patch, but I think it wouldn't be possible to feed the raw microphone data from the mobile device right? As it is working more as a mapping function?

And even if the mobile device is able to link its raw microphone data to the patch and then get the overall patch sound output back - it might not theoretically work clearly if several devices would connect to the patch through MIRA (which I would need to happen at the same time)?

I might be wrong as I am still early in my maxmsp journey..... But please, if you can at least direct me towards possibly useful information, I would be forever grateful!