One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

AudioFeaturePrint

struct · iOS 16.0+ · SDK 27.1

struct AudioFeaturePrint

A stream transformer that extracts audio features from audio buffers.

Members (4)

get · iOS 16.0+

overlapFactor

TypeScript
get overlapFactor(): number
Swift declaration
let overlapFactor: Double

The overlap factor of the extractor. The overlap should be greater than or equal to zero and less than one.

init · iOS 16.0+

init

TypeScript
static init(windowDuration: number, overlapFactor: number): AudioFeaturePrint
Swift declaration
init(windowDuration: TimeInterval, overlapFactor: Double)

Creates an audio feature print feature extractor. - Parameters: - windowDuration: The window duration in seconds. The window duration should be greater than or equal to 0.5 seconds and less than or equal to 15.0 seconds. - overlapFactor: The overlap factor. The overlap should be greater than or equal to zero and less than one.

get · iOS 16.0+

windowDuration

TypeScript
get windowDuration(): number
Swift declaration
let windowDuration: TimeInterval

The window duration of the extractor. The window duration should be greater than or equal to 0.5 seconds and less than or equal to 15.0 seconds.

get · iOS 16.0+

debugDescription

TypeScript
get debugDescription(): string
Swift declaration
var debugDescription: String { get }

A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AudioFeaturePrint.applied(to:eventHandler:)

This declaration needs Swift generic type arguments. (no canonical witness for S)

All CreateMLComponents types →