HISE Logo Forum
    • Categories
    • Register
    • Login

    Continuous audio loop

    Scheduled Pinned Locked Moved General Questions
    17 Posts 2 Posters 735 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.
    • d.healeyD
      d.healey
      last edited by d.healey

      Skip the int, that's just telling you what datatype to use.

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

      T 2 Replies Last reply Reply Quote 1
      • T
        TNTHM @d.healey
        last edited by

        @d-healey You're a legend. Thanks!

        1 Reply Last reply Reply Quote 0
        • T
          TNTHM @d.healey
          last edited by

          @d-healey Trying to connect it to a button to turn the tone on and off. Any ideas?

          HiseSnippet 987.3oc4W0saaaCElx1Zc1cIXsnWrKEJ1EN.cAVaMsEnWTm3XOXrlDinzhgcSGCEsMQnHUknxlQQeG2iReC1NjTxRdQy0dYaXXS9Fyye7imyGOGoIIRBMMUlfbZewhXJx4ybCVHTyGLGyDnwGib108Dbphl3YEczhXbZJMD43z7a0BbZ2BYd9vKNBywBBsTDB8ZIiPeIKhoJkNo+2w37Q3P5ErnJV+39iIRw.IWlA3ooaOTLlbEdF8Tr1rFtHmOYXHSISBTXEME4z5HY3hf4xeRXs+0rT1kbpdgOJ.BjU7HIOTiX8+QCly3gSJN2oHji6jxrPSaV3AtmvBYKkWlM9biBuROplObZrN34WEd81b34TAdsrv6dtAjDVrpTiFa20cr.JTSwPInJrr1hZPbbGHAKDp8ivWQGk.KV5Q2mzq2i7NnWu8d9Ncz+XBNSP8llIHJlT3IEGkoTRguNFIRdWhLJVJfn8Huqw7L5d6z4c6zwCdLLn8i43EmJUztG.A12F32aBdAJlQUCJBR2GlG9Gt29oZ4lMY.lyuDHAc+86tNXUfldeNSzcuNuqS6Nu+FZlNsNU4ghSSpSqlalrF25JxhtjlTb3ysCJQqxA57GyApRQI1TRECkhwBl5rX5x01CYgjdnkGtphJOTUkZNL0XVonaR7P4kIMEL2bvTkg.taNAzVTPLfm01MuBgLIjpMAPuZ7wXEtHPPLg8IllnX5LjywzqglDVlca2iooWojwFay4FPRcC11etbK+g9KVt3GI8Q27FDbOVFlwwpUubq6nkq.J1qbKReSQjxTKp1w6Vei2utD+FB264NgoHyqGuMpAuPA3ua7l2+bG2gSmRIpRv1xcz2+WayxOFT10Bk65F.8wLsjL.4N1AbqYP1uroCxh23AYmQT3qoWjfEowxzUBb.MhcAPySqJ7UoP6Y5aOWWVqJefDmTqpO7hQvorVeBvprDC+3vHYlPsBen4FWD1hAps9Wy.0ay0qae2flaFb+Hy7aWfw.VTLmNTbMkCcOMX79P6xo3LtpPp+Jn7DoPFOWJXjpE8yopD1rYzjpXu1CzgJEL7sTxC5eNkSwUIveY+WBDObBjmn+IyE9adtXc0quv0BWO8kQu+azEu4+O6hetLSwDyNACDUXrt6oYQAPuTBEPhPP4vF45zP2OzttmdssYpHzr3Wgmbk950N4J8KT9OxdDgIIx2Pru7jlK+oFIv4VX9jl1v2VAq8V9NS5bSDzO7MDhNY+UP1odO95s1iuYq83wasGGr0d7js1imt0d7r03gd3ygYJYj8pGHXxPy6p53LTfAlqgki9M.UbcPz
          
          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @TNTHM
            last edited by

            @TNTHM Are you subscribed to my patreon page?

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

            T 1 Reply Last reply Reply Quote 0
            • T
              TNTHM @d.healey
              last edited by

              @d-healey I'm not, do you have a link?

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

                FoooKINHELL I just loaded your snippet and nearly destroyed my house. I have no idea what is in your script but don't post snippets like that, it can damage speakers as well as ears.

                @TNTHM said in Continuous audio loop:

                @d-healey I'm not, do you have a link?

                Ya, it's in my signature. I posted a video this month explaining pretty much what you're wanting to do. The general idea is in the button callback you have the call to playNote. The button needs to have saveInPreset disabled (I guess your snippet is missing that?).

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

                T 1 Reply Last reply Reply Quote 0
                • T
                  TNTHM @d.healey
                  last edited by

                  @d-healey Sorry about that. I didn't think it would do anything weird but obviously I was wrong. I will be more careful in the future.

                  The only things in it were the bit of code you recommended me and a button on the gui which I created a custom callback for and then put the bit of script inside of.

                  I'll check it out, thanks for the tip. I love your YouTube videos!

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

                    @TNTHM I think your button is triggering playback as soon as the snippet is loaded, and it's loud. Just turn the gain down on the module before posting the snippet next time.

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

                    T 1 Reply Last reply Reply Quote 1
                    • T
                      TNTHM @d.healey
                      last edited by

                      @d-healey I just closed and reopened the project and I see what you mean. Any pointers on how to get a button to turn the note on and off?

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

                        @TNTHM If statement. You can use Engine.allNoteOff(); or Synth.noteOffByEventId(); to turn notes off.

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

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

                        54

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.8k

                        Posts