Forum

    • Register
    • Login
    • Search
    • Categories

    Range mismatch in Scriptnode

    General Questions
    2
    4
    40
    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.
    • orange
      orange last edited by

      These warnings have started to appear. Should we worry about them, or are they just for info?

      [1, 500] range Knob could be connected to the [0, 1] range scaled Smoothed Parameter before but now these warnings? Any ideas?

      Untitled.png

      develop Branch / XCode 13.1
      macOS Monterey / M1 Max

      1 Reply Last reply Reply Quote 0
      • Matt_SF
        Matt_SF last edited by

        @orange it's a recent addition to scriptnode which warns you if you're using linked parameters with different ranges. Sometimes not having the same ranges is intended so if you're doing something on purpose, don't worry about them.

        https://github.com/christophhart/HISE/commit/ad4577e01dad59625521e74bcfc3dbac61b05a04

        Develop branch
        Win10 / Monterey & Xcode 13.2.1

        orange 1 Reply Last reply Reply Quote 1
        • orange
          orange @Matt_SF last edited by

          @Matt_SF I see

          I see. So,

          [1, 500] range Parameter>> [0, 1] range scaled Smoothed Parameter >> [1, 500] range knob in the snex node

          could this connection be the problem? Beginning and ending has the same range, but there is a mismatched Smoothed Parameter in the middle.

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          Matt_SF 1 Reply Last reply Reply Quote 0
          • Matt_SF
            Matt_SF @orange last edited by

            @orange I think these warnings are mostly useful for debugging and spotting where a scriptnode graph is likely to crash, as it can happen sometimes with some nodes.

            This connection should be fine altough it would be better to keep the ranges identical when possible. You could use a control.smoothed_parameter_unscaled in that case.

            Develop branch
            Win10 / Monterey & Xcode 13.2.1

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

            6
            Online

            977
            Users

            6.6k
            Topics

            60.6k
            Posts