TensorMath.amplitudeToDb
FunctionConverts 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.
amplitudeToDb(
inTensor,outTensor):void
Converts inTensor from the amplitude scale to the decibel scale.
Parameters
| Parameter | Type |
|---|---|
inTensor | Float32Array |
outTensor | Float32Array |
Returns
void