HISE Logo Forum
    • Categories
    • Register
    • Login

    Noob question about scriptnodes.

    Scheduled Pinned Locked Moved Scripting
    45 Posts 7 Posters 2.6k 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.
    • lalalandsynthL
      lalalandsynth @ustk
      last edited by lalalandsynth

      @ustk Yep.. thanks for the link, was hoping there was more basic documentation.
      i guess I am impatient ;)

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @lalalandsynth
        last edited by ustk

        @lalalandsynth In fact, there's no real need for better documentation about the nodes, their function speak for themselves (except for more advanced case like frames for instance)
        To put your hand on a snippet like the chorus above is the better thing to do to understand what is going on.
        The rest is DSP thinking, and for that, no secrets, you must read...
        The basics are chain container, and modchain container.
        Create a basic graph using modulation on one side and filters on the other for instance, after that, add parameters in the main container, connect them to the interface, and your all good
        Almost everything we need is there already except few special things, so practicing for weeks and months is still the only way to progress. At least that's what I did as I had no background...

        Can't help pressing F5 in the forum...

        lalalandsynthL ? 2 Replies Last reply Reply Quote 1
        • lalalandsynthL
          lalalandsynth @ustk
          last edited by lalalandsynth

          @ustk Awesome , I am sure I can learn to use it , its just super basic things like removing a modulation wire, lol!

          Am I right in assuming I can then export the modules and use them in regular hise ? And can I use this alongside the regular Hise or is it either or ?

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @lalalandsynth
            last edited by ustk

            @lalalandsynth To remove a connection, right click on any modulator like the peak node or on a parameter, in the connection list you can delete it.

            You can export chains containing nodes to create a reusable custom node (so inside scriptnode)

            There's no "regular Hise" against scriptnode, it's a module you can turn in DSP, therefore it is part of the other module system and can be used as such in a project.

            Can't help pressing F5 in the forum...

            lalalandsynthL 1 Reply Last reply Reply Quote 0
            • lalalandsynthL
              lalalandsynth @ustk
              last edited by

              @ustk said in Noob question about scriptnodes.:

              There's no "regular Hise" against scriptnode, it's a module you can turn in DSP, therefore it is part of the other module system and can be used as such in a project.

              I dont fully understand that sentence . I meant , can I make modules in Scriptnodes that I can use in the HISE i am more familiar with , with the modules that are available there ?
              I guess I a m not sure if the scriptnodes are a separate thing to be used on its own or if they are meant to be implemented with all the other modules.

              https://lalalandaudio.com/

              https://lalalandsynth.com/

              https://www.facebook.com/lalalandsynth

              https://www.facebook.com/lalalandsynth

              ustkU 1 Reply Last reply Reply Quote 0
              • ustkU
                ustk @lalalandsynth
                last edited by

                @lalalandsynth Let's take a real example then
                This might be explained another way, but it is how I see things

                You insert a ScriptFX module. In this ScriptFX, you create a DSP. This DSP uses Scriptnode to create a graph of your own FX.
                Now, this ScriptFX becomes like all the other modules. You can access its parameters from your interface for instance.
                In other words, you've just created a custom FX module.
                So you see, it is part of Hise, like the other modules. But it's like the best module you can dream of :)
                Same goes for synthesiser modules.

                Can't help pressing F5 in the forum...

                lalalandsynthL 1 Reply Last reply Reply Quote 0
                • lalalandsynthL
                  lalalandsynth @ustk
                  last edited by

                  @ustk Thanks mate, will do some more testing tomorrow, sounds very exciting .

                  https://lalalandaudio.com/

                  https://lalalandsynth.com/

                  https://www.facebook.com/lalalandsynth

                  https://www.facebook.com/lalalandsynth

                  1 Reply Last reply Reply Quote 0
                  • lalalandsynthL
                    lalalandsynth
                    last edited by lalalandsynth

                    Looking at this again , for some reason when using this snippet , it shows the interface designer but shows nothing int the DSP network , also when I just start fresh with initializing the DSP Network , when I add an interface ,the DSP network disappears ?

                    HiseSnippet 1619.3ocwX06iaTDEe1y2bD6DhRfHjnyJz3HcXY6b4KkBatymCVDewI6kiTQzlcGedzs6LK6tN24DRETveBITvGcHJnFnJRzRj.cUzEDUo6BEoflvLyN6mdy4EGH2VMe7dy626i48dy12gpibcoN.khqO1FATNBT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Ze9yqEbiTEQLDSdN6StYc9bE4l0C1LprIPZOENL4X1Ht24PPeSLeCQB4h94sF2WyaHOjm2a.KlB4TUOL1pnjo5.FrSC3KyrwIVVo.+jC5Z0WKX4krDYkX8rJG+gXCtDgJKxnvON4ZLuKuggdtwqpvs28Cx9vO+47kfu1IThRbTVBxx7cSaJyejPmdC3.QxJ2pg6ePnFwuJzdLQyBqKSep7VA12pIRqpTHJ0y5ZNah7DIChLELwFNiIptjayZOvWB8vjMR1QwRs5osSx0X0nuLcajSpmirTqqaamdUFspg0lJN+W7.92O1TcKz1xJe7pnexSN2mZ8nl9MeGU1NTrC18u9ym7Q5s.4A2Aknii6f5zIwc.kIwc.sSG2+8W9sO6jO8WE3t.7pQ3sx2b+KduG+6MA42N23gSXmAMxzN23gYXmYzNc7FTdji2EDEUAojX7.koBY.XRHuWyrfL.jEj2qYbHe2S78W5OtymkBxOe7W0+MauqLzP0hR8FxRHFg6.1Nvvc3Z6ioVzk0DRDDqy7TWPmOl1rP5qE48RpZplRyFgaj9sOhGNPPhZctx2QHmxJSyyt00HQZy9un1tYLJ7CNbx6ZvR6w664J1gM.f77k9AcJnRL6SiFW3B0NCX0cXsN35JTVV5ZPZGQTK64MmyL3F3Og7kyMvSG8Ra9eUkIUX9O6Rmq94mp4WdWJuWpijrnUqoZ48e8vKkkWhv+ih8eUlqZZ19TOe6fyGb3o4CJACaaZV7CyMopsWyIUMd2eS5GdbpKA9A7OMC+vieA9gj0Elk+myqj2MXoo6Puot+Sg39nCIVg4lIh+ybQXO97x0C9IU7ze03+lH7M004O87cYuULadZLC7b5YfmklAdNyLvyYmAdN2Lvy42Wd3+x82ajG0x+2RvVn+phfKEkUIZrWjJRBA9Gbn72pA
                    
                    

                    https://lalalandaudio.com/

                    https://lalalandsynth.com/

                    https://www.facebook.com/lalalandsynth

                    https://www.facebook.com/lalalandsynth

                    1 Reply Last reply Reply Quote 0
                    • lalalandsynthL
                      lalalandsynth
                      last edited by lalalandsynth

                      Disappearing Scriptnode when I add interface even when I switch to ScriptFX in the script Editor
                      DSP.gif

                      https://lalalandaudio.com/

                      https://lalalandsynth.com/

                      https://www.facebook.com/lalalandsynth

                      https://www.facebook.com/lalalandsynth

                      ustkU 1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @lalalandsynth
                        last edited by

                        @lalalandsynth the dsp is a script as is the interface. When creating the interface, Hise just switch to display it in place of the dsp. On the top left combobox, you can choose what script is displayed, so you'll find the dsp in there

                        Can't help pressing F5 in the forum...

                        1 Reply Last reply Reply Quote 0
                        • lalalandsynthL
                          lalalandsynth
                          last edited by lalalandsynth

                          It does not matter what I select to display in the script editor , I can select either scriptFX or Interface and it will not show the ScriptFX.
                          DSP 2.gif

                          https://lalalandaudio.com/

                          https://lalalandsynth.com/

                          https://www.facebook.com/lalalandsynth

                          https://www.facebook.com/lalalandsynth

                          ustkU 1 Reply Last reply Reply Quote 0
                          • ustkU
                            ustk @lalalandsynth
                            last edited by ustk

                            @lalalandsynth not in the script but the combobox just above

                            Can't help pressing F5 in the forum...

                            lalalandsynthL 1 Reply Last reply Reply Quote 0
                            • lalalandsynthL
                              lalalandsynth @ustk
                              last edited by

                              @ustk not the combobox you can see in the gif ?

                              https://lalalandaudio.com/

                              https://lalalandsynth.com/

                              https://www.facebook.com/lalalandsynth

                              https://www.facebook.com/lalalandsynth

                              ustkU 1 Reply Last reply Reply Quote 0
                              • ustkU
                                ustk @lalalandsynth
                                last edited by

                                @lalalandsynth Nope, this one:

                                Untitled.png

                                Can't help pressing F5 in the forum...

                                1 Reply Last reply Reply Quote 1
                                • lalalandsynthL
                                  lalalandsynth
                                  last edited by lalalandsynth

                                  @ustk
                                  Thanks , working now .

                                  1. I see I can Export as Base64 snippet ,can I use that to make my own little modules and then import them into an existing scriptnode , wondering if I can say make a filter config and then import that into a wet/dry Reverb config ?

                                  2. If I am right about the snippet , how can I import it ?

                                  3.What are the unusednodes that are left when I delete a node ? can I not remove it fully ?

                                  4, What is the "create screenshot" for ?

                                  1. Can I create another row of parameter controls ? At some point I run out of horizontal space :)

                                  2. Can I make my own Meta nodes ?

                                  https://lalalandaudio.com/

                                  https://lalalandsynth.com/

                                  https://www.facebook.com/lalalandsynth

                                  https://www.facebook.com/lalalandsynth

                                  ustkU 1 Reply Last reply Reply Quote 0
                                  • ustkU
                                    ustk @lalalandsynth
                                    last edited by

                                    @lalalandsynth

                                    1. I don't really know. Might be to import in a C++ context? No other idea...

                                    2. ...

                                    3. I don't know what you mean by unused nodes... Maybe a screenshot, please?

                                    4. Here's the corresponding code, but it seems to be broken (or there's a subtle subtlety...)

                                    if (result == (int)MenuActions::CreateScreenShot)
                                    	{
                                    		auto mc = node->getScriptProcessor()->getMainController_();
                                    
                                    		auto docRepo = dynamic_cast<GlobalSettingManager*>(mc)->getSettingsObject().getSetting(HiseSettings::Documentation::DocRepository).toString();
                                    
                                    		if (docRepo.isNotEmpty())
                                    		{
                                    			auto targetDirectory = File(docRepo).getChildFile("images/scriptnode/");
                                    
                                    			auto imageFile = targetDirectory.getChildFile(node->getId()).withFileExtension("png");
                                    
                                    			targetDirectory.createDirectory();
                                    
                                    			auto g = findParentComponentOfClass<DspNetworkGraph>();
                                    
                                    			auto imgBounds = g->getLocalArea(this, getLocalBounds());
                                    
                                    			auto img = g->createComponentSnapshot(imgBounds, true);
                                    
                                    			PNGImageFormat pngFormat;
                                    			FileOutputStream fos(imageFile);
                                    			if (pngFormat.writeImageToStream(img, fos))
                                    			{
                                    				PresetHandler::showMessageWindow("Screenshot added to repository", "The screenshot was saved at " + imageFile.getFullPathName());
                                    			}
                                    		}
                                    	}
                                    
                                    1. I'd like that too but it's not possible at the moment. It would be a cool addition, I myself got around 120 knobs...
                                      Having them automatically go to another line based on the graph's width would be cool. Also, having the possibility to re-arrange them on the fly would be an absolute killer! (even if it's possible by editing the XML...) Finger crossed @Christoph-Hart!

                                    2. Sure you can: https://docs.hise.audio/scriptnode/manual/cpp_generator.html#create-meta-nodes
                                      Although keep in mind there will be a procedure to re-import previous patches...
                                      https://forum.hise.audio/topic/2555/scriptnode-breaking-changes/3

                                    Can't help pressing F5 in the forum...

                                    1 Reply Last reply Reply Quote 0
                                    • lalalandsynthL
                                      lalalandsynth
                                      last edited by

                                      Yes, I was aware of the CPP export , I was hoping you could make your own Meta nodes within HISE , would be nice to be able to save a Node config as a meta node and recall from the module selector.

                                      https://lalalandaudio.com/

                                      https://lalalandsynth.com/

                                      https://www.facebook.com/lalalandsynth

                                      https://www.facebook.com/lalalandsynth

                                      ustkU 1 Reply Last reply Reply Quote 0
                                      • lalalandsynthL
                                        lalalandsynth
                                        last edited by

                                        Here is the Unused node list.
                                        When I delete a node it appears there.
                                        Unused.jpg

                                        https://lalalandaudio.com/

                                        https://lalalandsynth.com/

                                        https://www.facebook.com/lalalandsynth

                                        https://www.facebook.com/lalalandsynth

                                        1 Reply Last reply Reply Quote 0
                                        • ustkU
                                          ustk @lalalandsynth
                                          last edited by ustk

                                          @lalalandsynth said in Noob question about scriptnodes.:

                                          Yes, I was aware of the CPP export , I was hoping you could make your own Meta nodes within HISE , would be nice to be able to save a Node config as a meta node and recall from the module selector.

                                          That's the purpose of the CPP class, unless I don't entirely grasp what you need...

                                          Here is the Unused node list.
                                          When I delete a node it appears there.

                                          Oh sorry, I don't use the node list...

                                          Can't help pressing F5 in the forum...

                                          1 Reply Last reply Reply Quote 1
                                          • lalalandsynthL
                                            lalalandsynth
                                            last edited by

                                            Yes , but that needs a recompile, right ?
                                            i mean just r-click "Save as meta" or something like that and then it appears in the module list , after all its just a compilation of node modules.

                                            I am aware of the cpu cost but in that case you could go the cpp route.

                                            https://lalalandaudio.com/

                                            https://lalalandsynth.com/

                                            https://www.facebook.com/lalalandsynth

                                            https://www.facebook.com/lalalandsynth

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

                                            10

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.2k

                                            Posts