User manual

Automation Protocol Video Commands
Miranda Technologies Ltd Page 40
Example:
void SetFaderAngle(int Layer, int Type, int Angle)
{
remote_send("@%x %d %x", Layer, Type, Angle);
}
Set Transition Duration B
This command sets the duration for the selected transaction on the selected
layer. In swap-preview mode, the value applies to the main layer, whatever
layer is actually selected. The value provided sets the number of fields to
complete the action. This value may range from 0 to 999 decimal, but is
encoded in the command as hexadecimal. Type is a single digit defining
which transition is to be controlled, the selection being between Fade and
Fade-To-Black (FTB).
CMD Param_1 Param_2 Param_3
B Layer No. Type 0=FTB, 1=Fade Rate in fields
Example 1: Set transition rate.
void SetTransRate(int Layer, int Fields)
{
remote_send("B%x 1 %x", Layer, Fields);
}
Example 2: Set Fade-To-Black transition.
void SetFTBTransRate(int Layer, int Fields)
{
remote_send("B%x 0 %x", Layer, Fields);
}