Forum
    • Categories
    • Register
    • Login

    Smooth transition trough preset changing. (No sound cut)

    Scheduled Pinned Locked Moved General Questions
    7 Posts 3 Posters 111 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.
    • Y
      Yannrog
      last edited by

      Hi,

      Is it possible to make transitions between preset without sound cutting? Maybe a way that load samples smoothly. Thank you !

      David HealeyD Oli UllmannO 2 Replies Last reply Reply Quote 0
      • David HealeyD
        David Healey @Yannrog
        last edited by

        @Yannrog I don't think changing presets kills the audio engine, but loading samples does. You'd need to have the samples preloaded and uncoupled from your presets.

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

        Y 1 Reply Last reply Reply Quote 0
        • Oli UllmannO
          Oli Ullmann @Yannrog
          last edited by

          @Yannrog
          You could try this:

          BackgroundTask.killVoicesAndCall(var loadingFunction)
          
          Y David HealeyD 2 Replies Last reply Reply Quote 0
          • Y
            Yannrog @David Healey
            last edited by

            @David-Healey oh,

            ok, How is it working? I have a lot of samples. Is it loading once at the opening of the plugin?

            1 Reply Last reply Reply Quote 0
            • Y
              Yannrog @Oli Ullmann
              last edited by

              @Oli-Ullmann ok, thank you I will try

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

                @Oli-Ullmann said in Smooth transition trough preset changing. (No sound cut):

                BackgroundTask.killVoicesAndCall(var loadingFunction)
                

                I don't think that will solve it since it kills the audio engine too.

                There is no way around it, if you are loading samples then the audio engine will stop.

                @Yannrog said in Smooth transition trough preset changing. (No sound cut):

                ok, How is it working? I have a lot of samples. Is it loading once at the opening of the plugin?

                Yes you have to load all the samples at the start if you need dynamic switching without stopping the audio.

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

                Oli UllmannO 1 Reply Last reply Reply Quote 0
                • Oli UllmannO
                  Oli Ullmann @David Healey
                  last edited by

                  @David-Healey
                  Oh, okay, I misunderstood that. I thought he wanted to stop the audio engine to avoid crackling. But the crackling happens during preset/sample changes BECAUSE that's what stops the audio engine.

                  My mistake...

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

                  12

                  Online

                  2.4k

                  Users

                  13.8k

                  Topics

                  120.5k

                  Posts