HISE Logo Forum
    • Categories
    • Register
    • Login

    Range mismatch in Scriptnode

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 266 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.
    • orangeO
      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_SFM
        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.

        Link Preview Image
        - add warning button to container parameters when there is a range mi… · christophhart/HISE@ad4577e

        The open source framework for sample based instruments - - add warning button to container parameters when there is a range mi… · christophhart/HISE@ad4577e

        favicon

        GitHub (github.com)

        Develop branch
        Win10 & VS17 / Ventura & Xcode 14. 3

        orangeO 1 Reply Last reply Reply Quote 1
        • orangeO
          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_SFM 1 Reply Last reply Reply Quote 0
          • Matt_SFM
            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 & VS17 / Ventura & Xcode 14. 3

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

            27

            Online

            1.7k

            Users

            11.7k

            Topics

            102.0k

            Posts