HISE Logo Forum
    • Categories
    • Register
    • Login

    delayed reaction on a control?

    Scheduled Pinned Locked Moved General Questions
    8 Posts 3 Posters 171 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

      Can you delay the reaction of a button?
      Like if I press a button it does what its coded to do like 2 seconds later lol?
      Im trying to test a few things out.

      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @BWSounds
        last edited by

        @BWSounds sure, you can use a timer

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

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

          @ulrik
          How does it work?
          I can figure it out, just need a starting point, like a past post or something.

          Im not coming up with much in the search.

          ulrikU 1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @BWSounds
            last edited by

            @BWSounds this trigger the timer with the button, and the timer executes the code, I guess there is a more elegant way to handle it but, this might be a start?

            HiseSnippet 1035.3ocsVsraaaDEcnroQjZRPCPVGPnUz.tJRsNO.JJLid3BgDaKDkZztoAiHGJMwjyPvYXbTK79tqeB8ip+H4Kns2KeXRaQaqHfpEB5dm6iybz8wLIV5xTJYLwn46VFwHF22b5RgdwfETtfLdHw3glGQUZVrUlp9KinJEyiXXr0OhJLZtMI8ymOnOMfJbYkpHjSkbW1a3gbco1INulGDbH0i8NdXEq22YrqTLPFHS.7rkYWRD08L5b1wTzrFlDicF4w0x3oZplo.a5K8VNcg7bQl8mxU7YALTnGYJDnL0jAK3AdSJtqJBwX6Ik27sxt4O17HtG+R8kLvWmdfUoGU4.iF2Fj58E.IiJPZ6LH8Hyotw7Hc4IHd9JywB3ODeJP0UgRlsjFOYKyARvBgtSH8L1gwfvkdX+7tc2yB9Z2uuUKftUZqORisFxBnKYd80Bqevpv64L8.YXjT.B1sKMoM3act9VlBLVwViPTXZMg50hY2d..CP2Z8zm1DKfhyCfGdVpBv8Qh4bAqiaLC9aIU4Iy9.yUaiNVZYGESm9iAzffYP0lsehvUykB6ca86sZtJfQOraqYeR2duJWcDmmRCRX16BYnodAW0QokQoAGS5EXh4h..UVE4vRJJi.dgikA1tE218.JABXJNphXMMNCy1Erw0R9c.51mS4ZtXtkuL1hJTmyhQ57B.e28e7XjxQ5kTVM2BHdUtjGK0rSxYzVWzx55G46W6Y4wJ.IvZNNmZuYGsEIgyXwU4QzPn65psr6rdsrtYjSECkhwBt9jHVt7gx.OrUD+8pM3jb1EZ0ajiPvTcZi9Cyaz6mn0RAg6gChKYUR5Mn5nVxMEgoAbOVbZDZYVTfbM+c9KGxOMdHUSwwN4vBfZDKVyQFwXH6ivb6rgPMgvnNCpkgbcYUAvZqGx+TIp+EmkUENm6oWPLLM7.wEL97EU1QL1gTIW2KKWOHOWugNiEjlpGatZw9MlxgEorfFhbVMsXSRUh1GXmo7eqB4+xq.s6uNzeEDIpkDJT7q0fnPoGjfcLSWVFRKi0e72Nvh4nqhtOefJw2mCVYZZEpHgbOu.1DohiMGnc+y+BeN3OcBqt7deGxpqefEeRuj.p9paCw094Gfgr5JHbMi.R0xp.5KXEY2acE45BwGYNgqcWTOFaTCFwVx+GvX9CKdf4HeeX2SI.217vedSeEwcj92JSvg6GQ0woEAGmDNEdOkKCxtPvBTXGWCbZTlbWTFYfoLgWp.VdjeXOT1H+vdEGBEgtwx26lMABe5x8R0.XRj9RslvSFAYqdEycLM61oKVJxeuqKd8+FX.Y897safOe2F3y9afOOaC744afOuXC74k2pO3CXeUhVFl0N.JlLJc9ugwHAEprRqBI+Go9eEg
            

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

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

              I have a few videos on timers if you want a tutorial.

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

              B 1 Reply Last reply Reply Quote 0
              • B
                BWSounds @d.healey
                last edited by

                @d-healey on your YouTube channel?

                d.healeyD 1 Reply Last reply Reply Quote 0
                • B
                  BWSounds @ulrik
                  last edited by

                  @ulrik cool, i'll dive into it now!

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

                    @BWSounds said in delayed reaction on a control?:

                    @d-healey on your YouTube channel?

                    Yeah

                    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

                    58

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    102.1k

                    Posts