HISE Logo Forum
    • Categories
    • Register
    • Login

    Scripnode 101

    Scheduled Pinned Locked Moved General Questions
    157 Posts 13 Posters 14.5k 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 Former User @Christoph Hart
      last edited by

      @christoph-hart Yep... That's what I messed up... I put a simple xfader into a modchain (doesn't make much sense, I know) and had that in a split container and was wondering where the signal was coming from! Oh my 🦌! 🙏

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User @Christoph Hart
        last edited by A Former User

        @christoph-hart If I mix between a dry and a wet signal with an xfader, is it correct to use the overlap or rms mode to avoid a drop in volume when adjusting the mix slider on top? https://docs.hise.audio/scriptnode/101/drywet.html note to self: RTFM!

        And as the last question... can I somehow dynamically load convolution files into my scriptnode house of wonder?!? Similar as to when I load those files into the standard HISE convolution module with a combobox f.e.?!

        I have 3 convo containers that filter the incoming signal... etc. It would be nice if I could let the user make those choices in a combobox... see here:

        2021-12-09_12-23-25.mp4

        favicon

        Google Docs (drive.google.com)

        Matt_SFM 1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          So I added a couple of knobs to my scriptFx, as instructed above by @Christoph-Hart...

          Now when I add f.e.

          const var myKnob = Content.addKnob("myKnob", 30, 20);
          

          and then later on take that line out and recompile, the knob and some xml-graveyard junk is still in there somehow! Also not sure where the xml for the scriptFx-interface would be, so I could frankenstein my way through this for now...

          Screenshot 2021-12-09 at 12.59.00.png Screenshot 2021-12-09 at 12.58.45.png

          LindonL 1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            And here's to my very last question of today:

            Is there a reason not to forward the params to the UI but first creating intermediary one on the scriptFX ui? I could think of re-usabilty issues... but what else?!

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @A Former User
              last edited by

              @ursbollhalder said in Scripnode 101:

              intermediary one on the scriptFX ui?

              If you add controls to the scriptFX UI, you can no longer access the DSP parameters from the main interface.

              Dan Korneff - Producer / Mixer / Audio Nerd

              ? 1 Reply Last reply Reply Quote 1
              • ?
                A Former User @Dan Korneff
                last edited by

                @dustbro Yeah. It's either main interface to DSP parameters, or...
                main Interface to scriptFX interface to DSP parameters?! Right?
                With the second option you loose option No.1...

                1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @A Former User
                  last edited by

                  @ursbollhalder said in Scripnode 101:

                  So I added a couple of knobs to my scriptFx, as instructed above by @Christoph-Hart...

                  Now when I add f.e.

                  const var myKnob = Content.addKnob("myKnob", 30, 20);
                  

                  and then later on take that line out and recompile, the knob and some xml-graveyard junk is still in there somehow! Also not sure where the xml for the scriptFx-interface would be, so I could frankenstein my way through this for now...

                  Screenshot 2021-12-09 at 12.59.00.png Screenshot 2021-12-09 at 12.58.45.png

                  Yes this is standard behaviour - your script is adding a knob, to remove it (in order to have it always appear in the smae place - just delete the knob in theVisual editor...

                  HISE Development for hire.
                  www.channelrobot.com

                  ? 1 Reply Last reply Reply Quote 0
                  • Matt_SFM
                    Matt_SF @A Former User
                    last edited by

                    @ursbollhalder said in Scripnode 101:

                    And as the last question... can I somehow dynamically load convolution files into my scriptnode house of wonder?!? Similar as to when I load those files into the standard HISE convolution module with a combobox f.e.?!

                    Not with a comboBox at the moment (at least I didn't find a way). Check this thread : Changing Impulses in Scriptnode.

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

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Lindon
                      last edited by

                      @lindon I somehow can’t access the interface editor for the scriptFx. Hitting that icon doesn’t do anything here!

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @A Former User
                        last edited by

                        @ursbollhalder click the interface button and then the unlock button...

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @christoph-hart it would be nice to have a downsampling ability too for old algorithms emulation that you can tune like 8khz, 34.125khz, or any other fancy value.
                          Do you think it is a reasonable request ?

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

                          1 Reply Last reply Reply Quote 2
                          • Dan KorneffD
                            Dan Korneff
                            last edited by Dan Korneff

                            @Christoph-Hart I had a perfectly working project that now won't export. All of the snowflakes are missing from my compiled nodes.
                            ....and I'm seeing this error when I check the dll info.
                            Any thoughts?

                            init node.png

                            Looks like this happens from the Dec 8 commits.

                            Dan Korneff - Producer / Mixer / Audio Nerd

                            1 Reply Last reply Reply Quote 1
                            • Dan KorneffD
                              Dan Korneff
                              last edited by

                              Can someone explain to me the best way to smooth a delay node that is connected to a tempo sync node?

                              sync smoothing.png

                              I've tried many combinations of values. I can get tempo sync to modulate the smoothing node, I can get the smoothing node to modulate the delay node, but I can't get the tempo sync to modulate a smoothing node to modulate a delay node.

                              Dan Korneff - Producer / Mixer / Audio Nerd

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

                                @dustbro There's a x1000 factor issue. In this snippet, the multiply parameter of the PMA is set to 0.001 so it divides the ms by 1000. I don't know why the smoother doesn't take care of this conversion itself... Bug or intended behaviour, that is the question :)

                                HiseSnippet 1298.3ocwX8zaaTDEeV6LI0tIEpHGQHeLUJDYWJEj3PbhSLxh5TqroQ8VXxtiim5cmY0tiShAwAtgTOvINzSvG.NxENAW3S.bse.3DUhyH3M6rd+i8VWa2zfODk4Mu4898dueu2L1c7EVzf.gOxnzQC8nHiUwlC4xdM5QXbTq8PF2B2lDHo9Uzh1cnGIHfZiLLJ9oJAFkVBE94EauKwgvsnIhPniELK5CXtLYhzN0+LliSShM8HlaJsuW8VVBdCgiX.fmh3pHOhUexYzCHJ0JfQFKuuMSJ7MkDIM.YrztB6gl8DWv05eLKfcpCUsnFxDLjVbSgisBwJonF8XN1cFE2AHvJcRxBE0Yg0wsY1rX4IYi2NbiJImHc9vnPV3ULC7pkFdUSAubfjQJHsjFR2FaZ4y7jI6nvyMws3PwoKAR6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Y9BXt+mGvlhUFWFGa.2SrC71JZq4f5UHy.tLDfBWAi0ym.74uyd+dDAP+s6mZ9dk2L9NMyO1T+02+7fmhdu5uDBnJGsqPz2kD91wE6a5cc7RWWhku3jnoSph4MBk.c07veNjR31p0UpgNWG5X0nWjKylchkk5qB89vX37OycWfy7AKvYt2BblObANy8Wfy7QKvY93odF0uLTDqSM2FDzY+Pxkgwn4BP2L5+.DfbWHE
                                

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

                                Dan KorneffD 2 Replies Last reply Reply Quote 1
                                • Dan KorneffD
                                  Dan Korneff @ustk
                                  last edited by

                                  @ustk thank you so much!

                                  Dan Korneff - Producer / Mixer / Audio Nerd

                                  1 Reply Last reply Reply Quote 0
                                  • Dan KorneffD
                                    Dan Korneff @ustk
                                    last edited by Dan Korneff

                                    @ustk said in Scripnode 101:

                                    There's a x1000 factor issue

                                    Any ideas on how to deal with values over 1000ms?
                                    Say 10000ms? Setting the PMA to multiply by .0001? I can't seem to find a meaningful ratio between the tempo sync time and the delay node time.

                                    EDIT
                                    The skew factor of my delay time knob was set to .3 :/ setting it to 0 resolves the issue :)

                                    Dan Korneff - Producer / Mixer / Audio Nerd

                                    Dan KorneffD 1 Reply Last reply Reply Quote 1
                                    • Dan KorneffD
                                      Dan Korneff @Dan Korneff
                                      last edited by Dan Korneff

                                      @dustbro said in Scripnode 101:

                                      setting it to 0 resolves the issue

                                      actually causes a $h!t ton of issues... haahahah!
                                      Getting a break point debugging. What should the skew factor be set to for a slider? Is there some kind of general rule to follow?

                                      if (range.skew == 0.0f)
                                      				{
                                      					// You have some weird ranges going on here...
                                      					jassertfalse;
                                      					range.skew = 1.0f;
                                      				}
                                      

                                      Found the issue. A couple knobs on my interface had a middle position that was not in their range. oops!

                                      Dan Korneff - Producer / Mixer / Audio Nerd

                                      1 Reply Last reply Reply Quote 1
                                      • Dan KorneffD
                                        Dan Korneff
                                        last edited by

                                        Is there a node available in scriptnode to invert phase?

                                        Dan Korneff - Producer / Mixer / Audio Nerd

                                        ? Matt_SFM ustkU 3 Replies Last reply Reply Quote 0
                                        • ?
                                          A Former User @Dan Korneff
                                          last edited by

                                          @dustbro Not sure, but doesn't the all-pass filter node do that?

                                          1 Reply Last reply Reply Quote 0
                                          • Matt_SFM
                                            Matt_SF @Dan Korneff
                                            last edited by

                                            @dustbro use a math.mul node and set the value to -1

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

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

                                            30

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.6k

                                            Posts