I would like to receive messages on the network thread, and know (as precisely as possible) when they arrived, relative to a playing
te::Edit. My plan is as follows:
- When a message is received on the network thread, time stamp it with
- Use an
AbsstractFifoimplementation to funnel the messages to the Message Thread where they can be used to annotate the Edit.
- Calculate the EditPlaybackContext
highResolutionTicks, and then convert that to “Edit Time” (assuming the edit is playing)
Does this seem like a sensible approach?
Is there a way to convert juce
HighResolutionsTicks or the value returned by
getMillisecondCounterHiRes to stream time? I have not been able to find the precise time that edit
streamTime begins increasing monotonically.
Thanks for any help!