HISE Logo Forum
    • Categories
    • Register
    • Login

    max timer amount?

    Scheduled Pinned Locked Moved General Questions
    8 Posts 4 Posters 175 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.
    • DanHD
      DanH
      last edited by

      Trying to run a ten minute timer with the below code but it's doesn't kick in after ten minutes. I also tried with 60 seconds and it took more like 2 minutes to kick in, so I'm wondering if there's a limit here. I see that Synth.startTimer works in seconds but I'm unsure how to apply it...

      GlobalMuteTimer.setTimerCallback(function()
      {
      	(CounterMute++);
      		
      	if (CounterMute > 1)
      		{
      			GlobalMute.setBypassed(0);
      			Engine.allNotesOff();
      			this.stopTimer();
      		}
      		
      });
      
      GlobalMuteTimer.startTimer(600000);
      

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

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

        @DanH Use a 1 second timer and check if 10 minutes have elapsed.

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

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @d.healey
          last edited by

          @d-healey that's a good idea :)

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

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

            @DanH I have an image of you sitting at your computer just waiting patiently for ten minutes to pass so you could test your timer. :)

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

            LindonL 1 Reply Last reply Reply Quote 2
            • LindonL
              Lindon @d.healey
              last edited by

              @d-healey said in max timer amount?:

              @DanH I have an image of you sitting at your computer just waiting patiently for ten minutes to pass so you could test your timer. :)

              what are you saying thats not what everyone does??? 😊

              HISE Development for hire.
              www.channelrobot.com

              DanHD 1 Reply Last reply Reply Quote 1
              • DanHD
                DanH @Lindon
                last edited by

                @Lindon @d-healey at least twice today already 😆

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

                Christoph HartC 1 Reply Last reply Reply Quote 1
                • Christoph HartC
                  Christoph Hart @DanH
                  last edited by

                  I have an image of you sitting at your computer just waiting patiently for ten minutes to pass so you could test your timer.

                  Yes Dan please tell me you didn't do this.

                  DanHD 1 Reply Last reply Reply Quote 1
                  • DanHD
                    DanH @Christoph Hart
                    last edited by

                    @Christoph-Hart had to 😆

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

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

                    50

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    101.9k

                    Posts