Morph between tables
-
Is it possible to morph between tables?
I have 2 tables, I want to create a morph slider which transitions from one table to the other. It should interpolate the points.
I am using these tables to modify the Gain. Similar to LFO Tool so the table representation should not only be graphical but also function in terms of modifying parameters. I do not want to be able to edit the table while its morphing.
I have found this code in the JUCE forum which describes what I am going for. Is that possible at all?
Can someone point me into the right direction here what would be the best way to achieve this?
https://forum.juce.com/t/interpolated-lookup-table-from-data-points/39241
-
@oskarsh you can just implement a linear interpolation between the two tables by yourself.
-
@Christoph-Hart I am a bit lost on this one. Can you give me a bit more details on how you would approach this.
I have the UI table where I cannot edit the points via script just get the value at the current position. I believe I would link each table to a Scriptnode table or a Modulator. I can then get this Table to get the actual path.
Can I draw this path using drawPath?
Is there a small example to better understand how to edit tables and draw their curves in a panel or something?
-
@oskarsh said in Morph between tables:
I have the UI table where I cannot edit the points via script