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.
    • LindonL
      Lindon @aaronventure
      last edited by

      @aaronventure okay...interesting again....but lets say i wanted to apply it to the volume of two(or more) different groups in a sampler(so essentially XFade), how would I do that?

      HISE Development for hire.
      www.channelrobot.com

      A 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @Lindon
        last edited by aaronventure

        @Lindon Sampler.enableRoundRobin(false) to disable the groups acting as RR, and beyond that the groups are just different lists of samples within a map, navigated in 2D by noteNum x Velocity.

        Sampler.setActiveGroupForEventId(int eventId, int activeGroupIndex) lets you pick the group that the target event will play. In a previous line you played the note and targeted the sample using noteNum x Velocity.

        After this, as per my last snippet, put the dynamic layer number into the eventData and tweak the modulator.

        You can of course do all the volume math right here in the code and set the volume directly to the modulator like the snippet before that. You or the user defining their curves is just about you reading the table and using the Skew that they set the table to to get the final curve, which is just output = Math.pow(input, skew).

        Some side musing: the event data obliterates the need for the conventional sample map layout of velocity x noteNum. For very complex projects like ours, a simpler sample map paradigm could be added to HISE as an alternative: you'll just load in the samples, choose the token for the map and the map will assign it an int, making the sample map itself just a list of samples with a single int value. You'd come up with a scheme to set the numbers, like `noteNum + 128 x layer + 10000 * rr, use it while exporting the files as well as in the code to pick the correct sample. The rest is just setting the correct eventData value in the following line to do what you want. Because the current sample map layout exists only to let you do a WYSIWYG velocity to volume mapping, and is a very backward way of working for anything with a bit more complexity.

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

          @Lindon We must have both been doing something wrong. I just tried the setMultiGroupIndex again and it works, perhaps I forgot to disable round robin before...

          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 I sure didnt forget to disable RRs and it fails for me - can you send a snippet?

            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

              HiseSnippet 1187.3ocyW0saaaCElJNLHwMsXsnXq2L.ghcQxPQfsicRFJFlSbRZCVchgUVQ2UELTz1DQhTfhJaYC6cZOB8QZuAaGJIaSoXj539ypuvPmygGwOd9N+P0SIor3XoB4T87qiXHm0wdWKzi5LhvEnSND47.bWRrlobyTcv0Qj3XlOxwoxKLJbVaYT5u+4mNfDPDT1TUHzqkbJ6U7Ptdp1ds+YdPvwDe147PqU2r8IToniLPl.3oBtFJhPujLjcJwrrkvnWRhGgb9dre8l0GrGkryd0a1fRar2tM9gcoLxfArcp2Z2l6Mn4.BsVCjyJG4y0RkmlnYwvK8.o+0dij+lHaCdMOleQ.yHTG4A6blZTmQ7.+diCNwHjCt2zPUkrP0iwc497I5mFx9pTCtS8vNn4rzsAo52AH4XAokyfzCwdTEORO0hAO2Ceh.XPHjvJ.kr0hV5qcvcjvJD5sBIWxNVABS7XicpU6Ytvea97pUA9IV6dEQ45QBiBXp5t+naZByVCY5bca7zwFeJ3y3m2hIHv4puLQ32WdAWrw.RPLaymOHQP0bovUJNUpYmI1Xyp+Y00p9WUcKaZvfYZy.dkLvr0yxrIKScaNtgHI7Bl5YvAKHgMYgPTsHUsx7QUzrXo0BkhSDb8YQrb4ikA9FJv77MIVTNY.O8KmbHQSLbctNXcQLklafiygrqfpqLleM7gr3K0xHn95FoEPBozOIfnKlkZpeyM.wiBoFF5WDy0WaWeeGRcqcqotyKDeHtGWSGMaLtzLvHDo9Tfw7B96iOB5vP0SA3x3ieyhVcO+a+2ls8OB6oULRHWLLunJECUwiKw9XzbNZtaN2SwBjDeO9eXsr209fDHFoJp8uamtU6GBE+E1qbj2mEwHZfls7Y0186+BkLIprWOocZRw4JX3.DJrOimIXPrVaeF6njwwCfiS56J11TuD0PSrZpl9rqXp3h5NMID3agfE.NicpXpJiYF9kS6RzJ9uau5zco14jTNFlXkJWujbiRxaWRtYI4Vkj2oj7tSkyBncIQlLiuAOhDB89X9GlDPMcA6DH0itQesUmu9ZvasGAhCVq7.9vI6Xllh8TrV5DhHErVyf8XZMviwVqcFC6V4S072kmuJz2SK6u764V35BqMFidbC6cj3JnVFzXv3ifIICHIA5wZK1WoqTHiFIEbZwJGnRX3PlxF6y7.suVCEtS07318YALRrUo+209UbAinJ1P3NEKt6WcZl70SvYv00zLz8Cg29rllcqyMqLWyM+ni2EeF5m0P2Cxml5B6tR+ENOuNNs+uqYb8+WPEtPuo883Qg2GlW5A2QfxrmZthYRblbMirAPdLgepv+B+xMV2H6jardIiMr8rQIiaa641kL1z1ylkL1x1yViMhnigObxyeN8t3NUx9PlzqfF.WXHvtLJFt8iILrL1miP2c+tGN17ARuTB7vb69u9twtuN17o5LYOBWcCpAOSpYoOHpAERnJ4aoYeHkIXsZpF.uhzuZeMbWiracT5GWYelCggzukRK9ptgiMVTG2dQcr4h5XqE0wcVTG2cQcbu2uil6PsehVFlMAAg516nrTQmiljJVA8ebqqqKI
              

              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 1187.3ocyW0saaaCElJNLHwMsXsnXq2L.ghcQxPQfsicRFJFlSbRZCVchgUVQ2UELTz1DQhTfhJaYC6cZOB8QZuAaGJIaSoXj539ypuvPmygGwOd9N+P0SIor3XoB4T87qiXHm0wdWKzi5LhvEnSND47.bWRrlobyTcv0Qj3XlOxwoxKLJbVaYT5u+4mNfDPDT1TUHzqkbJ6U7Ptdp1ds+YdPvwDe147PqU2r8IToniLPl.3oBtFJhPujLjcJwrrkvnWRhGgb9dre8l0GrGkryd0a1fR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MhnigObxyeN8t3NUx9PlzqfF.WXHvtLJFt8iILrL1miP2c+tGN17ARuTB7vb69u9twtuN17o5LYOBWcCpAOSpYoOHpAERnJ4aoYeHkIXsZpF.uhzuZeMbWiracT5GWYelCggzukRK9ptgiMVTG2dQcr4h5XqE0wcVTG2cQcbu2uil6PsehVFlMAAg516nrTQmiljJVA8ebqqqKI

                errr.... this has 2 lines of code in it:

                const var Sampler1 = Synth.getSampler("Sampler1");
                Sampler1.enableRoundRobin(false);
                

                So theres nowhere it is doing setMultiGroupIndex

                and the XFades are not turned on anyway....

                did you send the wrong thing?

                HISE Development for hire.
                www.channelrobot.com

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

                  @Lindon Check the on note on callback. Weird, apparently it's empty in my snippet... hang on.

                  But you're right, I forgot about the xfade... too early for me, one sec.

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

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

                    @Lindon Ok it's all setup correctly and working in this one.

                    HiseSnippet 1214.3oc0W0saaaCElJ1rHwMsXsn.q2L.ghcgyPPfkiyOCACyINIsFqNwvNqX2UvPQaSDIRAJprlMr2o8HrGo8Frcnj+gRwMKwMoayWXny4vOwOd9kpqRRYwwRExoxYWEwPNqh6ekPOp0HBWfZeHx4o3NjXMS4lo5fqhHwwLejiSoWaT3rRYT5u+76OfDPDT1LUHz6jbJ6s7Ptdl1tM+AdPvwDe1Y7PqU2nYapTzRFHS.9TBWCEQnWPFxNgXV1RXzaHwiPNeC12qg2fcojs20qQcJs9t6T+a2gxHCFv11aqcZr6fFCHzZ0QNO5HetVp5qIZVLxo7AR+q5OR9yhrM3c7X94ALifGpOryYpOVF3aNhFsnVi3A9cm3nhQHGb2YtsRYtsWf6v84S0Oy88EoFbmgv1A5rTd5UJG87roWMK5MGJ4XQoxYT5Y39TEO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M.eEoeO+J3NFYWOT5WQYS5PXH86oz7upqAr9hBbyEEXiEE3VKJvsWTf6rn.28eFn4NT6mnkgYSPPnNcOJKUz4noohkP+MjD4zmB
                    

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

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

                      @d-healey this is getting a bit difficult to prove perhaps we should be sharing a project here - not snippets _ I can zip up my test project - its very very small

                      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 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.ECALRTwDUhTfhxsdE8cZOBCXuP6MX6njrkjqyRrQRVGZ8GDzc7Nxe5Nd+3Q2QvsIggbARq7QCBHHsaq2c.S1aqdXJCsWKj1WqaY8xcvNjiHgxplnMGDfCCINHMsROWYj1hyih+8W+zlXOLyljoBgNlSsI6S8oxLscZ9BpmW7bR8yYc8l6YyYaw83Q.fJoWEEfseM9LxgXkYyoi1EG1Co885Nl0Mc2vF2XCy50rsqsw50dx51DrqKog4ZqWeC25tX6p0PZKrsCUxEckXIIDoM+lbmAc6weCKYANlFRO0inDLQcgUNQ8NbOG0mnRKZqdTOmNCiTgHjldmr3Voj318zOf5PGoOK98MwCXj4Q9.n1bEgWoBvyLO7plCdS.RZ4fz7IP5N5csEz.Y1HJ77E56wjDADdHEfRhsHs+TeKNX.SVwG+ZxNBPXjCK0nZ0ULfGK+zxkK6FwrkTNyfyNjKIsYKsb42Udwxuurw3C45NwwTqjf64QDSbX0tCw+liKwh7OkHVwnO1KhLxPHBTLrpe9g07Yc6jO7bFxY6wnx1AD14sW.kFsf29k8ZgkXUtHUGXW.QHoJHn0hzGpDRxLKp2hD9ZIO.pE9fzFrgg6D4gkE2Eop0RG.hAERcp7CKjJGjuV7Jaq0kEh2QuCUZ2axXbtIfQHRccfwzBxuTeafMvVlAv4024kWOUe4W9acN7n2NttBjHhqDRzfKMIpVoOyANNGnk0tXlCP7LINv4JMmtQYiG+XiPIVHMNcfA16M3AgFxHAixNCXfLj8HFtTQnzPHLf4BLwKVIGdHBM3ttUpTorAjL.a5iEpAayZyHgF+nwqLWo9u9zwG00MY3WUakUWYsUZnrHuMcw9A.lMgIHd2UkyHx3vPrzROX33OX4XGGJVAGl95RKWgvvPzzhGwbr3mRYK4h8BAtSiygNehSRHQdPjmj9bAOJXOlC4sKkg+ULRlxmNcNyR7UJhTt94CQ97gHe5dHx2kr72UuqTPv9.kSZ4SLFJqOrt5l8fjNBhGG6zk9a4L6OZtYDDiDE096MiWpm4C7LEVqTjaQBHXIjly4ysZZYEyILtW2uY7lhiDvsAfPQ9uQfy.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
                              

                              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.ECALRTwDUhTfhxsdE8cZOBCXuP6MX6njrkjqyRrQRVGZ8GDzc7Nxe5Nd+3Q2QvsIggbARq7QCBHHsaq2c.S1aqdXJCsWKj1WqaY8xcvNjiHgxplnMGDfCCINHMsROWYj1hyih+8W+zlXOLyljoBgNlSsI6S8oxLscZ9BpmW7bR8yYc8l6YyYaw83Q.fJoWEEfseM9LxgXkYyoi1EG1Co885Nl0Mc2vF2XCy50rsqsw50dx51DrqKog4ZqWeC25tX6p0PZKrsCUxEckXIIDoM+lbmAc6weCKYANlFRO0inDLQcgUNQ8NbOG0mnRKZqdTOmNCiTgHjldmr3Voj318zOf5PGoOK98MwCXj4Q9.n1bEgWoBvyLO7plCdS.RZ4fz7IP5N5csEz.Y1HJ77E56wjDADdHEfRhsHs+TeKNX.SVwG+ZxNBPXjCK0nZ0ULfGK+zxkK6FwrkTNyfyNjKIsYKsb42Udwxuurw3C45NwwTqjf64QDSbX0tCw+liKwh7OkHVwnO1KhLxPHBTLrpe9g07Yc6jO7bFxY6wnx1AD14sW.kFsf29k8ZgkXUtHUGXW.QHoJHn0hzGpDRxLKp2hD9ZIO.pE9fzFrgg6D4gkE2Eop0RG.hAERcp7CKjJGjuV7Jaq0kEh2QuCUZ2axXbtIfQHRccfwzBxuTeafMvVlAv4024kWOUe4W9acN7n2NttBjHhqDRzfKMIpVoOyANNGnk0tXlCP7LINv4JMmtQYiG+XiPIVHMNcfA16M3AgFxHAixNCXfLj8HFtTQnzPHLf4BLwKVIGdHBM3ttUpTorAjL.a5iEpAayZyHgF+nwqLWo9u9zwG00MY3WUakUWYsUZnrHuMcw9A.lMgIHd2UkyHx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abwNpNv9YQRteROgHzAc1N47EssGc9RIz+.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

                                            16

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.5k

                                            Posts