csound-expression-0.3.0: Csound combinator library

CsoundExpr.Opcodes.Sigmod.SigProcAmpMod

Description

Amplitude Modifiers and Dynamic processing

Synopsis

Documentation

balance :: [Irate] -> Arate -> Arate -> ArateSource

  • opcode : balance
  • syntax :
   ares balance asig, acomp [, ihp] [, iskip]
  • description :

The rms power of asig can be interrogated, set, or adjusted to match that of a comparator signal.

compress :: (K k0, K k1, K k2, K k3, K k4, K k5) => Arate -> Arate -> k0 -> k1 -> k2 -> k3 -> k4 -> k5 -> Irate -> ArateSource

  • opcode : compress
  • syntax :
   ar compress aasig, acsig, kthresh, kloknee, khiknee, kratio, katt, krel, ilook
  • description :

This unit functions as an audio compressor, limiter, expander, or noise gate, using either soft-knee or hard-knee mapping, and with dynamically variable performance characteristics. It takes two audio input signals, aasig and acsig, the first of which is modified by a running analysis of the second. Both signals can be the same, or the first can be modified by a different controlling signal.

clip :: [Irate] -> Arate -> Irate -> Irate -> ArateSource

  • opcode : clip
  • syntax :
   ares clip asig, imeth, ilimit [, iarg]
  • description :

Clips an a-rate signal to a predefined limit, in a soft manner, using one of three methods.

dam :: K k0 => Arate -> k0 -> Irate -> Irate -> Irate -> Irate -> ArateSource

  • opcode : dam
  • syntax :
   ares dam asig, kthreshold, icomp1, icomp2, irtime, iftime
  • description :

This opcode dynamically modifies a gain value applied to the input sound ain by comparing its power level to a given threshold level. The signal will be compressed/expanded with different factors regarding that it is over or under the threshold.

gain :: K k0 => [Irate] -> Arate -> k0 -> ArateSource

  • opcode : gain
  • syntax :
   ares gain asig, krms [, ihp] [, iskip]
  • description :

Adjusts the amplitude audio signal according to a root-mean-square value.