How to control Ableton Live's tempo with a MaxMSP integer?

    MaxMSP

    Benson's icon
    Benson's icon
    Benson
    Mar 27 2016 | 6:52 pm
    Max Patcher
    In Max, select New From Clipboard.
    Show Text
    I'm looking to ramp Ableton's tempo to different tempos using MaxMSP and Ableton's Midi mapping.
    My patch above has a sequence that ramps between 4 integers randomly (100, 125, 140, 175). I want these integers to be converted to act as Ableton's bpm e.g. 100bpm, 125bpm etc
    Any help would be extremely helpful, thank you!

    • Christopher Dobrian's icon
      Christopher Dobrian's icon
      Christopher Dobrian
      Mar 27 2016 | 7:41 pm
      You probably already know: From Max, send MIDI out the virtual port "from Max 1", and in Live's MIDI Preferences turn on remote control for that port. Then choose which MIDI command you want to use, and map that controller to Song Tempo in Live.
      Max Patcher
      In Max, select New From Clipboard.
      Now you just need to map the range of MIDI values 0-127 to the range of tempi you will want to use. In your case, if your range of tempi will be from 100 to 175, in Live you could just set the Min tempo mapping value to be 100 and the max tempo mapping value to be 227, then use the MIDI values 0 , 25, 40, and 75 to choose the four tempi you want. In this example, I've arbitrarily chosen MIDI controller 20.
      Share
    • double_UG's icon
      double_UG's icon
      double_UG
      Mar 27 2016 | 7:53 pm
      Max Patcher
      In Max, select New From Clipboard.
    • Benson's icon
      Benson's icon
      Benson
      Mar 28 2016 | 5:41 pm
      Thank you both for the answers.
      Doubleug, that works in a max4live instrument, but do you have any idea how I can have the same thing working but with Ableton and Max being open simultaneously? Rather than Max being 'inside' Ableton in the form of a max4live instrument
    • double_UG's icon
      double_UG's icon
      double_UG
      Mar 28 2016 | 6:45 pm
      Max Patcher
      In Max, select New From Clipboard.