Track number of current device

Sep 2, 2010 at 10:58am

Track number of current device

Hi,
this seems easy but I can’t find a solution:

How do you ask the lom to give me the track number (or name) where a m4l device currently sits in? I don’t want this to be done with the “view selected_track” but in the background.

For example: I would have a device that only prints the track number on startup. I have 8 tracks and drag the device on each of them. On startup it would say:

print: hi i am track 1
print: hi i am track 2

print: hi i am track n

much obliged for any help
stephen

#52106
Sep 2, 2010 at 11:10am

hi,

that could help you

– Pasted Max Patch, click to expand. –

matthieu

#187198
Sep 2, 2010 at 11:11am

thanks!
the this_device path is quite buried in the doc …

#187199

You must be logged in to reply to this topic.