csound-expression-0.3.1: Csound combinator library

CsoundExpr.Opcodes.Sigmod.Standard

Description

Standard Filters

Synopsis

Documentation

areson :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : areson
  • syntax :
   ares areson asig, kcf, kbw [, iscl] [, iskip]
  • description :

A notch filter whose transfer functions are the complements of the reson opcode.

lowpass2 :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : lowpass2
  • syntax :
   ares lowpass2 asig, kcf, kq [, iskip]
  • description :

Implementation of a resonant second-order lowpass filter.

lowres :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : lowres
  • syntax :
   ares lowres asig, kcutoff, kresonance [, iskip]
  • description :

lowres is a resonant lowpass filter.

lowresx :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : lowresx
  • syntax :
   ares lowresx asig, kcutoff, kresonance [, inumlayer] [, iskip]
  • description :

lowresx is equivalent to more layers of lowres with the same arguments serially connected.

lpf18 :: (K k0, K k1, K k2) => Arate -> k0 -> k1 -> k2 -> ArateSource

  • opcode : lpf18
  • syntax :
   ares lpf18 asig, kfco, kres, kdist
  • description :

Implementation of a 3 pole sweepable resonant lowpass filter.

moogvcf :: (X x0, X x1) => [Irate] -> Arate -> x0 -> x1 -> ArateSource

  • opcode : moogvcf
  • syntax :
   ares moogvcf asig, xfco, xres [,iscale, iskip]
  • description :

A digital emulation of the Moog diode ladder filter configuration.

moogladder :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : moogladder
  • syntax :
   asig moogladder ain, kcf, kres[, istor]
  • description :

Moogladder is an new digital implementation of the Moog ladder filter based on the work of Antti Huovilainen, described in the paper Non-Linear Digital Implementation of the Moog Ladder Filter (Proceedings of DaFX04, Univ of Napoli). This implementation is probably a more accurate digital representation of the original analogue filter.

reson :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : reson
  • syntax :
   ares reson asig, kcf, kbw [, iscl] [, iskip]
  • description :

A second-order resonant filter.

resonr :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : resonr
  • syntax :
   ares resonr asig, kcf, kbw [, iscl] [, iskip]
  • description :

Implementations of a second-order, two-pole two-zero bandpass filter with variable frequency response.

resonx :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : resonx
  • syntax :
   ares resonx asig, kcf, kbw [, inumlayer] [, iscl] [, iskip]
  • description :

resonx is equivalent to a filters consisting of more layers of reson with the same arguments, serially connected. Using a stack of a larger number of filters allows a sharper cutoff. They are faster than using a larger number instances in a Csound orchestra of the old opcodes, because only one initialization and k- cycle are needed at time and the audio loop falls entirely inside the cache memory of processor.

resony :: (K k0, K k1, K k2) => [Irate] -> Arate -> k0 -> k1 -> Irate -> k2 -> ArateSource

  • opcode : resony
  • syntax :
   ares resony asig, kbf, kbw, inum, ksep [, isepmode] [, iscl] [, iskip]
  • description :

A bank of second-order bandpass filters, connected in parallel.

resonz :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : resonz
  • syntax :
   ares resonz asig, kcf, kbw [, iscl] [, iskip]
  • description :

Implementations of a second-order, two-pole two-zero bandpass filter with variable frequency response.

rezzy :: (X x0, X x1) => [Irate] -> Arate -> x0 -> x1 -> ArateSource

  • opcode : rezzy
  • syntax :
   ares rezzy asig, xfco, xres [, imode, iskip]
  • description :

A resonant low-pass filter.

statevar :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> MultiOutSource

  • opcode : statevar
  • syntax :
   ahp,alp,abp,abr statevar ain, kcf, kq [, iosamps, istor]
  • description :

Statevar is a new digital implementation of the analogue state-variable filter. This filter has four simultaneous outputs: high-pass, low-pass, band-pass and band-reject. This filter uses oversampling for sharper resonance (default: 3 times oversampling). It includes a resonance limiter that prevents the filter from getting unstable.

svfilter :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> MultiOutSource

  • opcode : svfilter
  • syntax :
   alow, ahigh, aband svfilter asig, kcf, kq [, iscl]
  • description :

Implementation of a resonant second order filter, with simultaneous lowpass, highpass and bandpass outputs.

tbvcf :: (X x0, X x1, K k0, K k1) => [Irate] -> Arate -> x0 -> x1 -> k0 -> k1 -> ArateSource

  • opcode : tbvcf
  • syntax :
   ares tbvcf asig, xfco, xres, kdist, kasym [, iskip]
  • description :

This opcode attempts to model some of the filter characteristics of a Roland TB303 voltage-controlled filter. Euler's method is used to approximate the system, rather than traditional filter methods. Cutoff frequency, Q, and distortion are all coupled. Empirical methods were used to try to unentwine, but frequency is only approximate as a result. Future fixes for some problems with this opcode may break existing orchestras relying on this version of tbvcf.

vlowres :: (K k0, K k1, K k2) => Arate -> k0 -> k1 -> Irate -> k2 -> ArateSource

  • opcode : vlowres
  • syntax :
   ares vlowres asig, kfco, kres, iord, ksep
  • description :

A bank of filters in which the cutoff frequency can be separated under user control

bqrez :: (X x0, X x1) => [Irate] -> Arate -> x0 -> x1 -> ArateSource

  • opcode : bqrez
  • syntax :
   ares bqrez asig, xfco, xres [, imode] [, iskip]
  • description :

A second-order multi-mode filter.

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

  • opcode : atone
  • syntax :
   ares atone asig, khp [, iskip]
  • description :

A hi-pass filter whose transfer functions are the complements of the tone opcode.

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

  • opcode : atonex
  • syntax :
   ares atonex asig, khp [, inumlayer] [, iskip]
  • description :

