HISE Logo Forum
    • Categories
    • Register
    • Login

    Multi-channel volume and pan control

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

      Thanks Christoph I'll give it a whirl

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

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

        I tried dropping samples into the sampler you've set up but even though I have samples mapped to the same keys in all three groups it's only playing one voice from group 1.

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

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

          Just wanted to give this a little bump. I've still not managed to get more than one sample triggered with the built in x-fade behavior.

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

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

            This is an example project which uses a LFO to morph between two sustained samples (in this case, just a sine wave and a triangle).

            Crossfade Test Project

            Beware what you post next, it will be the 1000th post :)

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

              Thanks, I made a new build from github to try your example and it worked perfectly so then I retried my own project and it worked, so I'm thinking I just needed to update my build :)

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

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

                Weird, I haven't touched that code since ages.

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

                  Strange, maybe I derped somewhere else then :p

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

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

                    Ok there is definitely an issue with this. I think I might have found the trigger for it. If there is already a sampler in the instrument and then you add another and try and setup the group xfades on the new sampler it won't work. If you only have one sampler though, or the group xfade sampler was the first sampler you added then it works. It also works if you duplicate a sampler that has the xfades already set up.

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

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

                      You were right. Although the problem was a more generic one: If you activate the KillNote retrigger behavior, it kills also samples that are just started and leaves only the last sample in the crossfade list alive. My example (and every time I used this feature) magically had the KillNote property disabled so I didn't notice it.

                      This is of course highly counterintuitive so I added a check that doesn't fire the retrigger behaviour if the voice was started with the same event. It's on GitHub now.

                      This also fixes the velocity X-Fade behavior and actually all cases where one event starts multiple samples (excluding multimic samples) so nice catch!

                      But it has nothing to do with another sampler and it would highly violate our precious encapsulation principle, so please make sure this problem does not persist.

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

                        Excellent, glad it wasn't just me being mad

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

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

                        55

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.1k

                        Posts