Audio transitions

Crossfade

This transition mixes two audio streams; it starts with the first audio stream and ends with the second.

GUI dialog description

The dialog contains two sliders which allow you to set crossfade speed for both audio channels. The default values in the middle correspond to a linear interpolation; the lower and higher values make the crossfade slower or faster, respectively.

The checkbox locks the two sliders so that they always move together.

Network parameters

The following table lists the transition's parameters in network file format.

Table 4.78. Crossfade parameters

ParameterValuesDescriptionRequiredDefault value
transitionCrossfadetransition nameyes 
ratepositive realcrossfade rateno1 (=linear)
rate_leftpositive realrate for left channelnorate
rate_rightpositive realrate for right channelnorate_left

Fade

This is a transition between two audio streams; it fades the first audio stream out and then fades the second audio in.

GUI dialog description

The dialog allows you to set the end of fade out and the beginning of the fade in (in percentage of the clip's length), as well as the rate of both fades.

The Rate sliders affect the speed of fade in and fade out.

The Autoscale option prevents the sum of contributions of the infading audio and the outfading clip from overflowing.

Network parameters

The following table lists the transition's parameters in network file format.

Table 4.79. Fade parameters

ParameterValuesDescriptionRequiredDefault value
transitionFadetransition nameyes 
fade_outreal from (0, 1)the end of fade out relative to the length of clipno0.5 (middle of the clip)
fade_inreal from (0, 1)the start of fade in relative to the length of clipno0.5 (middle of the clip)
rate_outreal > 0rate of fade outno1 (uniform)
rate_inreal > 0rate of fade inno1 (uniform)
autoscaleboolean (0 or 1)scale the composed brigthness against overflowno1