Generic Type Method

powerToDecibels(_:zeroReference:)

Returns single-precision power values converted to decibel values.

Declaration

static func powerToDecibels<U>(_ power: U, zeroReference: Float) -> [Float] where U : AccelerateBuffer, U.Element == Float

See Also

Single-Vector Conversion to Decibel Equivalents

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

Returns double-precision amplitude values converted to decibel values.

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 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.