soundgen (version 1.5.0)

to_dB: 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

Run this code
# NOT RUN {
soundgen:::to_dB(c(.1, .5, .75, .9, .95, .99, .999, .9999))
# }

Run the code above in your browser using DataLab