AKMicrophone

open class AKMicrophone: AKNode, AKToggleable

Audio from the standard input

  • Output Volume (Default 1)

    Declaration

    Swift

    open dynamic var volume: Double = 1.0
  • Set the actual microphone device

    Declaration

    Swift

    public func setDevice(_ device: AKDevice) throws
  • Determine if the microphone is currently on.

    Declaration

    Swift

    open dynamic var isStarted: Bool
  • Initialize the microphone

    Declaration

    Swift

    override public init()
  • Function to start, play, or activate the node, all do the same thing

    Declaration

    Swift

    open func start()
  • Function to stop or bypass the node, both are equivalent

    Declaration

    Swift

    open func stop()