Safe Haskell | None |
---|
- clear :: [Sig] -> SE ()
- vincr :: Sig -> Sig -> SE ()
- ampdb :: SigOrD a => a -> a
- ampdbfs :: SigOrD a => a -> a
- dbamp :: SigOrD a => a -> a
- dbfsamp :: SigOrD a => a -> a
- birnd :: SigOrD a => a -> a
- rnd :: SigOrD a => a -> a
- divz :: SigOrD a => a -> a -> a
- mac :: [Sig] -> Sig
- maca :: [Sig] -> Sig
- polynomial :: Sig -> [Sig] -> Sig
- pow :: Sig -> Sig -> Sig
- product' :: [Sig] -> Sig
- sum' :: [Sig] -> Sig
- taninv2 :: SigOrD a => a -> a -> a
Comparators and Accumulators.
Zeroes a list of audio signals.
clear zeroes a list of audio signals.
clear avar1 [, avar2] [, avar3] [...]
csound doc: http://www.csounds.com/manual/html/clear.html
vincr :: Sig -> Sig -> SE ()Source
Accumulates audio signals.
vincr increments one audio variable with another signal, i.e. it accumulates output.
vincr accum, aincr
csound doc: http://www.csounds.com/manual/html/vincr.html
Amplitude Functions.
ampdb :: SigOrD a => a -> aSource
Returns the amplitude equivalent of the decibel value x.
Returns the amplitude equivalent of the decibel value x. Thus:
ampdb (x) (no rate restriction)
csound doc: http://www.csounds.com/manual/html/ampdb.html
ampdbfs :: SigOrD a => a -> aSource
Returns the amplitude equivalent (in 16-bit signed integer scale) of the full scale decibel (dB FS) value x.
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
ampdbfs (x) (no rate restriction)
csound doc: http://www.csounds.com/manual/html/ampdbfs.html
dbamp :: SigOrD a => a -> aSource
Returns the decibel equivalent of the raw amplitude x.
dbamp (x) (init-rate or control-rate args only)
csound doc: http://www.csounds.com/manual/html/dbamp.html
dbfsamp :: SigOrD a => a -> aSource
Returns the decibel equivalent of the raw amplitude x, relative to full scale amplitude.
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.
dbfsamp (x) (init-rate or control-rate args only)
csound doc: http://www.csounds.com/manual/html/dbfsamp.html
Random Functions.
birnd :: SigOrD a => a -> aSource
Returns a random number in a bi-polar range.
birnd (x) (init- or control-rate only)
csound doc: http://www.csounds.com/manual/html/birnd.html
rnd :: SigOrD a => a -> aSource
Returns a random number in a unipolar range at the rate given by the input argument.
rnd (x) (init- or control-rate only)
csound doc: http://www.csounds.com/manual/html/rnd.html
Opcode Equivalents of Functions.
divz :: SigOrD a => a -> a -> aSource
Safely divides two numbers.
ares divz xa, xb, ksubst ires divz ia, ib, isubst kres divz ka, kb, ksubst ... divz (ka, kb, ksubst)... (no rate restriction)
csound doc: http://www.csounds.com/manual/html/divz.html
Multiplies and accumulates a- and k-rate signals.
ares mac ksig1, asig1 [, ksig2] [, asig2] [, ksig3] [, asig3] [...]
csound doc: http://www.csounds.com/manual/html/mac.html
Multiply and accumulate a-rate signals only.
ares maca asig1 , asig2 [, asig3] [, asig4] [, asig5] [...]
csound doc: http://www.csounds.com/manual/html/maca.html
polynomial :: Sig -> [Sig] -> SigSource
Efficiently evaluates a polynomial of arbitrary order.
The polynomial opcode calculates a polynomial with a single a-rate input variable. The polynomial is a sum of any number of terms in the form kn*x^n where kn is the nth coefficient of the expression. These coefficients are k-rate values.
aout polynomial ain, k0 [, k1 [, k2 [...]]]
csound doc: http://www.csounds.com/manual/html/polynomial.html
pow :: Sig -> Sig -> SigSource
Computes one argument to the power of another argument.
Computes xarg to the power of kpow (or ipow) and scales the result by inorm.
ares pow aarg, kpow [, inorm] ires pow iarg, ipow [, inorm] kres pow karg, kpow [, inorm]
csound doc: http://www.csounds.com/manual/html/pow.html
product' :: [Sig] -> SigSource
Multiplies any number of a-rate signals.
ares product asig1, asig2 [, asig3] [...]
csound doc: http://www.csounds.com/manual/html/product.html
Sums any number of a-rate signals.
ares sum asig1 [, asig2] [, asig3] [...]
csound doc: http://www.csounds.com/manual/html/sum.html
taninv2 :: SigOrD a => a -> a -> aSource
Returns an arctangent.
Returns the arctangent of iyix, kykx, or ay/ax.
ares taninv2 ay, ax ires taninv2 iy, ix kres taninv2 ky, kx ... taninv2 (ky, kx)... (no rate restriction)
csound doc: http://www.csounds.com/manual/html/taninv2.html