Contents

start(inputSequence:)

Starts analysis of an input sequence and returns immediately.

Declaration

final func start<InputSequence>(inputSequence: InputSequence) async throws where InputSequence : Sendable, InputSequence : AsyncSequence, InputSequence.Element == AnalyzerInput

Parameters

  • inputSequence:

    A new input sequence.

Discussion

This method stops the autonomous analysis of the previous input sequence. Any audio that hasn’t been consumed will be ignored but audio that has been consumed will continue to be analyzed. To ensure the previous sequence’s input is fully consumed, call finalize(through:) first.

The previous input sequence may be rendered inoperable depending on its implementation.

See Also

Performing autonomous analysis