HISE Logo Forum
    • Categories
    • Register
    • Login

    save sample map via interface?

    Scheduled Pinned Locked Moved General Questions
    6 Posts 3 Posters 363 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.
    • B
      BWSounds
      last edited by

      I dont know how to word this so I'll try my best lol

      I have a panel & when I add a wav file it populates in a sampler(samplemap), right...

      that works fine, but im not able to save the sample map or when I save the preset and go back to it the wav file is gone... its not saving... how can I fix this?

      Im working on a "oneshot" type plugin and the sampler works better than the loop player imo because the fade options, thats why im wanting to use the sampler.

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

        @BWSounds
        I did not try it but found this. Maybe this is what you are looking for:

        Sampler.saveCurrentSampleMap(String relativePathWithoutXml)
        
        B 1 Reply Last reply Reply Quote 0
        • B
          BWSounds @Oli Ullmann
          last edited by

          @Oli-Ullmann
          I seen that, i'll test it in a compiled plugin but I dont think its going to work.
          is it possible to x fade on the audio looper?

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

            yup, that won't work.

            Link Preview Image
            HISE | Docs

            favicon

            (docs.hise.audio)

            In there it tells you to store the sample map as base64 string in your project.

            Also take a look at the custom sample import project in the HISE tutorial repo, this should be covered there too.

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

              Link Preview Image
              hise_tutorial/CustomSampleImport/Scripts/SampleLoadSave.js at master · christophhart/hise_tutorial

              The Tutorial project for HISE. Contribute to christophhart/hise_tutorial development by creating an account on GitHub.

              favicon

              GitHub (github.com)

              B 1 Reply Last reply Reply Quote 0
              • B
                BWSounds @Christoph Hart
                last edited by BWSounds

                @Christoph-Hart
                x-fading in the audio loop player is it possible some how at the moment?

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

                13

                Online

                1.7k

                Users

                11.8k

                Topics

                103.2k

                Posts