Hi Olivier,
Yes, this is possible since Logelloop 5.0.20.
Below is an example of macro which set the level of each track to a random value between -50 and -20.
We use $track_id$ to set the track number and the syntax is trk[$track_id$].
Of course you can use any declared variable name…
Note that it is also possible to use this with fx, in and out.
Philippe
//************************* Macro begin **********************************************
Declare int $track_id$ = 1
Declare Once float $min_vol$ = -50
Declare Once float $max_vol$ = -20
Declare float $value$ = 0.
DoRepeat
$value$ = {randomScaleInt($min_vol$,$max_vol$)}
During 4500 Reach $value$ TrackVolume trk[$track_id$]
Sleep 50
Set $track_id$ = { ($track_id$==10) ? 1 : ($track_id$ + 1) }
While true
//************************* Macro end **********************************************