How do you access device parameters inside racks using M4L???
I know this was a recently added feature, but i can't find any tutorials anywhere on how to accomplish this task... Can anyone post an example of how to navigate this with the LOM or point me to a patch that uses this so I can swipe it for my own patch?
I also see that it's possible to create a kind of "midi map mode" using "live.path live_set view selected_parameter" but I've put that object into a new Max Audio effect, and tried to print the far right outlet (dumpout), but no matter what parameter I click, I can't seem to get it to print the path of the selected parameter. If I could figure this out, it would take care of my problem above, but if you could help me out with either task I would really appreciate it! Thanks,
G
something like this.
path live.set tracks 1 devices 1 chains 1 devices 0 parameters 1
the chain part comes after the outmost device number, then it pics back up with the nested device.
ALSO, chains in DrumRacks operate a lil different. For example if you have nothing in a DrumRack and drop an instrumentRack on C1, it will be chain 0, but if add something below that like on C-2, then C-2 will become chain 0 and C1 will become chain 1. So if you fill all of a DrumRack up C1 will actually be something like chain 36. So your path would look something like,
path live.set tracks 1 devices 0 chain 36 devices 1 parameter whatever your trying to access.
You should learn how to use the "LOM Navigator" device. It's a big help.
which you can learn all about here http://blog.synthfan.info/2011/04/11/m4l-diving-into-the-live-object-model.aspx and here http://blog.synthfan.info/2011/03/30/m4l-accessing-chains-in-a-rack.aspx
:-)
Sweet, thanks for the tips on that. The LOM navigator looks like a very helpful device, I'll definitely check it out.