In that case I suggest you need to determine whether the latency occurs within the Firmata sketch or the (ableton ?) application receiving the events from it, and then approach the corresponding user community for help.
In that case I suggest you need to determine whether the latency occurs within the Firmata sketch or the (ableton ?) application receiving the events from it, and then approach the corresponding user community for help.