Crate objc2_sound_analysis

Source
Expand description

§Bindings to the SoundAnalysis framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

SNAudioFileAnalyzerSNAnalyzer
Analyzes an audio file and provides analysis results to the client
SNAudioStreamAnalyzerSNAnalyzer
Analyzes a stream of audio data and provides analysis results to the client
SNClassificationSNClassificationResult
The likelihood of a sound belonging to identified class
SNClassificationResultSNClassificationResult
A result containing the most likely classification candidates in the time range specified
SNClassifySoundRequestSNClassifySoundRequest
Configure an analyzer to perform sound classification using the provided MLModel.
SNErrorCodeSNError
Apple’s documentation
SNTimeDurationConstraintSNTimeDurationConstraint
Constrains CMTime durations to a subset of legal values.
SNTimeDurationConstraintTypeSNTimeDurationConstraint
Enumerates possible types for SNTimeDurationConstraint.

Statics§

SNClassifierIdentifierVersion1SNTypes
Denotes the first edition of the Apple-provided sound classifier.
SNErrorDomainSNError
Apple’s documentation

Traits§

SNRequestSNRequest
The base protocol to which analysis requests conform
SNResultSNResult
The base protocol to which analysis results conform
SNResultsObservingSNResult
The interface through which clients receive the results of an analysis request

Type Aliases§

SNClassifierIdentifierSNTypes
Identifiers denoting particular recognized sound classifiers.