HISE Logo Forum
    • Categories
    • Register
    • Login

    Inconsistency between timer and timer object

    Scheduled Pinned Locked Moved Scripting
    2 Posts 2 Posters 235 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

      It seems that the global timer can take a value such as 0.1 but when using a timer object I'd have to pass it a value of 100.

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

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

        Yes this is one of the most annoying inconsistencies, but I can't change it without breaking every single use of the timers.

        The reason for it was that I created the global timer first and didn't bother about milliseconds as unit, but the UI timer object is just a wrapper around a JUCE class which uses milliseconds as unit.

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

        13

        Online

        1.8k

        Users

        12.0k

        Topics

        104.2k

        Posts