How to expose SessionComponent to Max For Live (M4L) from control surface script?

0

Hi,

I’m working with a custom control surface script created with CSS and a Max for Live device, and I’d like to access the SessionComponent from M4L (to do stuff like explained here: https://www.keithmcmillen.com/blog/controlling-the-controllers-communicate-with-and-controlling-live-scripts-part-1/). However, I can’t see the SessionComponent exposed anywhere in the Live API when I try to access it from my device. I can access it when its the original (APC40 MK2) script though.

With the custom CSS script I see other componenents (Devicecomponent) but the one I really need is SessionComponent

Is there something I need to do in the control surface script to explicitly expose the SessionComponent to the Max for Live API? As it really plays in pivotal role for M4L.

Any help or examples would be much appreciated—thanks!

neoseed Answered question
0

I’m not exactly sure about this, but you may be able to get to it through control_surfaces > ‘control_surface’ > sessionComponent… ?

JohnC Answered question
You are viewing 1 out of 2 answers, click here to view all answers.