HISE Logo Forum
    • Categories
    • Register
    • Login

    Is the normalizer node working as intended?

    Scheduled Pinned Locked Moved ScriptNode
    2 Posts 2 Posters 96 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.
    • A
      aaronventure
      last edited by

      Look at this guy

      499b552c-13fc-4452-850e-8f879acfeb13-image.png

      No matter what range you set to its value knob, when you connect it to the target, the target value will be set to the range of the target * value on the normalizer.

      So an add node with the default range (0-1) will be set to 84.2. But if you up the range to 0-100, it's gonna be set 8420.

      How is that normalization? Do I even understand this term correctly? In HISEScript, normalized value of a control is its range represented as 0-1. If I plug something into the normalizer, set its value parameter range to 0-100, then the input value going from 0-100 should result in the output being 0-1, no?

      modularsamplesM 1 Reply Last reply Reply Quote 0
      • modularsamplesM
        modularsamples @aaronventure
        last edited by modularsamples

        @aaronventure

        I've wondered the same. Here's the relevant code (I think) :

        Link Preview Image
        HISE/hi_dsp_library/dsp_nodes/CableNodes.h at 085d1a38b916fe7b8601a7a55e79991446dccc8b · christophhart/HISE

        The open source framework for sample based instruments - HISE/hi_dsp_library/dsp_nodes/CableNodes.h at 085d1a38b916fe7b8601a7a55e79991446dccc8b · christophhart/HISE

        favicon

        GitHub (github.com)

        I'm guessing the important bit is:

        	void setValue(double input)
        		{
        			if (this->getParameter().isConnected())
        				this->getParameter().call(input);
        		}
        

        Compared to similar nodes, this looks a bit light. Where's the conversion? or is this what double input is for?

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

        32

        Online

        1.7k

        Users

        11.7k

        Topics

        102.0k

        Posts