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 = 89.542See Alsoampdb,
ampdbfs,
dbfsampCreditsExample written by &namekevin;.