Expand description
§Bindings to the SoundAnalysis framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- SNAudio
File Analyzer SNAnalyzer - Analyzes an audio file and provides analysis results to the client
- SNAudio
Stream Analyzer SNAnalyzer - Analyzes a stream of audio data and provides analysis results to the client
- SNClassification
SNClassificationResult - The likelihood of a sound belonging to identified class
- SNClassification
Result SNClassificationResult - A result containing the most likely classification candidates in the time range specified
- SNClassify
Sound Request SNClassifySoundRequest - Configure an analyzer to perform sound classification using the provided MLModel.
- SNError
Code SNError - Apple’s documentation
- SNTime
Duration Constraint SNTimeDurationConstraint - Constrains CMTime durations to a subset of legal values.
- SNTime
Duration Constraint Type SNTimeDurationConstraint - Enumerates possible types for
SNTimeDurationConstraint.
Statics§
- SNClassifier
Identifier ⚠Version1 SNTypes - Denotes the first edition of the Apple-provided sound classifier.
- SNError
Domain ⚠SNError - Apple’s documentation
Traits§
- SNRequest
SNRequest - The base protocol to which analysis requests conform
- SNResult
SNResult - The base protocol to which analysis results conform
- SNResults
Observing SNResult - The interface through which clients receive the results of an analysis request
Type Aliases§
- SNClassifier
Identifier SNTypes - Identifiers denoting particular recognized sound classifiers.