atonex is equivalent to a filter consisting of more layers of atone with the same arguments, serially connected. Using a stack of a larger number of filters allows a sharper cutoff. They are faster than using a larger number instances in a Csound orchestra of the old opcodes, because only one initialization and k- cycle are needed at time and the audio loop falls entirely inside the cache memory of processor.

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

  • opcode : tone
  • syntax :
   ares tone asig, khp [, iskip]
  • description :

A first-order recursive low-pass filter with variable frequency response.

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

  • opcode : tonex
  • syntax :
   ares tonex asig, khp [, inumlayer] [, iskip]
  • description :

tonex is equivalent to a filter consisting of more layers of tone with the same arguments, serially connected. Using a stack of a larger number of filters allows a sharper cutoff. They are faster than using a larger number instances in a Csound orchestra of the old opcodes, because only one initialization and k- cycle are needed at time and the audio loop falls entirely inside the cache memory of processor.

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

  • opcode : biquad
  • syntax :
   ares biquad asig, kb0, kb1, kb2, ka0, ka1, ka2 [, iskip]
  • description :

A sweepable general purpose biquadratic digital filter.

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

  • opcode : biquada
  • syntax :
   ares biquada asig, ab0, ab1, ab2, aa0, aa1, aa2 [, iskip]
  • description :

A sweepable general purpose biquadratic digital filter.

butterbp :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : butterbp
  • syntax :
   ares butterbp asig, kfreq, kband [, iskip]
  • description :

Implementation of a second-order band-pass Butterworth filter. This opcode can also be written as butbp.

butterbr :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : butterbr
  • syntax :
   ares butterbr asig, kfreq, kband [, iskip]
  • description :

Implementation of a second-order band-reject Butterworth filter. This opcode can also be written as butbr.

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

  • opcode : butterhp
  • syntax :
   ares butterhp asig, kfreq [, iskip]
  • description :

Implementation of second-order high-pass Butterworth filter. This opcode can also be written as buthp.

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

  • opcode : butterlp
  • syntax :
   ares butterlp asig, kfreq [, iskip]
  • description :

Implementation of a second-order low-pass Butterworth filter. This opcode can also be written as butlp.

butbp :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : butbp
  • syntax :
   ares butbp asig, kfreq, kband [, iskip]
  • description :

Same as the butterbp opcode.

butbr :: (K k0, K k1) => [Irate] -> Arate -> k0 -> k1 -> ArateSource

  • opcode : butbr
  • syntax :
   ares butbr asig, kfreq, kband [, iskip]
  • description :

Same as the butterbr opcode.

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

  • opcode : buthp
  • syntax :
   ares buthp asig, kfreq [, iskip]
  • description :

Same as the butterhp opcode.

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

  • opcode : butlp
  • syntax :
   ares butlp asig, kfreq [, iskip]
  • description :

Same as the butterlp opcode.

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

  • opcode : clfilt
  • syntax :
   ares clfilt asig, kfreq, itype, inpol [, ikind] [, ipbr] [, isba] [, iskip]
  • description :

Implements the classical standard analog filter types: low-pass and high-pass. They are implemented with the four classical kinds of filters: Butterworth, Chebyshev Type I, Chebyshev Type II, and Elliptical. The number of poles may be any even number from 2 to 80.

aresonk :: (K k0, K k1, K k2) => [Irate] -> k0 -> k1 -> k2 -> KrateSource

  • opcode : aresonk
  • syntax :
   kres aresonk ksig, kcf, kbw [, iscl] [, iskip]
  • description :

A notch filter whose transfer functions are the complements of the reson opcode.

atonek :: (K k0, K k1) => [Irate] -> k0 -> k1 -> KrateSource

  • opcode : atonek
  • syntax :
   kres atonek ksig, khp [, iskip]
  • description :

A hi-pass filter whose transfer functions are the complements of the tonek opcode.

lineto :: (K k0, K k1) => k0 -> k1 -> KrateSource

  • opcode : lineto
  • syntax :
   kres lineto ksig, ktime
  • description :

Generate glissandos starting from a control signal.

port :: K k0 => [Irate] -> k0 -> Irate -> KrateSource

  • opcode : port
  • syntax :
   kres port ksig, ihtim [, isig]
  • description :

Applies portamento to a step-valued control signal.

portk :: (K k0, K k1) => [Irate] -> k0 -> k1 -> KrateSource

  • opcode : portk
  • syntax :
   kres portk ksig, khtim [, isig]
  • description :

Applies portamento to a step-valued control signal.

resonk :: (K k0, K k1, K k2) => [Irate] -> k0 -> k1 -> k2 -> KrateSource

  • opcode : resonk
  • syntax :
   kres resonk ksig, kcf, kbw [, iscl] [, iskip]
  • description :

A second-order resonant filter.

resonxk :: (K k0, K k1, K k2) => [Irate] -> k0 -> k1 -> k2 -> KrateSource

  • opcode : resonxk
  • syntax :
   kres resonxk ksig, kcf, kbw[, inumlayer, iscl, istor]
  • description :

resonxk is equivalent to a group of resonk filters, with the same arguments, serially connected. Using a stack of a larger number of filters allows a sharper cutoff.

tlineto :: (K k0, K k1, K k2) => k0 -> k1 -> k2 -> KrateSource

  • opcode : tlineto
  • syntax :
   kres tlineto ksig, ktime, ktrig
  • description :

Generate glissandos starting from a control signal with a trigger.

tonek :: (K k0, K k1) => [Irate] -> k0 -> k1 -> KrateSource

  • opcode : tonek
  • syntax :
   kres tonek ksig, khp [, iskip]
  • description :

A first-order recursive low-pass filter with variable frequency response.