HISE Logo Forum
    • Categories
    • Register
    • Login

    MPE Modulators / MIDI Controllers switch

    Scheduled Pinned Locked Moved Scripting
    10 Posts 3 Posters 582 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.
    • andrei sA
      andrei s
      last edited by

      Hello!

      I have an issue with MPEPanel Floating Tile.

      I set a button switch (btnMPE) between MPE Modulators and MIDI Controllers. When the button is on, MIDI controllers set to bypass, MPE modulators turns on.
      It works fine, but when i save Instrument with MPE button on, after restart all MPE modulators is turned off.

      I need some trigger which should check btnMPE value on init and if its ON then it should set values to all Midi and MPE.
      How can i solve that?

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @andrei s
        last edited by

        @problema do you have SaveInPreset enabled for your button?

        HISE Development for hire.
        www.channelrobot.com

        andrei sA 1 Reply Last reply Reply Quote 1
        • andrei sA
          andrei s @Lindon
          last edited by

          @Lindon yes SaveInPreset is enabled and btnMPE saves its position after restart.

          I think the issue is with MPEPanel, it always turn off all MPE modulators on the start, no matter what's btnMPE possition.

          How can i adjust MPEPanel Floating Tile parameters, such as SaveInPreset?
          There is no available settings in Parameter Properties

          Снимок экрана 2022-08-05 в 12.13.22.png

          andrei sA 1 Reply Last reply Reply Quote 0
          • andrei sA
            andrei s @andrei s
            last edited by

            So i wrote this in MPEPanel Floating Tile Data and now it saves value

            Снимок экрана 2022-08-05 в 13.08.42.png

            This MPEPanel has on/off button itself but i can't understand how to access and use it.
            Any suggestions?

            andrei sA 1 Reply Last reply Reply Quote 0
            • andrei sA
              andrei s @andrei s
              last edited by

              I still have a question about MPEPanel.
              How can i access to this on/off button?

              Снимок экрана 2022-08-09 в 14.14.45.png

              I need to control this MPEPanel button value with other button.

              andrei sA 1 Reply Last reply Reply Quote 0
              • andrei sA
                andrei s @andrei s
                last edited by

                @Christoph-Hart sorry for bothering you, could you please help?

                I really need to know how to access to this on/off button on MPEPanel

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

                  @problema What do you mean by access? Do you want to check the value or set the value?

                  I'm not sure you can do either actually, but there is Engine.isMpeEnabled() that might be useful...

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

                  andrei sA 1 Reply Last reply Reply Quote 1
                  • andrei sA
                    andrei s @d.healey
                    last edited by andrei s

                    @d-healey I want to set on/off value of MPEPanel with other button

                    I mean this:

                    if (myButton)
                    {
                    MPEPanel ON;
                    }
                    else
                    {
                    MPEPanel OFF;
                    }

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

                      I don't see a way to do that currently, you'll have to adapt your design.

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

                      andrei sA 1 Reply Last reply Reply Quote 1
                      • andrei sA
                        andrei s @d.healey
                        last edited by

                        @d-healey thank you David. I think i find a way to do this with Engine.isMpeEnabled()

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

                        13

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.4k

                        Posts