Forum
    • Categories
    • Register
    • Login

    New to HISE, the forum – and a question about Voice Spread

    Scheduled Pinned Locked Moved ScriptNode
    voicepanning
    24 Posts 4 Posters 128 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.
    • dannytaurusD
      dannytaurus @inlandempire
      last edited by

      @inlandempire Following this because I'd like to know the answer too.

      Lots of the UVI soft synths have a voice spread feature that allows to set a wide pan between alternate notes/voices too.

      Meat Beats: https://meatbeats.com
      Klippr Video: https://klippr.video

      I 1 Reply Last reply Reply Quote 0
      • I
        inlandempire @dannytaurus
        last edited by

        @dannytaurus
        Yes, I have one of their libraries too. I have a feeling that I am close solving it, yet still far.

        1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @inlandempire
          last edited by

          @inlandempire cant you just use two samplers one panned left one panned right and then alternate passing notes into each one....by say modifying their MIDI channel and having a MIDI channel filter in each sampler...

          HISE Development for hire.
          www.channelrobot.com

          I 1 Reply Last reply Reply Quote 0
          • I
            inlandempire @Lindon
            last edited by

            @Lindon
            Yeah... butI think that is the quick and heavy fix. But with ambitions to have 3 samplers (OSCs) then I end up with a mess of six in total. I really believe it is done with 10 lines of scripting.

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @inlandempire
              last edited by

              @inlandempire

              okay your call:

              HiseSnippet 1369.3oc6Z80aZbDD+NCWjgzV4zlpzGWE0GfZWDG9O3JKqRrM3fpwFYbcZdJZ8c6Aq7wtn8VbqUU+PzuQ4iPepO2OB8aP6r2Ab2YeFiotIgX3AK1Y2Y2e6LyNy7C4lBtEwyiKzzydxk8HZ5ehQqKYxN61ASYZ02SS+yLZf8jDAJPzNW1C64Qr0z0SsuRfdlzZ9e96ueGrKlYQBEoocJmZQNf1kJCk1rxOPccqgsImP6FY0qUotEmsK2k2GvSJihZ8vVmiaSNDqV1BFZuD60QS+aL1v1Augc40KZRVcS6xkLKu92sV4M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DCE75JWqojWWoN7hRHaxcwhqZ9SceEZmdhiQTWoYmXZUZIvjOKAX+PhYG.ujAzx3G.v8XdeIk0FX9KTsrZ.jnaAclaQFzJipQR8ET0rCFWTMNnOals+f+A9LXRS0X8ASZNbxI2j.cMO63AelAzIeIjexez6+r+uicj2A5jklSmLRL6rJcxz+GoS9vgBYoD+4aM0uQNj.0GOtKoPOAEXG9bKmBEdNZYTR7JU+Pqigxo4sQ47lHbdEHvcFOFd+PO039hd5bJo2EJoklSIcNkzGdTRKcuSI8syojNmR5bJoyojNmR58li7cwYzEaI3uwJnYUUN1E8k.2al++SSYLZnFiL07afMpgsKPZ4MVVw2pqoXooUwUmVEWaZUb8oUwMlVEKOsJt4sqnhS4K5K4cCdm.DsaV0u6ec8.N19OYz9W.9+SlsA
              

              HISE Development for hire.
              www.channelrobot.com

              I 1 Reply Last reply Reply Quote 0
              • I
                inlandempire @Lindon
                last edited by

                @Lindon Thanks – Exactly where I want to end, though I still will have to figure out the logic in doing the same with just one sampler.

                Things like these are still tough for me as I think mostly as a musician and producer. So I think in the picture of a midi message triggering either left or right, but running through a stereo amp :-)

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @inlandempire
                  last edited by

                  @inlandempire said in New to HISE, the forum – and a question about Voice Spread:

                  @Lindon Thanks – Exactly where I want to end, though I still will have to figure out the logic in doing the same with just one sampler.

                  Things like these are still tough for me as I think mostly as a musician and producer. So I think in the picture of a midi message triggering either left or right, but running through a stereo amp :-)

                  Well, what you seem to be conflating here are signal and note routing...once a signal is audio then you get to pan it left or right, you dont get to decide which side based on the note played - at that point its stereo audio data - coming out of your sampler. it no longer contains any information about the note that generated it.

                  I think its worth having a model of how the sampler works:

                  Midi data(notes) arrives at the sampler, and the sampler looks up the correct audio file to play and plays it, then it mixes this audio in with any other audio that it is playing at the time and outputs that as stereo output...this is essentially how all samplers work

                  Notes (before they hit the sampler) can be routed in several ways - I demonstrated one using the notes MIDI channel. Now as it happens just before its mixed with any currently playing audio you can modify a notes audio - but only gain or pitch - with the available APIs, but there is no API for settings its pan... so you are out of luck there.

                  You have an edge case here, you can ask @Christoph-Hart if adding an API call e.g. Message.setPan(value) is even possible - and it might be a nice thing to have. But if you want to do what you want within the current HISE engine I cant think of another way - always keen to learn if you or anyone else has a solution....

                  HISE Development for hire.
                  www.channelrobot.com

                  1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey
                    last edited by

                    What about adding a simple gain module and alternating the pan parameter with each note?

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @David Healey
                      last edited by

                      @David-Healey said in New to HISE, the forum – and a question about Voice Spread:

                      What about adding a simple gain module and alternating the pan parameter with each note?

                      ..which would then pan all playing data (all notes) to one side or the other...

                      HISE Development for hire.
                      www.channelrobot.com

                      David HealeyD 1 Reply Last reply Reply Quote 0
                      • David HealeyD
                        David Healey @Lindon
                        last edited by David Healey

                        @Lindon I think it works per voice, I seem to recall Christoph mentioning it somewhere.

                        I made a little snippet to test, let me know if this is the right idea.

                        HiseSnippet 1094.3oc2X0saaaCElxwrn1cqncnXXWJTrKbFxBrZ7xOqXHNINYyX0IFwosaWUPScrMQjH0nnxlwvd41SvdT5av1gRN1xMdNtdYYMSWHXdN7P9wuyeTtsVwg3Xkl3T9rgQ.w4incFJMCNX.SHIMaPbdHsEK1.Z2LQ6OLhEGC9DGmU9Vq.mREIoOuc28YALIGlHhPdkRvgWHBElIRaW+6EAAGw7gyDg4lcs5M4J4Ap.UBhmUnUIQL94r9vwL6zJPIeGKd.w4Kndv101xu6N7taVyq1F7cpswNU82lUC5wgpd96Tqasc3U2h3buC8EFktigYfXbQ2W4Ory.0OKy1fWIhEcC.6.ORGbmyDSNXfHvu8kjSLg3PaOgpVIipdBskvWLV9DJ6QoJbmXQdRyov7fj26AjJjCREyfzioc3ZQjYhFKdd.soD8f8XnuIOTxlKw42oGnvIHMqGxNGNRiCFaPkMqVcMW70pOub4dIRtQnjtJ4wJCbhrxpk+0xkJ+akceWU85MSc1MRqBB.8LUaCHzyyvJxjvtfdM2KXAIv3IhDvzr58VLVkmctyMQkroTXNIBFM9HUfuksr+9p9.xHhC+0Ka1fYXnawYjLbdQf1HrvwoAbAlHj4jJQa.wmaTQXpvB5AKQiXx1JY+Y4+JrkCUC8cwo39MteoW0pnqBOYwF2Nhvn.vlm5gpRyrWuOXNrWOfap7zL0to5e5pO28uw+lsvouyVe2ccsu+5QaVoxkxsQqGCl8LFsnahApjWwn5CqYWJLb5CunF5MUTysQjBVkQ4mDvLSW5wR0iTfbvTwK1jZYrvLLeQ62i5QUma8nEEhOl1VX3ClMFKLCLZK08u.FGUE+ioYYCS.XQ5Q+vxVxd9auiSt8+9ia3NNEYTC27okyogKgz.BXSQTuV3aFLQfn9UZI+i0aJu.C1ZqBX52klW4lp0TwENVvdjb+mDuVbwbFWSc7EDueBMkxuKA3zPh6N.9Qz1rODBHNUkXDx9sXXireA6LbbRXG7dob.gpTBA1tENEr00yFW0N1BnNfzOcvehOiT5YG6LRo2kJySIOLiRd.l6Kgz9zorwmlN180rKvxAfDzVxZd0D9iE8R3QK7kvOgavs+LMSFGohmZg6.ghyTRKqOQ3KiwqPB+zoV2Wd4GnX5Yp5s6dDdHmoMcXlDcZbvdgpDoYdUqJtXUqlt+Xt4eMkwtstz+MSS1+CuGvTM4JcIFy5ocH16I.ury3ho8XIAlKkNcfcKkTEMPIE77d8SALgreePmG6y7.g2AE+7wIRdR8Sg.fkOB9yq+BLxioQdBVRtvaw4h44u9LZFbcsYit2cu+1J+u99a2JcEtM1iPFWqdCO6qirwo2OUBdtko+WKknsric8HoewTdeYHVk6Mb9zK0UL7YKqgarrFVaYM7qVVC2bYMbqk0vsudCsMg1KwnByRMIjVsOL8yMcbNTxvn7zLBxeArDJsYF
                        

                        Edit: Looks like I might have been thinking of the poly stereo effect, but that won't work with a container.

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

                        1 Reply Last reply Reply Quote 0
                        • David HealeyD
                          David Healey
                          last edited by

                          Ok it works with a synth group. I was a bit lazy and used a MIDI processor but you could probably use a scripted voice start modulator if you wanted to.

                          HiseSnippet 1182.3oc4Xs0aiSDEdbSmER1xxtRUHdAIqU7PKZoJlF5EVg5kjlRDaZip6dgmVM09jjQ0YFy3wEpP7aCD+B3mx9O.Nisah81P2zPfsa27fUlyYNy4ym6i6njdPTjTQrpb74g.wZAp64Bc+58YbAoUCh08nsYQZPYmRZ2yCYQQfOwxpz9FBVkmmj76UasKKfI7fQjHjmI4dvS3C35QT6r82yCBZx7gi4Cxs6Za2xSJpKCjwHdJQqRBYdmx5AGvLaaNJ46XQ8IVeA0A1n159mro2IqUyo1pdaVa0Mq5uAqFz0Cp53uYsSpsoW00IV2YOetVpb0LMDgG5tR+yc6K+IQpBdFOheR.XV3PbQMmRlTuOOvuyEFmHBwh1YjopTpoZQZatOeH8Qlr6mvvdjD4MZVycUPx4Z.IqbPZ9TH8.pqmhGpGwwfm6RaIPOXWF5axCkz8Rr9CZcItAgdkArSglJbwPAVZspUejM9X4GWoR2XgmlKE1RwARMbnXokq7KUJW4WqX+5r51cr7LJRICB.0XYaBHTWkfKIhGbBndj8YrfXX3FQCPQq5clLqpW56ctMJEsDb8ggP15lx.ei0x7+K6CHYFN7eOsUCllYbKYzv8EBJM2.GqFvYXhPpSpLsADcpVFhoBWxChwNR+3.ltX.kIUKiAZOJ3EMtJQDWed9TwqQTV0qLJaRg3Cnc3Zu9iGiyMFLhVp+KvXVt4GQ2qaWvSOBfySa9hoMQbxU+GWnJ59JYbXh1WLk.DwivRoIzclE0RCm3Zo6IX3aSy14Ow5LkhCpVBe3myo7ean+8RbdpfGIExDnry.YrPmGzYba.5XQAnmwvMTAL+7RXPuKfP0O4HiJDCWpnCZ9IKmtXpRt8OlRnevagp5UmQU0KSCYhNRQuwUSetOyhpfd13Vr+V6uzoZUr7MZliz10MOYBsCxHInbkdfdnGeoGNj+CW9w+CE7SO0jmoGt8V1lmeSllJWo7vSYkHPOL8eITFrQxMu9EzYU+h2G6QTHls7EXzkOHL.1SbFDfujYMIZ.cYwA5gTyCx1XEhv9RA2Keoii.sh2qGnxC8w99riViyKNhxhaeDD.rnbUh97seBW.LEZlfozTb8GJartqOklBWaSHr86ts1Kcqt0dA2IMU+Unt3rwfD0oQ4Kjszt4KJ1QuCKWC8e32eN2W2OGgs++Ol69TDS+qh0lvVviFZdxMpWzvH6FKC6e7lA4t7PY.SYlyblYSmzbiEnoC6Xrp2.ScwfyjQtdKBu6kBu6h8CDPx7FIH6SRVa+b1Yf89f.TFfeUiD+my9QhOzSip+XESDEJiJbvtv.9wRQ9ARw12Q3kige7HSxSgwnkL0XY8psZhujiUFWlNVkjE95iQiIHklUUFl+F27suubk2a28EIGIi0bQu1Lb3L7BhzChG3h4Ud.pcg.BLiTaMmI2HccUy5zDKgexh+B+kwzwr1JioyELu0niALOk7kdoWHwjU9gITPaqH4CaVl11r11gjbIk7wKCvLxW54U7ntjfe0zJ3pSqf0lVA+5oUv0lVAWeZEbi2rflBl6DqkCRS+Ij1c1K4FdVVoetkjrNxeicrhkO
                          

                          Free HISE Bootcamp Full Course for beginners.
                          YouTube Channel - Public HISE tutorials
                          My Patreon - HISE tutorials

                          LindonL dannytaurusD 2 Replies Last reply Reply Quote 0
                          • LindonL
                            Lindon @David Healey
                            last edited by Lindon

                            @David-Healey interesting...nasty clicking in the audio output when you play more than one voice at a time...and it doesn't seperate out notes playing at the same time here...yeah its panning everything when you have more than one note playing...

                            HISE Development for hire.
                            www.channelrobot.com

                            David HealeyD 1 Reply Last reply Reply Quote 0
                            • David HealeyD
                              David Healey @Lindon
                              last edited by

                              @Lindon said in New to HISE, the forum – and a question about Voice Spread:

                              yeah its panning everything when you have more than one note playing...

                              I wonder if a voice start mod would solve that

                              Free HISE Bootcamp Full Course for beginners.
                              YouTube Channel - Public HISE tutorials
                              My Patreon - HISE tutorials

                              dannytaurusD 1 Reply Last reply Reply Quote 0
                              • dannytaurusD
                                dannytaurus @David Healey
                                last edited by dannytaurus

                                @David-Healey This doesn't do what I expected it to do. If you extend the release you hear the whole audio signal panning left and right.

                                I think the request is that once a note is triggered on the left, it plays out on the left, then the next note plays out on the right.

                                EDIT: Ha! Late with my reply again 😂

                                Meat Beats: https://meatbeats.com
                                Klippr Video: https://klippr.video

                                David HealeyD I 2 Replies Last reply Reply Quote 0
                                • dannytaurusD
                                  dannytaurus @David Healey
                                  last edited by dannytaurus

                                  @David-Healey Here's a video of how the UVI synths implement it, and what I think @inlandempire is asking for:

                                  https://share.cleanshot.com/ccSNXnWL

                                  Meat Beats: https://meatbeats.com
                                  Klippr Video: https://klippr.video

                                  I 1 Reply Last reply Reply Quote 1
                                  • David HealeyD
                                    David Healey @dannytaurus
                                    last edited by

                                    @dannytaurus @Lindon Here's a version with a voice start mod instead, let me know if this is better

                                    HiseSnippet 1163.3oc6Xs0aaaCElJNra1MqqEHXX.6goArGRG5FrV7xEDLzbw1YFqNwHJ8xdpfV53XhHQpQQkMig8aaE6Wv9oz+AajTJ1TItMMdI8FpeHw7b3QmOdtwOqdBd.jlxEHmZGNJAPNKf8GwjC2YHgxPcZhbtEtKIUBB2bQaOJgjlBgHGmJ6pE3Tcdj4yyu+1jHBK.lHBgdDmF.OfFSkSj1ayelFE0lDBGRis1ciM6DvY6vi3YJ7TAWGkPBNlbDrGQus4vnehjND47MXOXsFqF1e8f9qzvqwxAq2X40qGtFoALH.p6Etdi9MVOn9pHmazJjJ4BeIQBoHm42lGNxeH+2X4N3QzTZ+HPuvC4q7bt317nP8QTKEsyPZTXuSCToHjCt2jvVk7v1h3tzP5X4SBe21nvchE1APm4JCuJkfmmM7paAuo.IGKHMeNjtC1OPPSjSznwyMwcXpr4.hJOYCk78hb9a7Nb0FXxuKlbLzVnVL1fkVod864p9yc2nVsAYr.Ikyb4r83RXe1R2s1eTqZs+rl6YUMXvT0ocjfGEAhopVWbHdYFtDKKtOHtm6IjnLX7FUAfxQU7KNpZmzCxO2Vajy5vnx8S.1KpT.UDrTe6gcZRjDcpnPlZeIfPR0PvoIbhpQHOwTE2DROVxSTsBmKqopW3gYQDY4hHcqVgBULnTlSmdXoT4H6VwqrJqWUHdGbOpLX3zw3bSAipH00AFK5G+DbqACf.4D.NOt8StdZ9rc+mVZJ5tBdVhw6KlK.RoopQoF4dWEyRSdkmk1hQTml1cseh6PDBJH5vBge2x4+03764z7PFMky3FnrULOiIsAcg1lfLiUB5EJ7SD.Iz1BM58AETCMOxzR0vUdYCu8lwg2ezacCueGXJPo6WpdJF8owIQPK1IPjZTWwXflv.RVjbrTaP1UUCjLjynA1EGG.RA8ni.gMzm54YKoTwHXhjE27.HBHoV0Ze8lOfx.hPElfYLT3coupcpoqOGmCWWcmo66tCuq7d8v6RoSbt+qg8ULd.txmZmuPwR21Oo7L6dDqQ1+xydLMTNzRvlu9q4tMVgo+W0ZW5grWHduQNd+hB5nl47JuIjiwuA5eYgdWyFbM6vc7V7t3Sx1zDdDQnoabJY1mgEvQtIpPxO59sdaXQgbBJV5D8WMWzYnPlu6uR8uMpUUntISvbMKJyAs3AvSNq8WNRtWRprybEzqIhpKfyu6Wm3tHBfuAlyo5jMLPdCBuakCuapt7jAFNgFj8Yl0tOlbB3tKv.w4K5KyP7et5YHtefT49CEDVZBOszC1GhoGxY17yTERopeeH7qGnmzThUImHlppme+1pC4TswmnZzLirNKqRUg50BOv4+.OvOPn35HKd.OSRYG0knX0p9sS38xh8U8XAfx6LFDoeiDNyo6SxWWWuNuIiEZV7upOEJ8zqcJT5cpx2a7QLIPveZP9kf5txO1HQEaYl24WUbW8ZWOj4hQ65kXUG4SCBJ+nNmge+rZ3xypgMlUC+gY0vUlUCWcVMbsK1P8.ysxj7371eDpauVFdGNN4uIBSWG5+.n.WafD
                                    

                                    Free HISE Bootcamp Full Course for beginners.
                                    YouTube Channel - Public HISE tutorials
                                    My Patreon - HISE tutorials

                                    dannytaurusD LindonL 3 Replies Last reply Reply Quote 0
                                    • dannytaurusD
                                      dannytaurus @David Healey
                                      last edited by

                                      @David-Healey Works! 🙌

                                      Meat Beats: https://meatbeats.com
                                      Klippr Video: https://klippr.video

                                      1 Reply Last reply Reply Quote 0
                                      • dannytaurusD
                                        dannytaurus @David Healey
                                        last edited by

                                        @David-Healey And using Stereo Width on Stereo FX1 allows to control the width of the effect. 👏

                                        Meat Beats: https://meatbeats.com
                                        Klippr Video: https://klippr.video

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          inlandempire @dannytaurus
                                          last edited by

                                          @dannytaurus @David-Healey
                                          Yeah it seems a bit more difficult than I expected to be honest – and sorry for the confusion with midi messages kind of triggering a left/right function. That was a bit awkward. :-)

                                          I am fully aware that if we are inside of the sampler we can decide where we want our samples to be panned and when they go out of th sampler, they are panned the way we've panned them.

                                          In the Oberheim domain (at least on the older models – well basically on any analog synth) – each voice has it's own amp with it's own envelope – so basically the amps are panned Left/Right ...(or how you like them to panned if they have exposed individual trim pots).

                                          Thanks for helping on this issue....it's much appreciated.

                                          1 Reply Last reply Reply Quote 0
                                          • I
                                            inlandempire @dannytaurus
                                            last edited by

                                            @David-Healey said in New to HISE, the forum – and a question about Voice Spread:

                                            @dannytaurus @Lindon Here's a version with a voice start mod instead, let me know if this is better

                                            Thanks David - This was exactly what I was aiming for – and intuitionally I was right. It was really not much of scripting. But I had not figured out at this tage of my developing career :-)

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

                                            31

                                            Online

                                            2.1k

                                            Users

                                            13.2k

                                            Topics

                                            114.7k

                                            Posts