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?
Interpolated lookup table from data points
Hello guys, I would like to create a lookup table from measured data points. For example: point1 { -2.5f, -0.5f } point2 { 0.5f, 0.5f } point3 { 1.0f, 1.5f } … The lookup table should perform a linear interpola…
JUCE (forum.juce.com)
-
@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