Controlling Live using Max for Live
- Live Versions: All
- Operating System: All
How can I access Live's API in Max for Live?
Everything in Live's API that is accessible to Max for Live is illustrated in the Live Object Model(LOM).
The Live Object Model lists a number of Live object classes with their properties and functions, as well as their parent-child relations through which a hierarchy is formed. Please refer to the Live API overview chapter for definitions of the basic Live API terms and a list of the Max objects used to access it.
The Live Object Model
The Live Object Model divides the Live application into several basic functional units (properties) associated with aspects of the Live application - the application itself, Songs, Tracks, Clip slots, Clips, Devices, Device Parameters, the Mixer Device, Scenes, Cue Points, And Control Surfaces. The Live API provides ways to access some properties of the application to control how the Live application displays them to you (Application.View, Song.View, and Track.View).
Your use of the Live API involves one of five kinds of different operations:
- Querying the Live API (getting data) using Max for Live objects
- Setting a property in the Live API using Max for Live objects
- Calling a function in the Live API using Max for Live objects
- Observing a property in the Live API using Max for Live objects
- Controlling a parameter at audio rate
How can I control and create devices using Live's API in Max for Live?
Max for Live provides two different ways to access the Live application directly through the Live API:
- You can use a trio of Max for Live objects - (live.object , live.observer , and live.path) to access, observe, and control the Live application.
Further details are linked from Cycling 74 documentation that will help you start building Max for Live devices to control elements in Live.
To learn more about Max for Live, we highly recommend this series of Max for Live tutorials.
The Max for Live forum is also a great place to share ideas and get help from the Max community with your patches.