Forum

    • Register
    • Login
    • Search
    • Categories

    Access "Curve" mode in ShapeFX?

    Scripting Forum
    1
    3
    64
    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.
    • ulrik
      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 12.4, Xcode 13.0
      http://musikboden.se

      ulrik 1 Reply Last reply Reply Quote 0
      • ulrik
        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 12.4, Xcode 13.0
        http://musikboden.se

        ulrik 1 Reply Last reply Reply Quote 0
        • ulrik
          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 12.4, Xcode 13.0
          http://musikboden.se

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

          18
          Online

          794
          Users

          5.5k
          Topics

          51.6k
          Posts