how do you control ableton transport (play and stop) from within M4L?

Mxme Pr's icon

Hey

just a quick question : how do you control ableton transport (play and stop) from within M4L? I'd like to be able to do that, not only in a "compositional" way but also in a practical way (when I need to stop Ableton transport and I'm working on my max patch I have to switch windows on my screen etc).

Thanks a lot

Source Audio's icon

option 1 to play/pause or stop-reset

or

is_playing

Typebool

Accessget, set, observe

Description

Get/set if Live's transport is running.

Mxme Pr's icon

yeah thanks I'll try that!

Mxme Pr's icon

works great! How do you suggest I use space bar to start and top playing? key > select 32 > bang is a start I guess...but then how to differentiate using the space bar to start and to stop playing?

Source Audio's icon

Is space bar not anyway starting or stopping transport ?

You can use sel 32 to toggle current state.

Observe is_playing property and

inverse it with the bang from key.

Is your problem focus to keystrokes

while live is in background ?

same problem woud be if any max window is opened

in max editor, devices in non edit mode

do no receive keystrokes.

And you don't want to insert key object etc in

every device, or ?

Mxme Pr's icon

Is space bar not anyway starting or stopping transport ? it does in Ableton yes but I mean I want to do that while working on my M4L patch (max window open).

Mxme Pr's icon

Observe is_playing property and

inverse it with the bang from key.

Can you explain this?

Source Audio's icon

...............