feature request: api access to devices in an effect group

Timo Rozendal's icon

currently it is not possible to acces devices and deviceparameters which are inside an effect group *. If a device requests it's own path live.object returns the error: "live.object: get path: error calculating the path"

I would like to see an extension of the live api which gives acces to devices in all situations...

Thanks

Timo

(* ok it is possible if you have retrieved the id of the object before grouping, but since you have no path it is impossible to retrieve a new id when loading a song again)

Jay Walker's icon

Hello, I have devices in an effects group I'd like to access via api. Also, I have drum racks with devices I'd also like to target. Does anyone know if this functionality now available? Thanks!

benj3737's icon

what's an effect group? I've always been able to target any device

Jay Walker's icon

I guess it's a nested chain? Here's a screenshot.. I'm trying to target the reverb via the api (hopefully without having to map it to a macro, as only 8 parameters are supported doing it that way)

benj3737's icon

I think you could get to it with the path live_set tracks A devices B chains 1 devices C parameters D

Jay Walker's icon

Awesome thank you Benj!!! I can't believe I missed that, this opens up a whole new world of possibilities for me :)! This is how you can target drum pads:

function setDial(val){
    liveSet = new LiveAPI('live_set view selected_track devices 1 drum_pads 36 chains 0 devices 0 parameters 1');
liveSet.set('value', val);
}