A request to perform sound classification using a Core ML model.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Framework
- Sound
Analysis
Declaration
class SNClassifySoundRequest : NSObject
A request to perform sound classification using a Core ML model.
SDKs
Framework
class SNClassifySoundRequest : NSObject
init(ml Model: MLModel)
Initializes a sound classification request with the provided MLModel
.
var overlap Factor: Double
The overlap of analysis windows when the model operates on a fixed-size audio block.
class SNClassification Result
A result containing the highest-ranking classifications in the specified time range.
protocol SNResults Observing
The interface through which your app receives the results of an analysis request.
class SNClassification
The model’s classification of the analyzed sound combined with its level of confidence in that classification.