Editing CC Automation from M4L?

Unit27's icon

I'm designing a sequencer for a hardware MIDI device, and I'm looking for a way to set the MIDI CC 16 Automation line to a selected value in the range of a selected note. Is it possible to write Automation values from M4L, either as a MIDI Effect or MIDI Tool, without having to record Automation output in real time?

Aera's icon

Easiest would be to use Extra1 from a live.step and send this value to ctlout

Unit27's icon

I think live.step would be too limiting for what I need because I want to have CC automation applied within the clip, not generated from a sequencer in the Max device. What I'm having trouble with is figuring out if it's possible to directly create automation points through the Live Object Model without having to generate the output in real time and record it as automation.