select a track (ccannelstrip) with monome.

  • hi,
    with the help of this forum i was able to build a nice monomecontroller for two ableton looper, so far everything works good, but i´d love to be able to set a trackactive via the monome.

    there´s one looper on track one, another one on track two, how could i activate or focus the track from the monome?

    for example, if i hit reord on looper one it would focus it in live, same aopplies for the second looper.

    i know how to get track id and so on but found no way to set a track active.

    thanks!

  • live.path live_set view / set selected_track N

  • Look forward to seeing this when it's done @herrreinholt!

  • @ chapelier fou: thanks!

    @declutter:
    Nice, will let you know!

  • @chapelier fou:

    could you please elaborate a little bit more :)

    i used the m4l api where you can select the master track but i couldn´t make it work.
    i don´t know why, i get names and id´s fine but whatever track i try to set it, it doesnt focus :/

    thanks!

  • Ha ! you're right, in the syntax 'live.path live_set view / set selected_track N', N is an id.
    So try that (it's late, their might be other ways but you'll get the idea, not to say the id)


    ----------begin_max5_patcher----------
    862.3oc0Xt0aZCCEG+4vmBqn8HCE6bk811WioIjShG3tfCx1Pospe2mujzwn
    MlTFX5TkLJF2S96emK9XdZRPXY6dhHD7Ev2AAAOMIHvLkdhftmCBWi2W0fEl
    kExH22VdW3T6WII6klokfR8e8y2tU1PjxG1Pr1NrDyVFN8nOA+na4rsqs+Gl
    2Qb2r+rkIEzGMl.FMKpa5MXY0JJa4BNoRZMOLoXV5T.ZtZQfjL8HrXVzK1mV
    aDoR3eNII7.yyvqMlO7qbJtA7s1l5v+nIJqWRP8bOOYhdX5HIU4Vork4lHCP
    .3I2pI58HJpe7M2owWrshx.kD9faEJSdJeJ5c6SKLaNXlYmlF4zmBGoOcClq
    9RIgufvvkMlkEcwfzvYFzSlWnQ3kFcyS0eDizwKCgt349JcXMQHvKIuhOzZ.
    BnFx0Cy0CE8qogxHUsaYxCwvqP3oRhFO2PoHSBU9Awbn7A.W94.NzkKt5wFv
    Z4pACrzAUWtHJXhsfSFzDRM2U1Xb5smL0jFbEwWvICY4gIfIE4DNw2d3vIK8
    bXCzvj3bWjAU3KxLTknM71MDt7Afjiq9kH75WvwVnonvLFaOua.5ft4zAKWA
    Zn6HKDDoGXSWVUlAK4PmvI5FmTowxLMfbmW4H2J9b4iM3IE5J0BV3qC4cwm1
    RAguyQajWmpxPy0AxcVUFddGl2Mo.uiTuPYG06dAVJ4TUq+1aUE7BmBBWnJt
    HnBIgUQdguV.eoxQUYl.AoQoCkfLUwz8S8InGRWisW9BlZu8ExY0LX1GppYf
    cTx89fQYcMNYxYmm4BQ4eDJoYio8WzSW+koN6uL4+qb0OPGYzE+00Nl6yLh+
    WOxvXTyU3N52WxHL87+MzDsa4U8689eoFvezVMQHoLrj1xNXQ59hNXQqn00D
    1gWqulJz2z2rwhdS226ROvSomH+pGzIzSt+jS7HbWG4Sup5ANB8n+4O7jdN5
    UMP3Sge0yoBm02k+fEcU0S5H3itwAOwGX9Xhex8FeFmdh8GeJFi+xe74nSBb
    nG+vGzX3yQA8W07q3wb7Ug+7WQiwe4u5gGUZYfyu7m6ZjpwONqQU64LYisQQ
    7lM6z8baMoQHp9nuqkqeLap4QJy9n49EgbxNZ+5sK.yUc7JUs6tkaaWceQV3
    D8644I+FkQBpVA
    -----------end_max5_patcher-----------

  • thanks again, this works great!

    cheers!

  • Oh, just saw that in the m4l.patchers : M4L.api.GetAllTrackIds
    could be useful