dbMathematical Operations:Amplitude Functionsdbdb
Returns the amplitude equivalent for a given decibel amount.
Description
Returns the amplitude equivalent for a given decibel amount. This opcode is the same as ampdb.
Syntaxdb(x)
This function works at a-rate, i-rate, and k-rate.
Initializationx -- a value expressed in decibels.
Performance
Returns the amplitude for a given decibel amount.
Examples
Here is an example of the db opcode. It uses the file db.csd.
Example of the db 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.252
instr 1: iamp = 1211.582
instr 1: iamp = 4641.643
instr 1: iamp = 17782.420See alsoAmplitude ConvertersNew in version 4.16