The illustrative example is a Mic On/Off button. My setup is:
* Input 1 - Mic
* Input 2 - Music via VB-Cable
* A1 -> Speakers
* B2 -> Stream
I have the music volume set to different levels for A1 and B2 via Sel. When I use my macro button I want the following to happen:
Mic On:
* Mute A1
* Fade Music on B2 only to a specific level.
* Unmute the Mic input
Mic Off:
* Mute Mic input
* Fade Music back to original level on B2
* Unmute A1
Everything works fine apart from the fading, which appears to ignore the selection states at the point the fade request is made. So this ends up fading the music volume level to -9 across all outputs:
Code: Select all
bus[0].mute=1;
bus[6].sel=1;
Strip(1).FadeTo = (-9.0, 500);
bus[6].sel=0;
strip[0].mute=0;