HISE Logo Forum
    • Categories
    • Register
    • Login

    Table Envelope 0ms Crash

    Scheduled Pinned Locked Moved Bug Reports
    2 Posts 2 Posters 543 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

      Setting a table envelope's attack time to 0ms via setAttribute crashes HISE. I assume this is because the minimum value you can set via the knob is 1ms but I think a console warning rather than a crash would be better

      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

        Thanks for spotting this. I'll fix it for the next build. In the meantime you can just do this:

        TableEnvelope.setAttribute(0, Math.max(1, value));
        
        1 Reply Last reply Reply Quote 1
        • First post
          Last post

        37

        Online

        1.7k

        Users

        11.7k

        Topics

        102.0k

        Posts