No internet connection
  1. Home
  2. How to

Add or subtract midi velocity by specified amounts

By Kim Planert @Kim_Planert
    2023-11-10 00:04:53.543Z

    Hi,

    Giving it another attempt to ad or subtract midi velocity by specified amounts.

    I have tried to adapt the quantize scripts but they seam to be locked.

    Then I tried with UI Element clicking but Set Value of Text Area to enter a velocity value doesn't work. Partly because it needs to always find the same number to locate the element.

    Any idea how this can be achieved?

    Thank you!

    Kim

    • 13 replies
    1. Hi Kim,

      Thanks for posting your question here. One way to approach this would be to write a script that reads the values for each row in the MIDI Event List window and substitutes those values by using keyboard simulation to change them accordingly.
      Unfortunately, that would not be very quick to do, but it would give you full control over any type of manipulation you'd like.

      1. I'm not a big MIDI user in Pro Tools, but the Event Operations window does appear to have support for adding/subtracting MIDI velocity under the Change Velocity tab.

        Is this what you were trying to automate? If Set Value of Text Area doesn't work, then you could most likely use Mouse Click Relative to UI Element, followed by the "Type Text" action to enter values into that field.

        1. Let me CC @Kitch who might be able to help with a script here.

          1. In reply tochrscheuer:
            Kim Planert @Kim_Planert
              2023-11-14 05:06:12.772Z

              Thanks Christian! Yes that's it. I have it working with Keyboard Maestrro at the moment simply by letting KM click on a specific location on the screen. Was hoping to replace Keyboard Maestro with a more elegant Sound Flow solution. Maybe Kitch has an idea. Could maybe be based on the Quantize Macros?

              1. Kitch Membery @Kitch2023-11-14 05:56:55.718Z

                Hi @Kim_Planert,

                I shall take a look this week. Can you take a screenshot of the parameters that you want to control?

                :-)

                1. In reply toKim_Planert:
                  Kitch Membery @Kitch2023-11-14 06:24:06.949Z

                  Nevermind... I found it after reading Christians's last message.

                  This should be doable for sure :-)

                  1. Kim Planert @Kim_Planert
                      2023-11-14 17:44:53.073Z2023-11-14 17:52:41.690Z

                      Hi Kitch, yes that's it. That would be fab!

                      Maybe that's then also adaptable to the other tabs in Event Operations. What I don't use is Step Input and Flatten Performance.

                      You can see the functions on the picture of my lemur layout. That I hope to replace soon as well with the SF interface.

                      The biggest one that's still not possible in. Protools is changing continuous controllers of a selected region with one button.

                      But first things first. The velocity would be a great help in the transition!

                      1. Kitch Membery @Kitch2023-11-14 20:51:24.224Z

                        That is an epic layout. :-)

                        1. In reply toKim_Planert:
                          Kitch Membery @Kitch2023-11-14 22:26:16.661Z

                          I've made some progress on this one, but I'll need to do some more testing as there are 30+ settings combinations that I've got to account for. But the functionality is there. :-)

                          Hopefully, I'll have some time to test/upload it in the next couple of days. I'll upload it to "Kitch's Command Template Collection" in the store. (It will be named: "Event: Change Velocity" located under the package folder named "Events Window").

                          There is also another command template in there called "Event: Quantize" that you may enjoy (I've not tested this one much but should work fine).

                          Rock on!

                          1. Kim Planert @Kim_Planert
                              2023-11-15 00:26:01.206Z

                              Brilliant! Thank you Kitch, it looks great!

                              Is there a a way to easily adapt the existing Macros to the Input Quantize, Duration and Transpose Menus?

                              1. Kitch Membery @Kitch2023-11-15 00:34:18.617Z

                                Is there a way to easily adapt the existing Macros to the Input Quantize, Duration and Transpose Menus?

                                Unfortunately, there is no easy way but bump this thread in a week or so and I'll see if I can chip away at some more. :-)

                                1. In reply toKim_Planert:
                                  Kitch Membery @Kitch2023-11-15 00:42:45.571Z2023-11-15 00:55:24.481Z

                                  Hi @Kim_Planert,

                                  I just published the package, as I fear I may not have a lot of time to test it this week. If you find any bugs be sure to let me know. :-)

                                  Go to the store and download "Kitch's Command Template Collection" version 1.6.1. In the Package folder, there is a subfolder named "Events Window", in that folder you'll find the Command Template "Event: Change Velocity".

                                  Let me know if you need any help setting up a preset for it.

                                  Rock on!

                                  UPDATED

                    • In reply toKim_Planert:
                      Kim Planert @Kim_Planert
                        2023-11-18 04:50:05.453Z

                        Hi Kitch, have started experimenting with the Velocity scripts. So far so good.

                        I'd like to suggest a change to the Quantize Script. It would be good if it's possible just to switch to dotted and just to triplets, not the value. At the moment its note value and type combined, which multiplies the number of buttons necessary. I need to have a button for 1/4, 1/4 triplets and 1/4 dotted. Does that make sense? Have a look at the pic of my tablet layout. Would that be possible?