csound-expression-0.3.1: Csound combinator library

CsoundExpr.Opcodes.Math.Amp

Description

Amplitude Converters

Synopsis

Documentation

ampdb :: X x0 => x0 -> x0Source

  • opcode : ampdb
  • syntax :
   ampdb(x) (no rate restriction)
  • description :

Returns the amplitude equivalent of the decibel value x. Thus:

ampdbfs :: X x0 => x0 -> x0Source

  • opcode : ampdbfs
  • syntax :
   ampdbfs(x) (no rate restriction)
  • description :

Returns the amplitude equivalent of the full scale decibel (dB FS) value x. The logarithmic full scale decibel values will be converted to linear 16-bit signed integer values from 32,768 to +32,767.

db :: X x0 => x0 -> x0Source

  • opcode : db
  • syntax :
   db(x)
  • description :

Returns the amplitude equivalent for a given decibel amount. This opcode is the same as ampdb.

dbamp :: K k0 => k0 -> k0Source

  • opcode : dbamp
  • syntax :
   dbamp(x) (init-rate or control-rate args only)
  • description :

Returns the decibel equivalent of the raw amplitude x.

dbfsamp :: K k0 => k0 -> k0Source

  • opcode : dbfsamp
  • syntax :
   dbfsamp(x) (init-rate or control-rate args only)
  • description :

Returns the decibel equivalent of the raw amplitude x, relative to full scale amplitude. Full scale is assumed to be 16 bit. New is Csound version 4.10.