HISE Logo Forum
    • Categories
    • Register
    • Login

    Changing Impulses in Scriptnode.

    Scheduled Pinned Locked Moved General Questions
    47 Posts 8 Posters 4.8k 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.
    • Christoph HartC
      Christoph Hart @Matt_SF
      last edited by

      @Matt_SF Make sure you use the latest build, I think I've recently fixed stuff around this topic.

      Oh, and there was indeed an issue with it only detecting the first slot, but this should be fixed now, so you can do

      const var s = Synth.getAudioSampleProcessor("Script FX1");
      
      const var first = s.getAudioFile(0);
      const var second = s.getAudioFile(1);
      
      second.loadFile("something");
      
      Matt_SFM 1 Reply Last reply Reply Quote 3
      • Matt_SFM
        Matt_SF @Christoph Hart
        last edited by

        @Christoph-Hart I do have the latest build on my PC but I may be a only few commits late on my mac. I'll try this tomorrow, thanks Christoph !

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

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @Matt_SF
          last edited by

          @Matt_SF You're guaranteed to be one commit behind the fix for multiple files, because I've just pushed it a few minutes ago :)

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

            @Matt_SF @Christoph-Hart Thank you so much! This is exactly what I needed. :couple_with_heart_man_man:

            Dan Korneff - Producer / Mixer / Audio Nerd

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @Dan Korneff
              last edited by

              @dustbro have you tried using the hardcoded master fx? For a static effect like this it‘s recommended for final product as it removes the scripting overhead.

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

                @Christoph-Hart I have no idea what that even means 😅
                Is there a link to docs so I can read up on it?

                Dan Korneff - Producer / Mixer / Audio Nerd

                orangeO Matt_SFM 2 Replies Last reply Reply Quote 0
                • orangeO
                  orange @Dan Korneff
                  last edited by orange

                  @dustbro Basically, it's the Effect Slot unit's custom network version.
                  You can select/swap your compiled custom dll networks with this unit and code them via script using the same API as with the older FX modules.

                  Screen Shot 2022-06-12 at 15.07.25.png

                  develop Branch / XCode 13.1
                  macOS Monterey / M1 Max

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

                    @dustbro simply compile your scriptFx, add a hardcoded fx module and select your custom fx in the list, and voilà.
                    Very neat indeed 👍

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

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

                      sweet! I'm gonna check this out now

                      Dan Korneff - Producer / Mixer / Audio Nerd

                      1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @Matt_SF
                        last edited by

                        @Christoph-Hart Is there a version of this for poly effects or synths?

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        Christoph HartC 1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart @d.healey
                          last edited by

                          @d-healey poly effect yes. Synths no, but that‘s where the new SilentSynth comes in handy (actually it‘s exactly made for this purpose).

                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @Christoph Hart
                            last edited by

                            @Christoph-Hart

                            SilentSynth

                            What's this?

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            Christoph HartC 1 Reply Last reply Reply Quote 0
                            • Christoph HartC
                              Christoph Hart @d.healey
                              last edited by

                              @d-healey a silent synth.

                              d.healeyD Dan KorneffD 2 Replies Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @Christoph Hart
                                last edited by d.healey

                                @Christoph-Hart It's so clear to me now that you've added a space :p

                                Do I add a hardcoded effect to the silent synth and load the network in there?

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                Christoph HartC 1 Reply Last reply Reply Quote 0
                                • Christoph HartC
                                  Christoph Hart @d.healey
                                  last edited by

                                  @d-healey yes. If you‘re using an envelope in your synth you‘ll have to enable HasTail before compiling, but this concept is still under construction...

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

                                    @Christoph-Hart I can't seem to compile DSP that contains the convolution node. Issue reported on github scriptnode_testsuite

                                    Dan Korneff - Producer / Mixer / Audio Nerd

                                    Christoph HartC JL.LVJ 2 Replies Last reply Reply Quote 0
                                    • Christoph HartC
                                      Christoph Hart @Dan Korneff
                                      last edited by

                                      @dustbro latest develop? The Dorian Marko piano uses a convolution node in a compiled node so it definitely works (at least in my case). Are you using external slots?

                                      Dan KorneffD 2 Replies Last reply Reply Quote 0
                                      • Dan KorneffD
                                        Dan Korneff @Christoph Hart
                                        last edited by

                                        @Christoph-Hart latest develop. External slots used. Maybe it's an issue in Linux? I'll try PC

                                        Dan Korneff - Producer / Mixer / Audio Nerd

                                        1 Reply Last reply Reply Quote 0
                                        • JL.LVJ
                                          JL.LV @Dan Korneff
                                          last edited by

                                          @dustbro Ive also been having this issue! Ive tried on Mac and PC, when I go to compile the node, the compilation process works, but when I go to open the project again, HISE crashes, (I think might've described this same problem on another thread which you also responded to). Seems like im not alone!

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

                                            @Christoph-Hart I can't even wrap the node. It disappears when I reload.
                                            wrap_disappear.gif

                                            If I try to unload/reload the DSP, I get an error:
                                            Screenshot from 2022-06-13 22-36-27.png

                                            Dan Korneff - Producer / Mixer / Audio Nerd

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

                                            14

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.5k

                                            Posts