HISE Logo Forum
    • Categories
    • Register
    • Login

    Detecting no note / silence

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 139 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

      I'm trying to figure out a way to detect when a note has stopped playing audio (not like a note off message). Is it possible to detect when an envelope has reached it's end? Or when the audio level drops beneath a certain level?

      I've been trying with a timer and getCurrentlevel(false); but when I print the value it's kind of all over the place

      silence = MASTERVOLUME.getCurrentLevel(false);
      Console.print(silence);
      

      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 Perhaps if (!Engine.getNumVoices())

        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 ah yes, good idea. This rings a bell too, I think we've been here before 😆

          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

          33

          Online

          1.8k

          Users

          11.9k

          Topics

          104.0k

          Posts