Populate Pre Recorded Data in Kairos

Similar to the attached patch, using Kairos 1.1.10, I would like to make a Track from Global Channel which contains a Spread of Float32 to populate the timeline with those values in the -pre version of Kairos.

Since the -pre version comes with some changes I am bit confused how to do the following suggestion by @dottore on the Element chat:

  1. create a track model
  2. add the keyframe models to it
  3. add the track model to the timeline model

The second screenshot shows how far I could get, even if that approach would work, then how do I see the Track and the Keyframes in the Keyframe Editor?

And here is the patch with the xml serialization of MyData:
Populate PreRecorded Data in Kairos-Stable.vl (37.7 KB)

sorry, in deadline mode here…
I hope the patch explains itself :)
Populate PreRecorded Data in Kairos-Stable 2.vl (171.9 KB)

Just to clarify: the spread of data that is visible in your screenshot is not a time series of data! it is a spread of values located in time.

notice the output of the track (on the bottom right): it shows the actual value coming out of the sampling of the track.
lacking in dimensionality (i’d need a 3d interface to clearly represent the type spread in a timeline track), i had the brilliant idea to display the spread values horizontally on the time axis, creating justified confusion. by bad.

1 Like

This is brilliant @dottore. Thanks a lot!

I have noticed that if I change the Interpolation Mode of a layer in a track, the second layer in the same track disappears!

Would it mean that all the layers in a track must have same interpolation mode?

Kairos

Sorry I was in a rush and i didn’t even check the patch.
indeed, as I wrote, the set of nodes on the left construct entirely the model of the track.
When you change that patched model, it will overwrite the model in the timeline, which contains the layer that i created from within the TimelineUI.
So, if you feed the model of the track from outside, it is the complete model of the track.
you could add also a layer keyframe in that patched model, so it will be part of the model that will be written in the timeline.

another option is to patch the model of individual keyframes and not of the entire track.
in this way, the timeline remains the owner of the track model and you simply “inject” or edit specific keyframes from the patch

1 Like