Mathias Bredholt

Results 11 comments of Mathias Bredholt

@timothyschoen yeah adding the init functions is quite the pain, would be nice to automate that process somehow :)

The main issue is the non-standard way the the Arduino library system works. As you cannot add include paths to an Arduino project, header-only libraries won't work. I've tried several...

@DatanoiseTV looks perfect, I'll give it a go :)

@kokospalme check my comment here https://github.com/Ableton/link/pull/68#issuecomment-1752451401 For a ESP-IDF component checkout [link-esp](https://github.com/torsoelectronics/link-esp)

The code above should work, is it based on the example code? I noticed that the `portYIELD()` should be removed from the tick task in the example as it will...

I would probably just do something like ``` int currentState = state.beatAtTime(time, 1.) * 24; if (currentState > lastState) { // send midi clock lastState = currentState; } ``` Then...

@DatanoiseTV and I have been trying to generate an accurate MIDI clock from Link on ESP32, but we're experiencing issues with shootouts in the jitter of the clock. On this...

Ok possibly this one in `Sessions.hpp`? ``` void scheduleRemeasurement() { // set a timer to re-measure the active session after a period mTimer.expires_from_now(std::chrono::microseconds{30000000}); mTimer.async_wait([this](const typename Timer::ErrorCode e) { if (!e)...

> Yes. Link periodically re-measures the timing offset with other peers. As this will update the host time / beat time relation it can lead to jumps in the timeline....

I came up with a filter solution that works pretty well for my tests. The idea is to generate a phase signal from the BPM and then calculate the error...