HISE Logo Forum
    • Categories
    • Register
    • Login

    Access "Curve" mode in ShapeFX?

    Scheduled Pinned Locked Moved Scripting
    3 Posts 1 Posters 206 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.
    • ulrikU
      ulrik
      last edited by ulrik

      How do I access the "Curve" mode in the ShapeFX module?
      I can set all the modes using the values 1-8 except "Curve", I thought I should use the value of 9 but it doesn't work, it only shows "Function" see pict.
      I use Hise compiled from the scriptnode code from yesterday (september 2)
      Skärmavbild 2019-09-03 kl. 23.24.27.png

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @ulrik
        last edited by

        @ulrik I use this command set the different modes:

        ShapeFX1.setAttribute(4, value);
        

        However I'm not able to set "Curve" active, what am I doing wrong?

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

        ulrikU 1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @ulrik
          last edited by

          @ulrik Ok, after some thinking I used the

          Console.print(ShapeFX1.getAttribute(4));
          

          and found out that to activate the "Curve" mode I had to set the value to 32

          ShapeFX1.setAttribute(4, 32);
          

          sorry for this thread, it seemed I could figure it out myself :)

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

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

          21

          Online

          1.8k

          Users

          12.0k

          Topics

          104.5k

          Posts