Forum
    • Categories
    • Register
    • Login

    Custom Loop Player loading

    Scheduled Pinned Locked Moved Scripting
    10 Posts 3 Posters 49 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.
    • S
      svkpowa
      last edited by

      Hello.
      I have a problem with Audio Loop Players. I have two of them, and one audio waveform from DSP module.

      The problem is, that after saving the project in DAW, and reopening it, the loaded samples disappear. I don’t know if it’s relevant, but I also have Sampler in the same project, but it’s okay with it, because it was from the template „CustomSampleImport”.

      I have the Pooled Resource script in onInit. Do I have to save the path to audio files in combo box, like it’s saving the map for Sampler in this template?

      Thanks.

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

        @svkpowa Do your AudioLoop Players have saveInPreset enabled?

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

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

          @dannytaurus said in Custom Loop Player loading:

          Do you AudioLoop Players have saveInPreset enabled?

          That isn't an option.

          But you're in the right direction. You need to add the module to the preset system or add waveform controls to the UI that connect to the loop players and have saveInPreset enabled.

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

          S dannytaurusD 2 Replies Last reply Reply Quote 1
          • S
            svkpowa @David Healey
            last edited by

            @David-Healey
            I have the Saveinpreset enabled on every waveform. Still doesn’t work.

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

              @David-Healey said in Custom Loop Player loading:

              That isn't an option.

              Oh yeah, duh. 😜

              I read the question wrong anyway. I thought the problem was the loop was missing after re-launching HISE. So, double duh!

              add the module to the preset system

              Can you explain what this means?

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

              S David HealeyD 3 Replies Last reply Reply Quote 0
              • S
                svkpowa @dannytaurus
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • S
                  svkpowa @dannytaurus
                  last edited by svkpowa

                  Okay I saved the preset and noticed this. Is it supposed to be 0.0 in value?

                  <Control type="ScriptAudioWaveform" id="AudioWaveform4" value="0.0" data="C:\Users\studi\Desktop\Samples\808Samples\808 Samples\bass (3).WAV"
                           rangeStart="0" rangeEnd="22051"/>
                  

                  EDIT:
                  Found the solution! The Migration.js file was the problem. I just don't know why. Can I remove it from the project completely?

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

                    @dannytaurus said in Custom Loop Player loading:

                    Can you explain what this means?

                    https://docs.hise.audio/scripting/scripting-api/engine/index.html#addmodulestatetouserpreset

                    @svkpowa said in Custom Loop Player loading:

                    Found the solution! The Migration.js file was the problem. I just don't know why. Can I remove it from the project completely?

                    I don't know what Migration.js is

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

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      svkpowa @David Healey
                      last edited by

                      @David-Healey
                      It’s a script from „CustomSampleImport” template. I think Christopher is the author, but I am not sure.

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

                        @svkpowa Aha ok, just took a look at it and it's probably not needed for new projects.

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

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

                        16

                        Online

                        2.4k

                        Users

                        13.8k

                        Topics

                        119.7k

                        Posts