HISE Logo Forum
    • Categories
    • Register
    • Login

    sample loop crossfade

    Scheduled Pinned Locked Moved General Questions
    14 Posts 5 Posters 736 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.
    • P
      pnyboer
      last edited by

      I have not been able to get a decent crossfade in a basic sample of a waveform. It always seems to "duck" at the loop point. Is there some sort of setting I'm missing for the crossfade?

      http://sensel.com/morph

      1 Reply Last reply Reply Quote 1
      • LightandSoundL
        LightandSound
        last edited by

        The crossfade is linear. You can write your own (ie a log based crossfade) via https://github.com/christophhart/HISE/blob/2cf72ddab4374aa10fba46da539e9abb945d9470/hi_streaming/hi_streaming/StreamingSamplerSound.cpp#L481

        1 Reply Last reply Reply Quote 0
        • P
          pnyboer
          last edited by

          There's no branch or pull request done for this? This seems surprising, as it is not terribly useful as it is. One of the reasons I'm diving into HISE is to not have to deal with C++!

          http://sensel.com/morph

          LightandSoundL 1 Reply Last reply Reply Quote 0
          • LightandSoundL
            LightandSound @pnyboer
            last edited by LightandSound

            @pnyboer I've been considering just opening up my branch since I've been moving everything back in to HISE for instrument building and I can just license the instruments themselves instead. I haven't looked too much into the licensing yet (but I was planning on using a commercial one) I've just been getting the code down, I'll take a look over the license and figure out if it'd cause any issues and then if people are interested I'll open it up. I've gutted a feature some people might want and added other things people might not want, so I'm not sure how much it'll help.

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

              @LightandSound said in sample loop crossfade:

              I'll take a look over the license and figure out if it'd cause any issues

              You can publish your changes to the codebase under the GPL v3 license, however if the plan is to move it into the "official" codebase at some point I will need you to sign a CLA so that you grant me the right to sublicense your changes under the proprietary license - but that's fairly common practice in Dual-License Open Source projects.

              Link Preview Image
              HISE | Docs

              favicon

              (docs.hise.audio)

              (Scroll down to Contributing to HISE).

              LightandSoundL 1 Reply Last reply Reply Quote 2
              • LightandSoundL
                LightandSound @Christoph Hart
                last edited by

                @Christoph-Hart Given that I completely removed the scale factor combo box and functionality (in favor of freeform resizing), I don't think you'd want to merge it to the official one ^^

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

                  @LightandSound I think a lot of people would like free form scaling, would it be possible to add it as an optional pre-processor flag? You don't have to merge everything either, you can just merge the parts you think will be relevant to most people.

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

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

                    @d-healey I noticed some people (such as yourself) had already added the combo box into their UI, often hidden within it by hiding the edges, this would break those for anyone that uses it (it would actually just straight up vanish).

                    I'll finish up a feature I think is pretty essential first (version checking from an external file) and then just make it public and do a quick tutorial on the changes somewhere, then if people want to merge changes and whatever I'll leave that to them?

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

                      It could also just be an actual property of the combobox in the interface designer that switches between the scale modes...

                      d.healeyD LightandSoundL 2 Replies Last reply Reply Quote 1
                      • d.healeyD
                        d.healey @Christoph Hart
                        last edited by

                        It could also just be an actual property of the combobox in the interface designer that switches between the scale modes...

                        I think this is the solution!

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

                        1 Reply Last reply Reply Quote 0
                        • LightandSoundL
                          LightandSound @Christoph Hart
                          last edited by

                          @Christoph-Hart I think that's a good decision for developers, not for users. When you have the ability to resize as you would any other application (corner or edge component) I dont see why you'd have it any other way!

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

                            Ah, totally misunderstood that - I think you were talking about the scaling of the popup menu that opens when you click on a ComboBox, not the resizing of the whole interface :)

                            Yes, in that case a script property doesn't make sense, but I'd rather add a Scripting API call (like Content.setResizable(true) to enable this so people can test this directly in HISE and switch between this and the fixed size approach without using two different versions of HISE).

                            When you have the ability to resize as you would any other application (corner or edge component) I dont see why you'd have it any other way!

                            Well, if your plugin is based on images (like most of the plugins still are, those fake wooden side panels are here to stay...) you might want to use an even scale factor because the image interpolation really looks bad at 95,4% - this is the only reason why I went for the fixed scale factor option. If you go all vector, then this doesn't apply of course.

                            LightandSoundL AxiomCruxA 2 Replies Last reply Reply Quote 3
                            • LightandSoundL
                              LightandSound @Christoph Hart
                              last edited by

                              @Christoph-Hart And this is why it's good to have people chiming in, I don't use images at all because I just hate the workflow!

                              1 Reply Last reply Reply Quote 1
                              • AxiomCruxA
                                AxiomCrux @Christoph Hart
                                last edited by

                                @Christoph-Hart I like that option, a simple enable script that allows the option for people who want it, best of both worlds.

                                http://www.axiom-crux.net

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

                                54

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                101.8k

                                Posts