start(inputAudioFile:finishAfterFile:)
Starts analysis of an input sequence created from an audio file and returns immediately.
Declaration
final func start(inputAudioFile audioFile: AVAudioFile, finishAfterFile: Bool = false) async throwsParameters
- audioFile:
An AVAudioFile opened for reading.
- finishAfterFile:
If
true, the analysis will automatically finish after the audio file has been fully processed. Equivalent to calling Finalizeandfinishthroughendofinput().
Discussion
This method stops the autonomous analysis of the previous input sequence. To ensure the previous sequence’s input is fully consumed, call finalize(through:) first.