Contents

fadeRate(rate:duration:curveType:)

Adjusts the playback speed of the sounds in a group gradually.

Declaration

func fadeRate(rate: Double, duration: Double, curveType: PHASECurveType)

Parameters

  • rate:

    The target playback speed.

  • duration:

    The total time to adjust the playback speed. The framework scales this value by Unitspersecond.

  • curveType:

    A selection that specifies a mathematical curve that shapes the playback speed adjustment over time.

See Also

Adjusting Playback Speed