I’m trying to send music control data from an Arduino via BlueSmirf to a MAX patch that includes a Java external using the rxtx API. I have everything working and communicating nicely, but the latency and timing jitter is typically 15 ms and sometimes as much as 50 ms. That’s pretty bad for music control data. I’ve gathered that the problem resides in the connection between the JNI, which is what rxtx talk to, and the hardware. I suppose that one possible solution is getting the source of the JNI libraries and miraculously altering them to reduce the latency. I would, however, love to hear a better solution. Thanks,
Patrick