HISE Logo Forum
    • Categories
    • Register
    • Login

    MIDI learn menu not showing up

    Scheduled Pinned Locked Moved Solved General Questions
    10 Posts 2 Posters 299 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.
    • d.healeyD
      d.healey
      last edited by

      When I right-click a knob in an existing project, it just shows the menu to assign a CC but there is no button to MIDI learn. It was working previously.

      If I create a new project and add a knob there is no problem.

      Any ideas? Is this happening to anyone else?

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

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @d.healey
        last edited by

        @d-healey Are you using MidiAutomationHandler.setControllerNumbersInPopup()? I've deactivated the learn feature when that function is used (to avoid learning unlisted CC numbers).

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

          @Christoph-Hart Yes I am using that feature! Ok that explains it. I suggest adding that information to the description in the api browser too.

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

          1 Reply Last reply Reply Quote 0
          • d.healeyD d.healey marked this topic as a question on
          • d.healeyD d.healey has marked this topic as solved on
          • d.healeyD
            d.healey
            last edited by

            There's only 1 number I wanted to remove from the list, and I don't think it's worth giving up the MIDI learn for that. So I found a workaround :D

            e957458b-4ef8-4b3c-b0bf-3a81890c2700-image.png

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

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @d.healey
              last edited by

              @d-healey until somebody uses the learn feature with a controller mapped to CC94 :)

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

                @Christoph-Hart Yeah but that's how it's been for the last 6 years anyway :)

                I think the only other solution would be to popup a message if they try and assign a disabled controller, to tell them they can't use that one.

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

                Christoph HartC 1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @d.healey
                  last edited by

                  @d-healey you can attach a callback / broadcaster to MIDI learn events to display a warning.

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

                    @Christoph-Hart Ooo that's a good idea, thanks!

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

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

                      For anyone else

                      	const automationHandler = Engine.createMidiAutomationHandler();
                      	
                      	automationHandler.setUpdateCallback(function(obj)
                      	{
                      		var excluded = [1];
                      
                      		for (x in obj)
                      		{
                      			if (excluded.contains(x.Controller))
                      				Engine.showMessageBox("Internal Controller", "CC #" + x.Controller + " is used internally by the instrument. Assigning it to a control may cause issues. Please use a different controller number.", 4);
                      		}
                      	});
                      

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

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

                        @Christoph-Hart is there a way to remove a CC assignment with scripting?

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

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

                        23

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.4k

                        Posts