HISE Logo Forum
    • Categories
    • Register
    • Login

    Stereo Effect Project. Example?

    Scheduled Pinned Locked Moved General Questions
    28 Posts 7 Posters 3.1k 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 @A Former User
      last edited by A Former User

      Wondering if anyone could explain to me why in the example above ParametriqEQ.Gain + 1, is being multiplied by the ParametriqEQ.BandOffset? Confused as to what the bandOffset is doing?

      edit: Sorry ignore this. Just realised why about three seconds after posting.

      edit2: Actually, still not clear as to why it's being multiplied? Sorry if this is JavaScript 101...

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

        @duno I was wondering the same thing, so I decided to do a little test.
        By using the Console.print() command, I was able to see that ParametriqEQ.BandOffset is an Integer that is equal to 5. By doing the same with ParametriqEQ.Gain, I saw that was equal to 0.
        These are Index numbers that dictate which control you are scripting.
        Looking at the Module browser, I can see that each EQ has 6 Index points for each EQ node:
        0_1543578002280_Screen Shot 2018-11-30 at 6.38.19 AM.png
        The first 5 appear to be controls, and the BandOffset is just an index used to multiply.
        At EQ Node 0, the index is:
        0 - Gain
        1 - Freq
        2 - Q
        3 - Enabled
        4 - Type
        So what happens when you have another EQ node in the effect? The index list starts over at 5.
        5 - Gain
        6- Freq
        7 - Q
        8 - Enabled
        9 - Type
        And then the next node would start at 10.
        So what does it all mean?? lets do some math.

        {
            local index = 1 * ParametriqEQ.BandOffset + ParametriqEQ.Gain;
        	ParametriqEQ.setAttribute(index, value);
        };
        
        

        In the script above we're creating a local variable called index. This is used to gather an integer that is directly related to a specific index on the EQ.
        If we convert them to numbers, the equation looks like this:
        1 * BandOffset + Gain
        or
        1 * 5 + 0 = 5
        5 is now passed to the line of code below:

        ParametriqEQ.setAttribute(index, value);
        

        Which is the same as if we typed:

        ParametriqEQ.setAttribute(5, value);
        

        Looking at the chart above, we can see that Index 5 is the Gain of 2nd EQ node.

        Dan Korneff - Producer / Mixer / Audio Nerd

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

          @dustbro THANK YOU!

          hisefiloH 1 Reply Last reply Reply Quote 0
          • hisefiloH
            hisefilo @A Former User
            last edited by

            @duno thanks!!!! Working perfectly

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

              @dustbro Where are you getting that parameter list from? My modules only showing whats below.

              0_1543587371154_grab.png

              @Christoph-Hart think theres a bug there, eq is showing the filter parameters, stereo fx is eq etc.

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

                @duno yes. I mentioned to @Christoph-Hart that it's off by one.

                Dan Korneff - Producer / Mixer / Audio Nerd

                1 Reply Last reply Reply Quote 0
                • hisefiloH
                  hisefilo @A Former User
                  last edited by

                  Newbie question! How can I do to reproduce some wav within the FX project in order to see how it's sounding? Loop player ? or is there a trick to play a .wav in a proper way

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

                    Yes Loop player is the best way - I also
                    do it like this.

                    hisefiloH Dan KorneffD 3 Replies Last reply Reply Quote 1
                    • hisefiloH
                      hisefilo @Christoph Hart
                      last edited by

                      @christoph-hart :) perfect! freebie is coming.

                      alt text

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

                        @christoph-hart Any chance we can get a midi loop player??? ;)

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        1 Reply Last reply Reply Quote 0
                        • hisefiloH
                          hisefilo @Christoph Hart
                          last edited by

                          @christoph-hart Wow, figured out cannot use IRs on a FX. Plug. Any way to add it? or I'm missing something

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

                            @hisefilo you're missing something. Checkout the example projects.

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

                            hisefiloH 1 Reply Last reply Reply Quote 0
                            • hisefiloH
                              hisefilo @d.healey
                              last edited by

                              @d-healey yes tried that as first step but example project (stereo effect project) gives me this alt text

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

                                That example is a JUCE project which allows you to create custom DSP dlls that you can load into HISE. Move along, nothing to see here :)

                                What David was referring to was this repository:

                                Link Preview Image
                                GitHub - christophhart/hise_tutorial: The Tutorial project for HISE

                                The Tutorial project for HISE. Contribute to christophhart/hise_tutorial development by creating an account on GitHub.

                                favicon

                                GitHub (github.com)

                                The ConvolutionReverb project should do exactly what you need.

                                hisefiloH 2 Replies Last reply Reply Quote 0
                                • hisefiloH
                                  hisefilo @Christoph Hart
                                  last edited by

                                  @christoph-hart ohhhh. I see. lOl. Thanks

                                  1 Reply Last reply Reply Quote 0
                                  • JayJ
                                    Jay @hisefilo
                                    last edited by

                                    @hisefilo Does HISE has a loop player? where to find it

                                    Joansi Villalona

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

                                      @jay Same way you add a sampler

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

                                      JayJ 1 Reply Last reply Reply Quote 0
                                      • JayJ
                                        Jay @d.healey
                                        last edited by

                                        @d-healey thank you

                                        Joansi Villalona

                                        1 Reply Last reply Reply Quote 0
                                        • hisefiloH
                                          hisefilo @Christoph Hart
                                          last edited by hisefilo

                                          @Christoph-Hart tried for a long time to figure out, but still not working. Also the Convolution project on hise_tutorial with same result. The FX just does not sound! If I bypass it on Cubase/Garabegand etc I can see is it not passing audio through. (I saved the Convolution FX with an IR loaded, and the embed audio files is checked). (just load any IR on that project)
                                          What am I doing wrong??

                                          HiseSnippet 1759.3oc0X07baSDEWJIpswP5GC8RGlAzjSNPiSr6WA5zopwwtXn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VQW7gmo3XBIfeSD6.SqsJ+c8t22gyGPEc7Crr3YulOuhxfWQgwdEmarWw4G6UbgwdEWbrWwkF6UrzPVA+qlesPF0MpVFHnZIw8LUUKQLgnUwgdk+DFsSsS.
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • Dominik MayerD
                                            Dominik Mayer
                                            last edited by Dominik Mayer

                                            hey @hisefilo

                                            first thing: i didnt find a script to automatically load up an IR on that project. would that come in handy?

                                            const var convolution = Synth.getAudioSampleProcessor("Convolution Reverb");
                                            convolution.setFile("{PROJECT_FOLDER}Impulse.wav");
                                            

                                            "{PROJECT_FOLDER}" refers to the AudioFiles Folder in your project.

                                            Then i think that the effect would profit if you would change the order of Convolution and parametriqEQ. first convo, then EQ. instead of the other way around. but i don't know exactly what you are trying to achieve.

                                            Also: If it is not sounding: what would you expect to hear?

                                            All the best and greetings,
                                            d

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

                                            47

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts