HISE Logo Forum
    • Categories
    • Register
    • Login

    AudioLoopPlayer loading samples issues

    Scheduled Pinned Locked Moved Solved General Questions
    6 Posts 2 Posters 296 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.
    • HISEnbergH
      HISEnberg
      last edited by

      I haven't used the audio loop player much in the past, but my understanding is this should work to load a sample into the audio player:

      Engine.loadAudioFilesIntoPool();
      const var AudioLoopPlayer = Synth.getAudioSampleProcessor("Audio Loop Player1");
      AudioLoopPlayer.setFile("{PROJECT_FOLDER}AudioFiles/Test1.wav");
      

      I was trying to set this up with a combobox but it doesn't seem to work. Is this a known bug or am I missing something? (I also tried the Samples Folder with the same results).

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

        @HISEnberg said in AudioLoopPlayer loading samples issues:

        I was trying to set this up with a combobox but it doesn't seem to work.

        Do you get an error?

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

        HISEnbergH 1 Reply Last reply Reply Quote 0
        • HISEnbergH
          HISEnberg @d.healey
          last edited by

          @d-healey Nope, the file just won't load. It's a wav file as well, not sure if I am missing something simple here.

          HISEnbergH 1 Reply Last reply Reply Quote 1
          • HISEnbergH
            HISEnberg @HISEnberg
            last edited by

            @HISEnberg I am working from the 4.0.0 branch btw

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

              Read the doc here about the project folder wildcard - https://docs.hise.audio/working-with-hise/project-management/index.html

              Basically this is what you need AudioLoopPlayer.setFile("{PROJECT_FOLDER}Test1.wav");

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

              HISEnbergH 1 Reply Last reply Reply Quote 0
              • HISEnbergH
                HISEnberg @d.healey
                last edited by

                @d-healey said in AudioLoopPlayer loading samples issues:

                Link Preview Image
                HISE | Docs

                favicon

                (docs.hise.audio)

                Thanks I am familiar with it, just been at the computer too long. Never hurts to brush up on it though.

                1 Reply Last reply Reply Quote 0
                • HISEnbergH HISEnberg has marked this topic as solved on
                • First post
                  Last post

                19

                Online

                1.7k

                Users

                11.8k

                Topics

                103.0k

                Posts