Skip to main content

TensorMath.amplitudeToDb

Function

Converts inTensor from the amplitude scale to the decibel scale.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

amplitudeToDb(inTensor, outTensor): void

Converts inTensor from the amplitude scale to the decibel scale.

Parameters

ParameterType
inTensorFloat32Array
outTensorFloat32Array

Returns

void