Contents

analyze()

Performs all available analyses on the session’s audio source.

Declaration

@discardableResult func analyze() async throws -> MusicUnderstandingSession.SessionResult

Return Value

The aggregated session result containing all analyses.

Discussion

Example usage:

let session = MusicUnderstandingSession(audioProvider: provider)
let result = try await session.analyze()

See Also

Performing an analysis