AKDynamicPlayer

public class AKDynamicPlayer : AKPlayer
  • The time pitch node - disabled by default

    Declaration

    Swift

    public private(set) var timePitchNode: AKTimePitch?
  • Rate (rate) ranges from 0.03125 to 32.0 (Default: 1.0 and disabled)

    Declaration

    Swift

    public override var rate: Double { get set }
  • Pitch (Cents) ranges from -2400 to 2400 (Default: 0.0 and disabled)

    Declaration

    Swift

    public var pitch: Double { get set }
  • Declaration

    Swift

    public override func play(from startingTime: Double, to endingTime: Double, at audioTime: AVAudioTime?, hostTime: UInt64?)
  • Stop playback and cancel any pending scheduled playback or completion events

    Declaration

    Swift

    public override func stop()
  • Declaration

    Swift

    public override func detach()