HISE Logo Forum
    • Categories
    • Register
    • Login

    Stereo Effect Project. Example?

    Scheduled Pinned Locked Moved General Questions
    28 Posts 7 Posters 3.3k 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.
    • hisefiloH
      hisefilo @hisefilo
      last edited by

      @hisefilo Hi Filo :P here's an example

      HiseSnippet 1123.3ocyW0rbaaCDFTxrSsRkSxL8A.imdPtM0gTx1wYxzIxR1tilFaqTk3o2RgHgjPLH.CInsUxjY5qg6o1GidKOJ8QHW6o1EjThjxJtRGZZvMr+gu8iK1ErafzgFFJCPF25Yi8oHiuvr2XgZT6QDl.0YejwZlGQBUz.bhnVi8IggTWjgQ4uWKvX0UPwq2+3VDNQ3PyDgPmJYNzmv7XpLo9M+AFmeHwk9LlWNq2pYGGonsjKi.7T1zB4SbNiLjdLQaVISz4L5EgHCKyF02L3L69uduMmY09Is.YCKJG4DEDPEpSA2QFlF+MrLLOvkojA8TDEEhY4VR2w8FIuPjbzmxBY84T8FaTO.SIhQsGw3tcmPagHjwJcyHwxIj3WZdDykMUdFYdmXE3LOxSmFkJBoUJ.I6ODjNTxc0A3C.OibvakD3cWydNALeUlFM1tkYGA7cd.A9BlGVI1hJ0orYaIXgPsoG4L5gAvlodTaGKq6gssr13QUqTsB7cLTgOmDf6RBfudp.1qN3o3uCGWbs4Pp5fACnNpZqmoGevSWOwalfyDT7fHgihIEXonEQ3ZqK2zHHPxq4H87kB.K2CNEdDcipUdS0JXXc+6iedHEqFQwZuNYvfPpBSBwdQbEymyfRYkDCPH1FGITZ3.Fn.LzORQwLgK8xjXwkNDdh..6V3utP5rYt3+ME0ng5iRhQ0JqVPEX8dSNqZwgdRJ.N7137eBMCXr8j7r15S4f02PGjTlnMgy6CWSpccR5lHy5KFYVj.r++m.p+uQ.0mg.xk2GKUzSD01nxaprZk2dMMCFLOUoghSClmVcCrfavsZhHu9zfIIXpcvEwh2z+rE6ltSBsjyPonifoNwmltOqWf8b5EfR4UnqPoT.Blph6IrVZOgdblKM.wb0MDlVQghweZq5lMZb6lnEN.0uV.9sqtx5cnm2Yehhn6PkBK.p9z.ESyHF6SOGlbjzuZUy8ogmoj9w3Nsd.FUsPH+xoCX9YRywYSa1t4ELW0H87feA1NhxFNRo2AcQQdR2zy0g0mxQd4GzU+cdjKyssILdzuG60wo2udkd8GONLZv.FXkoI1sE3uqKm1UFxz0G4GPhVhDp9LIz6OOeB03SjD55yafodR2HNQUbTnNaRUniQ9YN54JBH1iy+7hkX9n0bmON26DKHbuqYWlxYz7wao4fW8kr+iwa5qMpZlLLMCrqXd3O8Q9oEqM4pZ6nfyoG7pXbbayBi2K.oii7NjwgmODpqQKAYltD2JeOl3KwS5Y7W6RiETu3KNEtMlUvVYBtSrKamuuiVvNoB9yu5k+drEOX1Xr6rBdX9fZT9ld7n8h+3QzOJiTLwviH.EoubArRO34uNT3ioPP4SImz8V58ZPziFSVIOlMUosduQpR6IJ+nbFdDm.4KbRlInqM97XIPdKhe79pveQ.6w1SFDn4CnIB6ENN550uEp0muG0WZOZrzdr0R6w1KsG6rzd7fk1icuAOz+3wdQJoWR2KD5e.56iySA
      

      Just found it

      hisefiloH 1 Reply Last reply Reply Quote 2
      • hisefiloH
        hisefilo @hisefilo
        last edited by

        @hisefilo thanks dude!

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

          You two guys seem to have a lot of fun here :)

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

            @christoph-hart LOL. Just a favor. Can you tell this guy @hisefilo how to add a knob for changing freq also? The guy sucks at coding

            JayJ ? 2 Replies Last reply Reply Quote 0
            • JayJ
              Jay @hisefilo
              last edited by

              @hisefilo lol, you're crazy brother, you made my day

              Joansi Villalona

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

                @hisefilo Hey Filo, snippet below. Just taken from the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q15i4U9nKUk2PNtWaxOkQye+0u9O1NLx0kHVktNzYWg+NNd3VrPhLOUELf4fXlCQre8726I1HYcSZa6asdukcliicst3sJ6tpikJ6r9k+erazlPEsBybh7P778GKyHSmPFC0FQkMaREwtu5iFdmzz7rB26n2hvs6Nd7tvXvqnH06Z7l9DjR5IcXO.rKp23G9u9diw+bnJ2z6M9zrxt0hBNGW+rXb7I5454OGjNHxuAwS7lB4coZEDLSluWQ8tq3i2p2hDehH+6HoNqOrgMFXX4XWdf5IWogMUuTQZ3gCGiGMrguZ3fVMCpv+5MfDKYX83+7u+sDKi.1pqqlgDaIGb0JjeipvrsQMl7jmvh3D5I6iDhu7XqPuaKdtrMVjlPoXuXYeAY0njwUjikfnMNdaPW6eD+RmrpbrV5jUyl7V4a3irCXuvNo8AYV2GFaQvaZ7i8KpuubLrZV6BR8PTdh7Baa4IguTbJZ7dXN2dr9b6wFysGOXt8Xy41iGN2d7no3g7+ywNQbleRcQggV0iaSSSqNEIxViOuC9WPhdydp
                
                ? hisefiloH 2 Replies Last reply Reply Quote 0
                • ?
                  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
                                            • First post
                                              Last post

                                            15

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            104.9k

                                            Posts