HISE Logo Forum
    • Categories
    • Register
    • Login

    How can I load my samples into the Audio Loop Player as a list to choose from?

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 345 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.
    • elemen8tE
      elemen8t
      last edited by

      Hey there, This is my first post at the HISE Forum.
      I want my samples from my samples folder to appear in the dropdown menu as an option to load into the audio loop player.

      StraticahS oskarshO 2 Replies Last reply Reply Quote 0
      • StraticahS
        Straticah @elemen8t
        last edited by

        @elemen8t can the Audio Loop player work without depending on samplemaps?

        building user interfaces in HISE :)
        web: www.vst-design.com

        1 Reply Last reply Reply Quote 1
        • oskarshO
          oskarsh @elemen8t
          last edited by

          @elemen8t You can use the FileSystem API to load your folder and list all the Samples.

          Link Preview Image
          HISE | Docs

          favicon

          (docs.hise.audio)

          You will need to set the Paths as options inside a ComboBox
          In the ComboBox callback you need to load the path into the AudioLoopPlayer

          const var Player = Synth.getAudioSampleProcessor('Player1'),
          Player.setFile(samplePath);
          

          @Straticah no it does not depend on samplemaps it can load .wav files directly.

          HISE Developer for hire :)

          elemen8tE 1 Reply Last reply Reply Quote 1
          • elemen8tE
            elemen8t @oskarsh
            last edited by

            @oskarsh
            Thank you very much for your reply.

            And thanks for the advice without a sample map which is what I need.

            Do you have a solution for that where I don't have to code?

            oskarshO 1 Reply Last reply Reply Quote 0
            • oskarshO
              oskarsh @elemen8t
              last edited by

              @elemen8t no you need to write code

              HISE Developer for hire :)

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

              19

              Online

              1.7k

              Users

              11.8k

              Topics

              102.6k

              Posts