<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Speech",
  "identifier" : "/documentation/Speech/SpeechAnalyzer/start(inputAudioFile:finishAfterFile:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Speech"
    ],
    "preciseIdentifier" : "s:6Speech0A8AnalyzerC5start14inputAudioFile011finishAfterF0ySo07AVAudioF0C_SbtYaKF"
  },
  "title" : "start(inputAudioFile:finishAfterFile:)"
}
-->

# start(inputAudioFile:finishAfterFile:)

Starts analysis of an input sequence created from an audio file and returns immediately.

```
final func start(inputAudioFile audioFile: AVAudioFile, finishAfterFile: Bool = false) async throws
```

## Parameters

`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()`](/documentation/Speech/SpeechAnalyzer/finalizeAndFinishThroughEndOfInput()).

## 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:)`](/documentation/Speech/SpeechAnalyzer/finalize(through:)) first.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)