HISE Logo Forum
    • Categories
    • Register
    • Login

    Finding the Processor Type of a (Module Tree) Processor?

    Scheduled Pinned Locked Moved Unsolved Scripting
    7 Posts 3 Posters 238 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.
    • clevername27C
      clevername27
      last edited by

      Given a reference to a Module Processor, does anyone know how to find out the processor type? (It's the first line in the XML .) Thanks and cheers!

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

        .getType()

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

        clevername27C 1 Reply Last reply Reply Quote 1
        • clevername27C clevername27 has marked this topic as solved on
        • clevername27C clevername27 has marked this topic as unsolved on
        • clevername27C
          clevername27 @d.healey
          last edited by

          @d-healey Thank you for your reply. Am I using it correctly?

          80046890-72a6-40ea-91e1-062d849cb784-image.png

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

            @clevername27 It only works for modulators. What do you want it to return, EffectChain?

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

            clevername27C 1 Reply Last reply Reply Quote 0
            • clevername27C
              clevername27 @d.healey
              last edited by

              @d-healey Thanks for asking - I have a pointer to either an Effect or an getAudioSampleProcessor. (But I don't know which.)

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

                @clevername27 could you distinguish them by variable name?

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

                LindonL 1 Reply Last reply Reply Quote 1
                • LindonL
                  Lindon @d.healey
                  last edited by Lindon

                  @d-healey said in Finding the Processor Type of a (Module Tree) Processor?:

                  @clevername27 could you distinguish them by variable name?

                  or use two array one of fx one of all audio processors and use indexOf....

                  HISE Development for hire.
                  www.channelrobot.com

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

                  55

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  102.1k

                  Posts