HISE Logo Forum
    • Categories
    • Register
    • Login

    Disable midi learn

    Scheduled Pinned Locked Moved Scripting
    35 Posts 7 Posters 1.6k 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.
    • Casey KolbC
      Casey Kolb
      last edited by

      I think MIDI Learn has to be paired with saveInPreset because the Midi assignments are per preset, not global. I actually learned this from you @d-healey haha. Maybe that doesn't matter though?

      Casey Kolb
      Founder & CEO of Lunacy Audio
      Composer | Producer | Software Developer

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

        @Lunacy-Audio But what if you want to save a control's value is a preset but you don't want it to have MIDI learn, or you want it to have MIDI learn but you don't want the CC assignment saved in the preset.

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

        Casey KolbC 1 Reply Last reply Reply Quote 0
        • Casey KolbC
          Casey Kolb @d.healey
          last edited by

          @d-healey Would definitely love that flexibility! This might have been an arbitrary decision, but perhaps there's some deeper implication in HISE I'm unaware of that makes them inextricable.

          It scares me that even comboboxes use Midi Learn, meaning you could assign your mod wheel to a list of convolution impulses responses or a sample map selector. Seems super dangerous if abused 😨

          Casey Kolb
          Founder & CEO of Lunacy Audio
          Composer | Producer | Software Developer

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

            @Lunacy-Audio I disabled the midi learn <> saveInPreset link, and added a separate enable midi learn property and it "seems" to be working fine. I can choose which things I want to save in preset and which things I want to MIDI learn and they are unrelated. I need @Christoph-Hart to chime in and let me know if I'm doing something stupid before I commit to this.

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

            ustkU 1 Reply Last reply Reply Quote 2
            • ustkU
              ustk @d.healey
              last edited by

              @d-healey Cool ;) so if the link is removed, it would be good to have a property saveMidiLearnInPreset right?

              Can't help pressing F5 in the forum...

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

                @ustk If you enable saveInPreset and you enable MIDI learn then it will save the MIDI learn in preset anyway, no need for an extra option.

                Currently when you click the saveInPreset button it triggers this function s->setCanBeMidiLearned(newValue); which makes no sense to me.

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

                ustkU 1 Reply Last reply Reply Quote 2
                • ustkU
                  ustk @d.healey
                  last edited by

                  @d-healey Sounds like the soil was ready to seed the midiLearn system but it hasn't been done...
                  Ok for the saveInPreset link ;) Have you had the green light for a pull request?

                  Can't help pressing F5 in the forum...

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

                    @ustk Waiting for our benevolent leader to confirm that this is not a terrible idea before I do it.

                    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

                      The deed is done:

                      c23407a4-76b0-4154-ac83-5fc7b80f98bf-image.png

                      It's available in my fork - https://github.com/davidhealey/HISE/tree/scriptnode

                      I've also made a pull request so will be in the main repo soon I expect @Christoph-Hart.

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

                      NatanN Tania GhoshT 2 Replies Last reply Reply Quote 5
                      • NatanN
                        Natan @d.healey
                        last edited by

                        @d-healey Good Job Sir
                        Can You Implement This For Fx Plugins, It's Only Available In Instruments As Far As I Know!!!

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

                          @Natan Nope, I'm crap at C++, I just hack at it.

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

                          1 Reply Last reply Reply Quote 1
                          • Casey KolbC
                            Casey Kolb
                            last edited by

                            @d-healey Any issues with this yet? I'm tempted to add it to my build too.

                            Casey Kolb
                            Founder & CEO of Lunacy Audio
                            Composer | Producer | Software Developer

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

                              @Lunacy-Audio Nope seems fine, I got the blessing from Christoph in a pm.

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

                              DanHD 1 Reply Last reply Reply Quote 1
                              • Casey KolbC
                                Casey Kolb
                                last edited by

                                Woot! Awesome, great to know.

                                Casey Kolb
                                Founder & CEO of Lunacy Audio
                                Composer | Producer | Software Developer

                                1 Reply Last reply Reply Quote 0
                                • Tania GhoshT
                                  Tania Ghosh @d.healey
                                  last edited by Tania Ghosh

                                  @d-healey I am getting this error.. Unable to Compile. Err.jpg

                                  Tania Ghosh

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

                                    In Case You're Doing FX Plugin, This Learn Midi Does No Work In FX!!!

                                    ustkU 1 Reply Last reply Reply Quote 0
                                    • ustkU
                                      ustk @Natan
                                      last edited by

                                      @Natan Not sure it works with midi learn but have you enabled the midi input for FX in the projucer and in the preferences? (dunno if both are necessary though…)

                                      Can't help pressing F5 in the forum...

                                      NatanN 1 Reply Last reply Reply Quote 0
                                      • NatanN
                                        Natan @ustk
                                        last edited by Natan

                                        @ustk I Mean Right Clicking Over The Parameters And Assign To Midi Controllers Knob, That Feature Not Works With FX Plugins, Or Do I Need To Change Someting In Projucer?

                                        Edit: I Never Changed Anything Regarding Midi And Midi Commands 🤔 No Idea

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

                                          @Tania-Ghosh Nothing to do with the new changes. Are you compiling plugin or standalone?

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

                                          Tania GhoshT 1 Reply Last reply Reply Quote 0
                                          • Tania GhoshT
                                            Tania Ghosh @d.healey
                                            last edited by

                                            @d-healey Yes, Standalone...

                                            Tania Ghosh

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            14

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            105.5k

                                            Posts