HISE Logo Forum
    • Categories
    • Register
    • Login

    Morph between tables

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 398 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • oskarshO
      oskarsh
      last edited by

      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

      bc0aeee0-02c3-4bda-9649-92899b37edbd-image.png

      HISE Developer for hire :)

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @oskarsh
        last edited by

        @oskarsh you can just implement a linear interpolation between the two tables by yourself.

        oskarshO 1 Reply Last reply Reply Quote 0
        • oskarshO
          oskarsh @Christoph Hart
          last edited by

          @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?

          HISE Developer for hire :)

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @oskarsh
            last edited by

            @oskarsh said in Morph between tables:

            I have the UI table where I cannot edit the points via script

            e98bd092-a470-4adc-82cc-b884de85ca64-image.png

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            19

            Online

            1.7k

            Users

            11.8k

            Topics

            102.6k

            Posts