to_dB: Convert to dB

View source: R/math.R

to_dBR Documentation

Convert to dB

Description

Internal soundgen function.

Usage

to_dB(x)

Arguments

x

a vector of floats between 0 and 1 (exclusive, i.e. these are ratios)

Examples

soundgen:::to_dB(c(.1, .5, .75, .9, .95, .99, .999, .9999))

soundgen documentation built on Sept. 12, 2024, 6:29 a.m.