Closed aburt2 closed 7 months ago
You should be able to reuse the OSC bundle and speed things up even further:
void updateOSC() {
if (puara.IP1_ready() || puara.IP2_ready()) {
lo_bundle bundle = lo_bundle_new(LO_TT_IMMEDIATE);
if (!bundle)
return;
updateOSC_bundle(bundle);
if (puara.IP1_ready())
lo_send_bundle(osc1, bundle);
if (puara.IP2_ready())
lo_send_bundle(osc2, bundle);
lo_bundle_free_recursive(bundle);
}
}
tested by @kaseypocius on the T-Sticks at IDMIL
platformio.ini changes