HISE Logo Forum
    • Categories
    • Register
    • Login

    Countdown Timer Challenge ⏲

    Scheduled Pinned Locked Moved General Questions
    7 Posts 4 Posters 317 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.
    • L
      LeeC
      last edited by LeeC

      Hey Guys,

      Just gave myself the weird and wonderful challenge of trying to make a countdown timer in HISE.

      Is this even possible?

      Imagine that use of the the 'start timer' function would be needed but can't think of how minutes & seconds would be incoperated.

      Can anyone of you wizards solve this?

      The time starts now! ⏲

      Cheers

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

        @LeeC - hows this a challenge for you if you are asking us to write it? ☺

        HISE Development for hire.
        www.channelrobot.com

        L 1 Reply Last reply Reply Quote 2
        • L
          LeeC @Lindon
          last edited by

          @Lindon

          Haha probably could have phrased/positioned that better ☺

          I'm actually attempting it... Will probably take me days to figure it out though :face_with_stuck-out_tongue:

          Assuming that it's possible that is!

          1 Reply Last reply Reply Quote 0
          • L
            LeeC
            last edited by

            @Lindon It should be possible right?

            LindonL 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart
              last edited by

              Minutes = Math.floor(numSeconds / 60.0);
              Seconds = numSeconds - (Minutes * 60)
              
              1 Reply Last reply Reply Quote 2
              • LindonL
                Lindon @LeeC
                last edited by

                @LeeC yes it is possible...

                HISE Development for hire.
                www.channelrobot.com

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

                  Can't be done without C++ and vodka, give up now.

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

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

                  47

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  101.8k

                  Posts