I’m trying to make a plugin that requires syncronisation with the host. Obviously this requires knowing the bpm that the host is operating at. This is the logic that does that:
It’s a wrapper for std::optional . Use hasFallback or how it’s called or point to it adding asterisk (*). Just remember you should check if it has value before pointing to it (or use the fallback)