Generic Type Method

amplitudeToDecibels(_:zeroReference:)

Returns double-precision amplitude values converted to decibel values.

Declaration

static func amplitudeToDecibels<U>(_ amplitude: U, zeroReference: Double) -> [Double] where U : AccelerateBuffer, U.Element == Double

See Also

Single-Vector Conversion to Decibel Equivalents

static func amplitudeToDecibels<U>(U, zeroReference: Float) -> [Float]

Returns single-precision amplitude values converted to decibels.

static func powerToDecibels<U>(U, zeroReference: Double) -> [Double]

Returns double-precision power values converted to decibel values.

static func powerToDecibels<U>(U, zeroReference: Float) -> [Float]

Returns single-precision power values converted to decibel values.

static func convert<U, V>(amplitude: U, toDecibels: inout V, zeroReference: Double)

Converts double-precision amplitude values to decibel values.

static func convert<U, V>(amplitude: U, toDecibels: inout V, zeroReference: Float)

Converts single-precision amplitude values to decibel values.

static func convert<U, V>(power: U, toDecibels: inout V, zeroReference: Double)

Converts double-precision power values to decibel values.

static func convert<U, V>(power: U, toDecibels: inout V, zeroReference: Float)

Converts single-precision power values to decibel values.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software