Forum

    • Register
    • Login
    • Search
    • Categories

    Inconsistency between timer and timer object

    Scripting Forum
    2
    2
    76
    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.healey
      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 Hart
        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

        6
        Online

        852
        Users

        5.7k
        Topics

        52.9k
        Posts