dbampMathematical Operations:Amplitude Functionsdbampdbamp
Returns the decibel equivalent of the raw amplitude x.
Description
Returns the decibel equivalent of the raw amplitude x.
Syntaxdbamp(x) (init-rate or control-rate args only)Examples
Here is an example of the dbamp opcode. It uses the file dbamp.csd.
Example of the dbamp 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 this:
instr 1: idb = 40.000
instr 1: idb = 60
instr 1: idb = 80
instr 1: idb = 86.021See alsoAmplitude Converters