API Docs for: 0.0.1
Show:

audioUtils Class

Item Index

Methods

dB2Ratio

(
  • i_dB
)
Number

Converts db values in [-inf, 0] into "gain" values in [0,1] for example, 0 dB yields 1, -6 dB yields .5

Parameters:

  • i_dB Number

Returns:

Number:

gain value 10^(dB/20)

note2Freq

(
  • noteName
)
Number

Converts note names (eg. Eb2, F#, A4) into frequency values

Parameters:

  • noteName String

Returns:

Number:

frequency value