Page 1 of 1

This_track?

Posted: Tue Mar 23, 2010 5:24 pm
by drart
Hi,

I see there is a this_device message I can use but I am wondering if it is possible to get this_track so that my patch would know which track it is attached to.

Thanks for the help.

Re: This_track?

Posted: Tue Mar 23, 2010 5:49 pm
by hoffman2k
drart wrote:Hi,

I see there is a this_device message I can use but I am wondering if it is possible to get this_track so that my patch would know which track it is attached to.

Thanks for the help.
You can get the track from the this_device message, as the result of "getpath" reads something like "path live_set tracks 13 devices 0".

Re: This_track?

Posted: Tue Mar 23, 2010 9:22 pm
by drart
Awesome. This is it exactly.

I have found a new problem. I would like to insert my patch into a track but when I do that the loadbang message doesn't necessarily function. Is there a way to have a loadbang send when a patch is instantiated?

Sorry for the simple questions.

Re: This_track?

Posted: Tue Mar 23, 2010 9:31 pm
by hyaahyaa
Loadbang not functioning seems like a bug to me. Loadbangs won't send when you move a device around (re-ordering or moving to a different track) or when a live set opens, but definitely should send when you drag in a new instance.

Re: This_track?

Posted: Tue Mar 23, 2010 10:46 pm
by drart
Hi,

I think I have it now. I rebooted and loadbang now works when I think it should. Loadbang doesn't work when a live_set opens? Is that documented anywhere? That seems like a big deal.

Re: This_track?

Posted: Wed Mar 24, 2010 11:01 am
by broc
I'm quite sure that loadbangs are sent when opening a Live set. You can easily check it with printing to the Max window.

Re: This_track?

Posted: Thu Mar 25, 2010 2:03 am
by hyaahyaa
You're right. I'm not exactly sure why I thought they didn't.