Global button . Play Stop Record

kamil s's icon

Hi all .

I made a plugin that receives data from osc now I would like to start timeline in ableton Could anybody help me how to make global play stop record buttons without midi, I do not want to create virtual ports.
I use max and ableton for the first time so I'm a newcomer, but I'm programming in other platforms.
I know that I probably have to use live.object, live.path and something like call start_playing :)

greetings

kamil s's icon

And five minutes later I almost answered myself to my questions
Ok works play stop , but how call to record ?

play_stop_rec.amxd
amxd 5.37 KB

Source Audio's icon

Just keep answering own questions.

kamil s's icon

funny, I can not figure it out how press record button .
https://docs.cycling74.com/max5/refpages/m4l-ref/m4l_live_object_model.html

Source Audio's icon

Sorry, I am not using Live and can't help You directly,
but newer documentation is at this address :

https://docs.cycling74.com/max7/vignettes/live_object_model

kamil s's icon

I could do this in 5 min through midi and map, but why generate unnecessary port :/
Thank you for the documentation, I will check

Source Audio's icon

I don't use live because it is too complicated as a

simple daw and not flexible enough for creative work, so it makes no sense to me.
Just personal opinion

kamil s's icon

okay, I succeeded, so once again I answer myself :)
in the documentation you sent me found this ;
record_mode
TYPEboolACCESSget, set, observe
Description
1 = the Arrangement Record button is on.

set record_mode 1 and everything works perfect ;)

Source Audio's icon

nothing is as sweet as self baked cake.
Glad You made it finally.

fabio m's icon

Hi Kamil S, hope you're still around this forum.
If you are, would you mind sharing your solution to start, stop and monitor the global record function, please?
I've searched the docs with "record_mode" and with " and "1 = the Arrangement Record button is on" but nothing comes out...
Thank you.
fabio