View Source NxAudio.Transforms.AmplitudeToDb (nx_audio v0.3.0)
Represents the amplitude to decibel transformation for audio signals.
Summary
Functions
Returns the decibel representation of a power or magnitude spectrogram.
Functions
@spec transform( NxAudio.IO.audio_tensor(), keyword() ) :: NxAudio.IO.audio_tensor()
Returns the decibel representation of a power or magnitude spectrogram.
Options
top_db: float() - The maximum decibel value. Default is 80.0.