DAT Interpolation?

Hi, I want to make interpolation between two Table DATs.

So I want to have the values from Table1, and when I click on Button to switch, I want to go smoothly to the values from Table2.
Something like ‘Blend between inputs’ on Switch TOP.
interpolationTest.1.toe (7.78 KB)

See if this works for you!
interpolationTest.2.toe (8.2 KB)

Thanks for this example, lucasm! As I fear - is this the only way to interpolate, all values must be converted to CHOPs?

Sorry, I wasn’t clear - originally in my project I have a Web DAT fetching ‘moving’ values, which I convert to a table DAT. The second ‘animated’ values to which I want to interpolate smoothly are coming from a Noise CHOP.
In my first example the two noise CHOPs were just to illustrate the two ‘animated’ tables, but actually the one is a table DAT and the other is a Noise CHOP…
So actually I want to switch and interpolate between DATs and CHOPs values!

Please see the following example, is this the only way to interpolate? Convert DAT to CHOP, do interpolation, and then back to DATs again (if I need to)? Isn’t this convert all channel values expensive?

I guess the second method in this example is better, but is this the only way? I was wondering is DATs interpolation possible… Or the values must be converted to CHOPs to do interpolation?

Imagine a table with 3 columns and 500 rows, how do I interpolate it?
And what about if I don’'t want to interpolate DATs and CHOPs, but just the DATs animation. Should I convert them all to CHOPs?
interpolationTest.5.toe (15.6 KB)

Now I have a table with 100 rows values from Web. These are moving all the time but I want to interpolate between them, especially P[0 1 2] as well as ‘s’.

How can I do this?

I try to convert to CHOP, interpolate with Filter CHOP and then back to DAT (I need to use this table for instancing geo). But now how can I get my table to look just as it was before convert (100 rows, 6 columns)?

And is this the only (cheapest) way for DAT inerpolation? No way to do it directly in DAT, so I must convert to CHOP and back to DAT?
DATinterpolation.toe (16.6 KB)

Instancing supports CHOPs and DATs, as long as they are in a proper format.
In general, numeric data is much more efficient in CHOPs than DATs which must convert to strings repeatedly.

Hey,

in the datTo CHOP change the output parameter to “Channel per Column”. In the following filter CHOP enable the Filter per sample parameter. Now this is ready to be used as instances or if you convert back to DAT, use the include names parameter and you will have the same table layout as your original input.

Cheers
Markus

1 Like