HISE Logo Forum
    • Categories
    • Register
    • Login

    Massive instrument model - is messing with my mind.....

    Scheduled Pinned Locked Moved General Questions
    75 Posts 4 Posters 1.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.
    • d.healeyD
      d.healey @Lindon
      last edited by

      @Lindon Yeah good idea

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

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @d.healey
        last edited by

        @d-healey Ok here it is;

        Link Preview Image
        XFadeAndRRtest.zip - Shared with pCloud

        Keep, share and access your files whenever you need from wherever you are. Create a free pCloud account and make your life easier.

        favicon

        pCloud (u.pcloud.link)

        its very simple - there a sample map with one note playable - there are 3 "round robins" - each one plays a number of sounds corresponding to its RR position

        so RR1 plays one sound
        RR2 plays 2 sounds
        RR3 plays 3 sounds

        there are 6 RR groups - being used as XFades - so in the first 3 are the normal sounds - in the last 3 are distorted sounds ...

        Currently play middle C and all the groups play, but you can cross fade between them.

        The code is as simple as possible - its trying to play only the first RR group in each XFade set - so we should hear just one sound - but we should be able to xfade between the normal and distorted versions....

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon You're missing a couple of asSampler() calls in there. As soon as I add them and press a key HISE crashes. I'm investigating now.

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

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

            @Lindon Ok it works here if I swap the off and on lines around

            HiseSnippet 1540.3oc6X8taaaCDmJNJnwq6OsnCneXePnnEHYKv0xwwIEECyMwIMYMI1PNKn.ECALRTwDUhTfhxsdE8cZOBCXuP6MX6njrkjqyRrQRVGZ8GDzc7Nxe5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H8Ax5h5NLxGx2LFwSU0qoopJCIp7K09.rTPeadqiWkpGgiywORuV8Ji98jsfG8aCOb+gQJ62NwEyo2kZSuKql5Bb2oX45iIu1XxMFSd8LYM8hazW3xwGd.NnCFhk4rbSZ51YXrDMWPuFK7QWuF+OfxUatbXbwgXrKUE32l0GJkAMJLdW3fDWLbh7PsEoUNfy3A83LpcwBGnP3ryHh7XehePOSJg51LM2qoEwifCyU4+vl6C8EiEE4ClpXg4T2Z3DyW2WOAtFJtPi+yOpL8xDk0OFRL1pUTAxucjnwnOAyKFg.IVZ0b9LFv+IKx+0hXSOk3ULY.mcjtlwyQbSJwrBWUonqjNDJ8ISGB+agnuJs+.itpqu7QXWd2VO9vECUSG2jLhZShQTcbQ1cHRYDiOCIS6LUcgPSp5JaROL9dG4mit9b31iEaCi1Lkc9X00Slws0WPoGbaPIzX0vlazAj0E55yljuOn4TfOQtpRVAgtDlSrveC+RGzbXSSpAMGNHxd3TAQvz2SHQJkbiz3F78f1w7x+MFB8VpfDvzfBi2T6q5YPKqIOruOLI55lU.frPhM.woEW0U375Mph1m+Bxfz22kl8997iUKlJlrKM9UXVpsNJsKzzNSndo+8yOT+ccrZ+yau0QmrS68ass066Jc1ziFbRipmXYYV4M39nVQAdTaHen1mfthQSibn4Qe.ZZQCkYvow0ObVaJfyZW+vo9T.m5W+vY0K+VmUu9QSsKOZpMAzbSPPbSrF9XaA+D6DJXEUzsh0.QHVbnYQ8CTxFln9iy15CmHbhscwo5Cbr1r53pypi0mUGWaVcrwr535ypiabwNpNv9YQRteROgHzAc1N47EssGc9RIz+.xmuv+C
            

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

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @d.healey
              last edited by

              @d-healey said in Massive instrument model - is messing with my mind.....:

              HiseSnippet 1540.3oc6X8taaaCDmJNJnwq6OsnCneXePnnEHYKv0xwwIEECyMwIMYMI1PNKn.ECAL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tW2uY7lhiDvsAfPQ9uQfy.h0x7eiaI3ggtvmS7bEl25NQhyTwpLisH8Ax5h5NLxGx2LFwSU0qoopJCIp7K09.rTPeadqiWkpGgiywORuV8Ji98jsfG8aCOb+gQJ62NwEyo2kZSuKql5Bb2oX45iIu1XxMFSd8LYM8hazW3xwGd.NnCFhk4rbSZ51YXrDMWPuFK7QWuF+OfxUatbXbwgXrKUE32l0GJkAMJLdW3fDWLbh7PsEoUNfy3A83LpcwBGnP3ryHh7XehePOSJg51LM2qoEwifCyU4+vl6C8EiEE4ClpXg4T2Z3DyW2WOAtFJtPi+yOpL8xDk0OFRL1pUTAxucjnwnOAyKFg.IVZ0b9LFv+IKx+0hXSOk3ULY.mcjtlwyQbSJwrBWUonqjNDJ8ISGB+agnuJs+.itpqu7QXWd2VO9vECUSG2jLhZShQTcbQ1cHRYDiOCIS6LUcgPSp5JaROL9dG4mit9b31iEaCi1Lkc9X00Slws0WPoGbaPIzX0vlazAj0E55yljuOn4TfOQtpRVAgtDlSrveC+RGzbXSSpAMGNHxd3TAQvz2SHQJkbiz3F78f1w7x+MFB8VpfDvzfBi2T6q5YPKqIOruOLI55lU.frPhM.woEW0U375Mph1m+Bxfz22kl8997iUKlJlrKM9UXVpsNJsKzzNSndo+8yOT+ccrZ+yau0QmrS68ass066Jc1ziFbRipmXYYV4M39nVQAdTaHen1mfthQSibn4Qe.ZZQCkYvow0ObVaJfyZW+vo9T.m5W+vY0K+VmUu9QSsKOZpMAzbSPPbSrF9XaA+D6DJXEUzsh0.QHVbnYQ8CTxFln9iy15CmHbhscwo5Cbr1r53pypi0mUGWaVcrwr535ypiabwNpNv9YQRteROgHzAc1N47EssGc9RIz+.xmuv+C

              but now the XFade no longer works....

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon said in Massive instrument model - is messing with my mind.....:

                but now the XFade no longer works....

                Oh I see, Christoph has been really quite clever here actually and now I'm seeing it in action I remember him mentioning this when he added the multiGroupIndex function.

                It assumes that if you are using multi-group index and xfade then you must only want to crossfade the enabled groups. So in fact you only need to set the xfade up between tables 1 and 2.

                Although saying that, it doesn't seem to work consistently, because if I enable groups 1, 2, 3 then the first 3 tables response to the xfade, but if I enable 1, 2, 4 only tables 1 and 2 respond. Maybe I'm missing something.

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

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @d.healey
                  last edited by

                  @d-healey Im really not sure what you mean here...

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon Yeah I didn't explain it very well. Actually I think Christoph explained it better in the docs.

                    Be aware that as soon as you activate this feature by calling this method, the table index used for defining the crossfade gain will be capped to the number of active groups (groupIndex %= numActiveGroups ). The rationale behind this is that if you have 4 dynamic layers and 3 round robin repetitions, you still want only 4 tables to be active (instead of 12). However this means that as soon as you use this feature the amount of dynamic layers must be consistent across RR repetitions .

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

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @d.healey
                      last edited by

                      @d-healey well frankly I think thats terrible wording - I have no idea what it means - so how do I get it to playback just one sound and be able to cross fade that?

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @Lindon It's basically saying if you want xfades and rrs then this is made for just that purpose.

                        For example - you put rr1 dynamic 1 in group 1, and rr1 dynamic 2, in group 2. Then you put rr2 dynamic1 in group 3, and rr2 dynamic2 in group 4.

                        So in this case we have two dynamics each with 2 rrs.

                        Now you set the first two crossfade tables to crossfade with each other, you don't need to touch any others.

                        Enable group 1 and 2, and the first two groups will crossfade. Enable groups 3 and 4 and they will crossfade.

                        It doesn't work though if the grouping isn't consecutive. So if you enable group 1 and 4 then it won't work - at least it didn't in my test and from Christoph's quote I think that's by design.

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

                        LindonL 1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @d.healey
                          last edited by

                          @d-healey okay let me reconfigure like that then and give it a test....

                          HISE Development for hire.
                          www.channelrobot.com

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

                          19

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.5k

                          Posts