A request to perform sound classification using a Core ML model.


class SNClassifySoundRequest : NSObject


Creating a Request

init(mlModel: MLModel)

Initializes a sound classification request with the provided MLModel.

Configuring a Request

var overlapFactor: Double

The overlap of analysis windows when the model operates on a fixed-size audio block.


Inherits From

See Also

Configuration and Classification

class SNClassificationResult

A result containing the highest-ranking classifications in the specified time range.

protocol SNResultsObserving

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.