Mapping Video
"I'm building a Max for Live device in Ableton 11 Suite. I need to trigger jit.movie when a clip plays in Session View. I've confirmed that:
live.observer playing_slot_index works and returns the correct slot
manual bang to jit.movie inlet 1 shows the video in jit.pwindow
metro does not send bangs to jit.movie in MFL context
jit.window does not open
How do I properly drive jit.movie frames in a Max for Live Audio Effect?"
Thanks in advance !
Please send a patch or the device so we can see better what could go wrong.
Driving a jit.movie shouldn't be much different between Max or Max for Live.
You're mentionning [jit.window], so I assume you're not using [jit.world], which might get you started more quickly. Make sure to use [jit.gl.movie] or [jit.movie @output_texture 1] (the former being a shorcut for the latter).
@Robin Félix,
You can use the plugsync~ object in an M4L patch to follow Live's transport...
If your "playing_slot_index" callback gets the callback whenever the clip (in that slot) starts playing, maybe you could could use that "signal" as the "bang" that sends the 'start' message to jit.movie?