accessing devices within the instrument rack

ctignor's icon

Is there a way to access devices within an instrument rack?
instrument racks appear to have no children and the only parameters for them appear to be Device On, the macro controls, and the chain selector. How can I access nested devices?

thanks!

C>T>

ctignor's icon

I'm sorry I meant "Audio Effect Rack", not "Instrument Rack".

best,

C>T>

amounra's icon

Either way, there isn't a way unless the specific device is currently selected. You can use 'appointed_device' to get the device id if it is selected, but otherwise nested devices are inaccessible to the API functionality in m4l.

This is a much requested feature, supposedly it is being worked on for future versions.

Cheers :)

ctignor's icon

thanks - and am I correct in assuming there is no way to programatically select a device?

amounra's icon

MIDI mapping is the only way that I've found. You can also do it in conjunction with the Python scripts, but not without modifying them somewhat (this is how I'm going about it).

I've been round and round with this LOL.

ShelLuser's icon

The only thing you can control with an instrument rack (same as audio effect rack) is on/off, the 8 macro controls and the chain selector.

The only thing available on a drum rack is on/off and the 8 macro controls.

Ollie Bown's icon

I vote for this feature! It just requires the Device class to have a list of Devices as one of its children. I'd assume that this is no sweat to add to the API, or is there some kind of issue with the recursion that is required to do this?

I have been writing patches for finding Live elements by name, e.g., [get_track_by_name ] and [get_device_by_name ]. If it was possible to just send messages like this to live.path I'd be even happier.

Bjorn Vayner's icon

You probably should check out the latest betas :-)

Morgan's icon

here is a patch that will get all the parameters on a track, including devices inside of racks

----------begin_max5_patcher----------
2616.3oc6csraiiiEcsquBBOKmLE3C8b.5Ey7MLKJfFELjsYr0DYICI4jZpF
8+9PwKkijirHUhkEU0YQhsde3gWRd48dn7e7kEKWm8CdwRz+D86nEK9iurXg
bWU6XgZ6EKOD8iMIQExSaYJ+kr0+2kO.Gpj+iR4tOhVGkta0K64oq1rONYat
3K6idluZMW7scYkk7z5qJINkuI6Tp7RYpclcpLgWV9+NxA3rr5FtD8c0geLK
sLM5f7fK+W4wQI02szSGhSEWpDeT0NOFUJfg.Q47MkvMjPC9J9AD00q5CBkT
8giXemeFwak2cQ46ePHdMt+.1jO.RC7TD+SIdHTwspwykmqHPECJN63D9y77
h3rzF2jEKafNGlDV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UvzSXhNQ34IYuLQJc4rl
2Ee3pU1k8sF2uS5y3ikgWhmai2XWljb+gmg25UKDJItnb48rY2EqSoarwBkz
7scluVsm6N4M69f1JPiCFyTwODLbakJgpfhdTL1DT4IGW6zQKRRDf72bBLkD
7GNITOpc0ZsSNsrWMjueu56JFW8uaXGwfPaBzqDVmIWIreL6pf.06RFCsqBG
tY0Y29Pwa+aE20Nh4e6ae6+jGMN8CSvvfXNfMSfVg.5Xy9+.NtmyKOkmBtkW
fNDUHp1TNoq1mZA4hND+CwgpCaw9Hgq90WsZqWc2W70Twr+1gDS9aaA54rjS
GLXMYX5eiTeALuy57rZbVrdGb668rj8nK9cSjt3q4SXZ1FnaVl0KBY854djs
Qq8iFCSbPOmRuNmx9KuvtqsPcTjp10tAg7Kpzt6oRJV26ZyQ12LhxqLscGa0
qqFX31ySQ8x39idNl+BpXCOULT6lS7UPp6PaRhOtpHIqr3pgGi9tFWcrpypq
rTSYk.sutdkVOSaw2JVBOcM296VGTvPmvauWuPcqhGuOG+Tm8ouJZu.ips+d
lMO5Y0rmSl1YOCYLRIhVsAlh9K8Kr1WyljQwq41rdcFkUvhoR3j4XUZnoRyR
dlHgFlUAaSUrjcgZligZay29fsQ5rxtjUcUkO0jUOxrD0ySt1xTlL0PKaOqC
0jYWuelhZB0tTYp6L8ESaUu19lrHwrOXGLOgc37D1D7LE2Fsn.sObaTmI9VH
eOSwMclha1LE2NyTb6NSws2LD2rY5xSyXbaYqGPic99ctRcopef7f3Z554W+
yxUUrNUucvCjqRmQZElZZ8hy77GggOW+Z270uljNaGBXXg2bYknZ42zeLOLI
JMusRq6Jr2rTfFBhXZPDI7tCIrNH0tW96BlHFgIxcESTsXhdWwTamFLIHSiO
jtvTwfH5ZIXhzNtV2ATQu80dDwv7xWLPf7zfe47bfA6IpeGWw0ixOxPm7Qpk
leeyn's icon

supposedly it is being worked on for future versions..

[url=http://www.tbshoppingmall.com/g-84.html]cheap tory burch flip flops[/url][url=http://www.tbshoppingmall.com/g-131.html]tory burch dean handbags[/url][url=http://www.tbshoppingmall.com/g-79.html]Tory Burch Purple Flip Flop[/url]

orange_glass's icon

Hi Morgan, I've not looked at your patch but I'm assuming it's for use with the new beta?