I'm trying to use ESP32 boards as wireless receivers in a musical context where timing is critical, but when sending data via OSC the timing is all over the place (the click sound is generated by the PC that is sending the OSC via Wifi, showing the offset with the LED timing). Any ideas for a fix?

This page summarizes the projects mentioned and recommended in the original post on /r/esp32

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ESPNtpClient

    High accuracy NTP library for ESP32 and ESP8266

  • i didn't know you're sending notes too, ok. either send all notes together or only the very imminently next note might suffice. i was sceptical about the accuracy of NTP, supposedly most libraries have an accuracy of 1second, but this particular library is supposed to reach accuracies in the milisecond range, that should work. https://github.com/gmag11/ESPNtpClient basically sending one note with NTP time in the future and wait until that times has passed ( + 20ms?), then send next note.

  • Docs

  • See this FAQ: https://github.com/FalconChristmas/Docs/blob/master/faq.md#how-do-i-set-up-multiple-pis-to-sync

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • coffee_assistant

  • Here's a complete sketch that works and calls it: esp-now-bridge-test.ino

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts