Home Forums Macros Variable for reading midi note/CC FROM midi controller TO Logelloop

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6229

    Hi,

    In order to minimize the number of macros created I would like to trigger the same macro from a number of midi controller buttons and the the macro will perform different actions depending on the midi button that triggered the macro. All I have found is “$midiv_nt1$” but this doesn’t look sufficient. Thanks again!

    #6231
    Philippe OllivierPhilippe
    Keymaster

    Hi Daniel,
    Yes, the old way to do that was to use “$midiv_nt1$” or “$midiv_cc1$” variables but now in Logelloop 6, we have added the Matrix data plug-in which aim is to do that !

    I had no time yet to make a tuto but I will try to do it as fast as possible.

    You can find some explanation about it in the user manual.

    To begin with that :
    1 – open the data plug-ins window (cmd + U)
    2 – load Matrix in a slot
    3 – Choose a template, “16 dials” for example
    4 – click the edit button, select all the macro code and copy it
    5 – In the menu select “New macro”, give a name to your macro
    6 – click the edit button, and paste the template in your macro

    —> you can use every dials to drive one macro.
    —> each dial as a name or a number
    —> you can put up to 64 dials in the same interface
    —> You can connect a midi device to this data plug-in
    —> As soon as the midi device is connected to the Matrix, click the learn button, select a number by clicking the red box, turn a dial on your midi device…
    —> currentCaseValueString() will get the name or number of the dial
    —> currentCaseOptionValueFloat(0) will get the value of this dial

    So, in the macro, you can evaluate the dial that currently in use and his value with this :

    CaseBranch 1
    MessageMain { “Dial ” + (currentCaseValueString()) + ” value is : ” + currentCaseOptionValueFloat(0)}

    TrackVolume trk1 = {scale(currentCaseOptionValueFloat(0), 0, 127, -76, 0)}
    BreakCaseBranch

    Where, CaseBranch 1 will be activated when the dial 1 is used.
    And in :

    TrackVolume trk1 = {scale(currentCaseOptionValueFloat(0), 0, 127, -76, 0)}

    You convert the midi value to a suitable fader value.

    This is an example… Feel free to ask if you have any question regarding Matrix.

    Best,
    Philippe

    • This reply was modified 10 months ago by Philippe OllivierPhilippe.
    #6234

    Thanks! I will take a look at this

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.