HISE Logo Forum
    • Categories
    • Register
    • Login

    Start/Stop AudioLoopPlayer

    Scheduled Pinned Locked Moved Scripting
    25 Posts 4 Posters 799 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.
    • Adam_GA
      Adam_G @d.healey
      last edited by Adam_G

      @d-healey chain meaning inside of an onControl or something different? im a code noobie haha, your videos have been my bible

      edit: just to clarify, im attempting to have an audioloopplayer play a wav of a vinyl sample and have that sample always be playing. a knob will control the gain and keep it at zero unless the user increases it

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

        @argon The audio loop player has it's own midi processor section. Try putting your script there.

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

        Adam_GA 3 Replies Last reply Reply Quote 0
        • Adam_GA
          Adam_G @d.healey
          last edited by

          @d-healey ahhh good idea. ill give it a shot thank you

          1 Reply Last reply Reply Quote 0
          • Adam_GA
            Adam_G @d.healey
            last edited by

            @d-healey brilliant! it worked! thanks again :D

            1 Reply Last reply Reply Quote 1
            • Adam_GA
              Adam_G @d.healey
              last edited by

              @d-healey i spoke too soon i guess, works in hise but not in a compiled plugin

              Matt_SFM 1 Reply Last reply Reply Quote 0
              • Matt_SFM
                Matt_SF @Adam_G
                last edited by

                @argon how are you loading the sample in the loop player?
                The problem can be that the compiled plugin doesn't find it.

                Develop branch
                Win10 & VS17 / Ventura & Xcode 14. 3

                Adam_GA 1 Reply Last reply Reply Quote 0
                • Adam_GA
                  Adam_G @Matt_SF
                  last edited by

                  @Matt_SF the samples are in the audio files folder and ive added them manually within the project

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @Adam_G
                    last edited by

                    @argon said in Start/Stop AudioLoopPlayer:

                    @Matt_SF the samples are in the audio files folder and ive added them manually within the project

                    ..but did you add them to the AppData/AudioFiles folder in your compiled plugin?

                    HISE Development for hire.
                    www.channelrobot.com

                    Adam_GA 1 Reply Last reply Reply Quote 0
                    • Adam_GA
                      Adam_G @Lindon
                      last edited by

                      @Lindon yep, no luck

                      1 Reply Last reply Reply Quote 0
                      • Adam_GA
                        Adam_G
                        last edited by

                        @Matt_SF @Lindon ill try exporting with an audiowaveform panel connected to it to be sure the files are being found

                        1 Reply Last reply Reply Quote 0
                        • Adam_GA
                          Adam_G
                          last edited by

                          i wonder if its my hise version causing issues. im noticing now the audiowaveform panel doesnt function correctly as it does in other hise versions on my machine. im using a scriptnode commit from around may (i think). is there a newer one anyone can confirm is working?

                          d.healeyD Matt_SFM 3 Replies Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @Adam_G
                            last edited by d.healey

                            @argon said in Start/Stop AudioLoopPlayer:

                            other hise versions on my machine.

                            9d174c46-d7de-40a5-bcd5-c6084a8a0bf7-image.png

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

                            Adam_GA 1 Reply Last reply Reply Quote 1
                            • Matt_SFM
                              Matt_SF @Adam_G
                              last edited by

                              @argon I'm using the latest commit. I'm currently working with audio loop players and I can confirm it's working just fine.

                              Develop branch
                              Win10 & VS17 / Ventura & Xcode 14. 3

                              Adam_GA 1 Reply Last reply Reply Quote 0
                              • Matt_SFM
                                Matt_SF @Adam_G
                                last edited by

                                @argon but as David advertised (😂) , using multiple versions of HISE is the best way to mess everything up...

                                Develop branch
                                Win10 & VS17 / Ventura & Xcode 14. 3

                                1 Reply Last reply Reply Quote 0
                                • Adam_GA
                                  Adam_G @d.healey
                                  last edited by

                                  @d-healey :anxious_face_with_sweat: bad practice eh?

                                  1 Reply Last reply Reply Quote 0
                                  • Adam_GA
                                    Adam_G @Matt_SF
                                    last edited by

                                    @Matt_SF thank you ill give it a try

                                    1 Reply Last reply Reply Quote 0
                                    • Adam_GA
                                      Adam_G
                                      last edited by

                                      i had to set the sampleIndex to 0 instead of -1. finally able to test it in a compiled plugin and the sample does not load after all. it shows the correct filename and when i right click the panel it opens the correct AudioFiles folder with the sample in it. any ideas for what might be causing it to not load?

                                      LindonL 1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @Adam_G
                                        last edited by

                                        @argon you'll need to post a snippet I think

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        Adam_GA 1 Reply Last reply Reply Quote 0
                                        • Adam_GA
                                          Adam_G @Lindon
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • Adam_GA
                                            Adam_G
                                            last edited by

                                            HiseSnippet 1206.3oc0W0saaaCElJ1pq1aqXcsCnWJTrKb.RBrZSRGPwPShi8f2xOFwYc6NOFIZahPQJPQ4Dih7Zrmmc8tZOJ8MX6PJIKoTuLGmzATCj.yCOj76762w8jBORTjPhrpc5zPBx5Kr6OkqF2ZLlxQc2GY8H6CwQJhzIQzdSCwQQDejkUkePKvpVUj4y6eydXFl6QxEgPuUP8HGPCnpbo814mnLVGrO4TZPAs2bmtdBdKASDC3ohcSTH16b7HxQXsZqXirdPaepRH6qvJRDnydB+o8GKtfmn+aoQzyXD8BWTe3hRDiZMlx76kYqQHjkcubKuRhk+T6Co9zYxy8.ekYCm7STzGXsxMAI2aAjrJ.opIP5w188jzPU9NZ7741c4P.YHFb0EgRhtHq+vtk.Tfq1H.eNoiDVL6.M1tYy0bf+s5qGFy8TTA2QvORnHGyarZ82UuV8qp6b8sFNbt6oeFofwHx4tsN5JuoC1fGGbFQtlyDLKlLSQv7K6Sevh4S8Rr5BJJ3c4T0wgjz0cDLesuR+8OLBfRca5XQJBg2VYhDeSZjX2Xep3WvSHCEx.D0WmcTRlKxXLEqA7wJLx5U1uq2IG+isac5fNGev9sO4psc27ka9hACfhCuwXNVNcvfIT9T159wQp02p4FWfmfjX9HB3IjPj01ReeFIs4950+4oeFB8yc2W+DovFr.vpBIREU67r1mLApASRnpYuOI5bkHznaPnfqsWqGdqMxK0O9..LS0e42fubA0WMVu3Y.HGSniFa.7uCaEl4j65qKyLWkyABQnSOFdJQ5hhvAgLRWtO4xz5iOrX.JCE9wLrpbsotIT5FPxUoBBcVOOhplVrI0snfs4MVvtnP7w18zA34iwUlCFg.4GCLl1l6KsaObHwSkCvp1c90ksm1h+7OI64MgeczmjzNatID+6zL+0hRyDtvzL.imGDdHESSLwrSk.ADkOp3SogYaNFre+hhOQHT5dkEo45axpM0tv0WRaxDhLp7MzgxRY5V1VEAZ+TROh.7kYsGX.fK0+fYrfYsOrpTNZWcw51Vttqf9ygZq5GK11EDq488uaLuOIUZN5bmGC7JQV1PJVjBH1jN6EqTBtqy26jQKi88SD134oa970bbap+a0WWuNkynbRQ9xTsxnM8x5bWf4zA9XlbaiPnDRmI1XKyMpuxqfaM6wGQTy57m+9qtQjVt49agYryfD+FW+ggax4SmoFruulZXAmTnRBI5iRyQRbcF1yZ1o9wqOav6eycm6t5B7rldA0yXqqiPeJvuVprrVFF6S08TaymPXfexfwuFbLCwwLUlzxEkGJ3hvwBN0qbGXkjNZDQVD6y0f1UofhgbIOcmSHLBNpPb7a24.nhEKuNIxG0ebvbiWOyNAtN5xHm6Rbq5hE29OFo99XFoJKzLR263c4mW59AJmHhUvrGGhgDUcA7QwA8gQV7H.R3bBS2hyZEcynj0My326S39lE+M7IcSW8ZqzMcy17+k2H.6IEC7RZSpykenQBX2byzN0rOTu1YV2Qa6lazDFlwmNvyS6tW2Egl+YdwRblWtDmYyk3LasDmY6k3LuZINy2cimQO.1twJQPRoHHnWaCKkk0rIespf9Gvc9K+c
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            24

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            105.0k

                                            Posts