HISE Logo Forum
    • Categories
    • Register
    • Login

    getCurrentLevel not working in compiled VST

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 177 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.
    • A
      aaronventure
      last edited by

      I use ScriptFX1.getCurrentLevel() with a timer to control an animation. This works in HISE but doesn't work in compiled VST.

      DSP works as expected.

      Any ideas?

      orangeO 1 Reply Last reply Reply Quote 0
      • orangeO
        orange @aaronventure
        last edited by orange

        @aaronventure Did you add the ENABLE_ALL_PEAK_METERS=1 to Settings > Extra Definitions?

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

        A 1 Reply Last reply Reply Quote 3
        • A
          aaronventure @orange
          last edited by

          @orange said in getCurrentLevel not working in compiled VST:

          ENABLE_ALL_PEAK_METERS=1

          That does it. How many of these extra definitions are there? Are these documented somewhere?

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

            @aaronventure You'll want to bookmark this - https://forum.hise.audio/topic/8023/preprocesor-definitions

            Looks like enable_all_peak_meters is missing from the list :p

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

            A 1 Reply Last reply Reply Quote 3
            • A
              aaronventure @d.healey
              last edited by

              @d-healey Thanks David and Orange!

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

              23

              Online

              1.7k

              Users

              11.8k

              Topics

              102.5k

              Posts