• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Midi CC latching

    How To... ?
    midi
    6
    8
    1088
    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.
    • J
      jpg.wav last edited by

      Hello all,

      I was curious if anyone has an approach they use for midi cc latching, i.e. preventing a midi cc value from changing until the incoming CC value matches where it was previously left off. Picture a midi controller where the same 8 knobs control different parameters in different isadora scenes. If I leave scene A, use the midi controller in scene B, and then come back, the values of the knobs could be much different than when I left scene A. Using any of these controls then will create a large jump in value that is often undesirable for me. I would like to be able to implement a behavior such that moving those controls when returning to scene A would have no effect until it reaches the value previously set upon leaving that scene, then pick right up from there and function normally. I imagine this would be some combination of gate and comparator actors, but I'm stuck at how I can store and poll the data about the last held CC value when entering a scene. Has anyone else implemented a similar function in one of their patches? Any help or guidance would be much appreciated, as this is something that would make operating my patches live much smoother.

      Best,

      JP

      2018 Macbook Pro - 2.6Ghz i7 - Radeon 560X - 16GB RAM - 4GB VRAM - 10.15 Catalina
      any pronouns

      Woland J 2 Replies Last reply Reply Quote 0
      • Woland
        Woland Tech Staff @jpg.wav last edited by

        @jpg-wav

        I think what I posted in this thread might be useful: https://community.troikatronix.com/topic/1588/relative-midi-encoders/9?_=1710439233279

        TroikaTronix Technical Support
        New Support Ticket: https://support.troikatronix.com/support/tickets/new
        Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
        Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
        Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

        | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

        J 1 Reply Last reply Reply Quote 2
        • J
          jtsteph @jpg.wav last edited by

          @jpg-wav

          If you are looking to store and poll previous states of your midi controller, you might find @Dusx's and @woland's JSON method useful. It's a very powerful and flexible way of storing midi data for saving, snapshots, comparison etc. The short story of the method is that you create a JSON that stores all the controller states of your midi controller. You can then access or store and recall these states by accessing the JSON. It's very light on system resources and gives you a lot of flexibilty.

          Isadora 4.0.2, W11 PRO 13700K (in a 4U case), 128GB RAM, 4 Lane M.2 Storage, RTX 3090, Ultraleap Motion 2, Behringer UMC404HD audio interface, Streamdeck XL, Streamdeck+, KorgNano Kontrol2.
          Website: http://justinstephenson.com

          1 Reply Last reply Reply Quote 1
          • J
            jpg.wav @Woland last edited by jpg.wav

            @Woland I appreciate your reply but I'm not quite sure it works for my purposes, it seems to still jump around when I try and replace the simulated value change with a control watcher. Perhaps I'm missing something. That thread was an interesting read though, and I learned that 'soft takeover' is the term I was looking for instead of CC latching.


            @jtsteph That's a good shout, I've been meaning to dig into those anyway as a means to more easily switch groups of midi controls to different functions within a patch, so this is just another push to take a closer look.

            Either way, making this post gave me the extra thinking juice I needed to kludge together a patch of my own that seems to work as I need it to. I've attached a screenshot & user actor below in case anyone else wants to take a look at my solution. v2 would ideally remove the dependence on the enter scene value so that I can use it to stop jumping when reassigning controls within the scene, but I have a good idea on how to do that already.



            midi-cc-latch.iua3

            2018 Macbook Pro - 2.6Ghz i7 - Radeon 560X - 16GB RAM - 4GB VRAM - 10.15 Catalina
            any pronouns

            1 Reply Last reply Reply Quote 0
            • Armando
              Armando Beta Gold last edited by

              I know this is the expensive approach, but this topic is so important that I decided to invest. in a motorized fader machine So I don't have to deal with that.  My 2go machines are Behringer xtouch and it's grandad BCF2000. It might sound stupid but being able to have the faders buttons and encoders all in the right -l;ace at the beginning of every scene is priceless.

              Armando Menicacci
              www.studiosit.ca
              MacBook Pro 16-inch, 2021 Apple M1 Max, RAM 64 GB, 4TB SSD, Mac OS Sonoma 14.4.1 (23E224)

              Fred 1 Reply Last reply Reply Quote 0
              • Fred
                Fred @Armando last edited by

                @armando this!! But also most controllers that have continuous encoders (not faders as this is not possible, but rotary encoding that has knobs you can just keep turning and show you the level with lights) also have a midi in. This means that you can send the value that you left the scene on back to the unit and go from where you left off. 

                http://www.fredrodrigues.net/
                https://github.com/fred-dev
                OSX 13.6.4 (22G513) MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
                Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD

                dbini Armando 2 Replies Last reply Reply Quote 0
                • dbini
                  dbini @Fred last edited by

                  @fred

                  this is why a BCR2000 sometimes works better than a Korg Nano, despite being 20 times the size and weight. 

                  John Collingswood
                  taikabox.com
                  2019 MBPT 2.6GHZ i7 OSX15.3.2 16GB
                  plus an old iMac and assorted Mac Minis for installations

                  1 Reply Last reply Reply Quote 1
                  • Armando
                    Armando Beta Gold @Fred last edited by

                    @fred Sure, for the encoders, but not for the faders. Motors compensate what you describe for infinite rotary faders I love that. The only problem with the Xtouch is that you have to reconfigure it completely before using it with Isadora. Faders spit out data on 2 different controller numbers as they are both on/off buttons on one channel and sliders on another channel. And this confuses the control watcher and even the different MIDI LEARN that exist out there as Isadora user actors. And there is more : the software that Behringer created to reconfigure all the controllers buttons faders and encoders on the Xtouch is pc only. I had to buy Parallel desktop too. The good news is that the Berringer software works well even if you don't buy windows inside Parallel Desktop. Anyone can use it with the non-customizable windows version that comes with Parallel.

                    Armando Menicacci
                    www.studiosit.ca
                    MacBook Pro 16-inch, 2021 Apple M1 Max, RAM 64 GB, 4TB SSD, Mac OS Sonoma 14.4.1 (23E224)

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