HISE Logo Forum
    • Categories
    • Register
    • Login

    arp reset on certain arp notes?

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 81 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.
    • B
      BWSounds
      last edited by

      Is it possible to have the arp reset button trigger when the arp hits certain notes?

      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @BWSounds
        last edited by

        @BWSounds
        You can use the

        Arp.getAttribute(Arp.CurrentValue)
        &
        Arp.getAttribute(Arp.NumStepSlider);
        

        in combination to set some conditions.

        Get a reference to the Arp as "sliderPackProcessor"

        const var ArpSP = Synth.getSliderPackProcessor("Arp");
        
        

        Create a reference to one of the slider pack indexes

        Skärmavbild 2022-08-14 kl. 21.56.28.png

        const SPData = ArpSP.getSliderPack(0);
        

        Check the conditions in the DisplayCallback from

        SPData.setDisplayCallback(function()...
        

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

        B 1 Reply Last reply Reply Quote 2
        • B
          BWSounds @ulrik
          last edited by

          @ulrik
          Awesome!

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

          50

          Online

          1.7k

          Users

          11.7k

          Topics

          102.1k

          Posts