ampdbMathematical Operations:Amplitude Functionsampdbampdb
Returns the amplitude equivalent of the decibel value x.
Description
Returns the amplitude equivalent of the decibel value x. Thus:
60 dB = 100066 dB = 1995.26272 dB = 3891.0778 dB = 7943.27984 dB = 15848.92690 dB = 31622.764Syntaxampdb(x) (no rate restriction)Examples
Here is an example of the ampdb opcode. It uses the file ampdb.csd.
Example of the ampdb opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
Its output should include lines like:
instr 1: iamp = 316.228
instr 1: iamp = 31622.763
instr 1: iamp = 2511.886
instr 1: iamp = 9999.996
See alsoAmplitude Converters