Sample Level Operators
- denorm :: [Arate] -> SignalOut
- diffA :: [Irate] -> Arate -> Arate
- diffK :: K k0 => [Irate] -> k0 -> Krate
- downsamp :: [Irate] -> Arate -> Krate
- fold :: K k0 => Arate -> k0 -> Arate
- integA :: [Irate] -> Arate -> Arate
- integK :: K k0 => [Irate] -> k0 -> Krate
- interp :: K k0 => [Irate] -> k0 -> Arate
- ntrpolA :: K k0 => [Irate] -> Arate -> Arate -> k0 -> Arate
- ntrpolI :: [Irate] -> Irate -> Irate -> Irate -> Irate
- ntrpolK :: (K k0, K k1, K k2) => [Irate] -> k0 -> k1 -> k2 -> Krate
- sampholdA :: [Irate] -> Arate -> Arate -> Arate
- sampholdK :: (K k0, K k1) => [Irate] -> k0 -> k1 -> Krate
- upsamp :: K k0 => k0 -> Arate
- vaget :: K k0 => k0 -> Arate -> Krate
- vaset :: (K k0, K k1) => k0 -> k1 -> Arate -> SignalOut
Documentation
denorm :: [Arate] -> SignalOutSource
- opcode : denorm
- syntax :
denorm a1[, a2[, a3[,... ]]]
- description :
Mixes low level (~1e-20 for floats, and ~1e-56 for doubles) noise to a list of a-rate signals. Can be used before IIR filters and reverbs to avoid denormalized numbers which may otherwise result in significantly increased CPU usage.
diffA :: [Irate] -> Arate -> ArateSource
- opcode : diff
- syntax :
ares diff asig [, iskip] kres diff ksig [, iskip]
- description :
Modify a signal by differentiation.
diffK :: K k0 => [Irate] -> k0 -> KrateSource
- opcode : diff
- syntax :
ares diff asig [, iskip] kres diff ksig [, iskip]
- description :
Modify a signal by differentiation.
downsamp :: [Irate] -> Arate -> KrateSource
- opcode : downsamp
- syntax :
kres downsamp asig [, iwlen]
- description :
Modify a signal by down-sampling.
fold :: K k0 => Arate -> k0 -> ArateSource
- opcode : fold
- syntax :
ares fold asig, kincr
- description :
Adds artificial foldover to an audio signal.
integA :: [Irate] -> Arate -> ArateSource
- opcode : integ
- syntax :
ares integ asig [, iskip] kres integ ksig [, iskip]
- description :
Modify a signal by integration.
integK :: K k0 => [Irate] -> k0 -> KrateSource
- opcode : integ
- syntax :
ares integ asig [, iskip] kres integ ksig [, iskip]
- description :
Modify a signal by integration.
interp :: K k0 => [Irate] -> k0 -> ArateSource
- opcode : interp
- syntax :
ares interp ksig [, iskip] [, imode]
- description :
Converts a control signal to an audio signal using linear interpolation.
ntrpolA :: K k0 => [Irate] -> Arate -> Arate -> k0 -> ArateSource
- opcode : ntrpol
- syntax :
ares ntrpol asig1, asig2, kpoint [, imin] [, imax] ires ntrpol isig1, isig2, ipoint [, imin] [, imax] kres ntrpol ksig1, ksig2, kpoint [, imin] [, imax]
- description :
Calculates the weighted mean value (i.e. linear interpolation) of two input signals
ntrpolI :: [Irate] -> Irate -> Irate -> Irate -> IrateSource
- opcode : ntrpol
- syntax :
ares ntrpol asig1, asig2, kpoint [, imin] [, imax] ires ntrpol isig1, isig2, ipoint [, imin] [, imax] kres ntrpol ksig1, ksig2, kpoint [, imin] [, imax]
- description :
Calculates the weighted mean value (i.e. linear interpolation) of two input signals
ntrpolK :: (K k0, K k1, K k2) => [Irate] -> k0 -> k1 -> k2 -> KrateSource
- opcode : ntrpol
- syntax :
ares ntrpol asig1, asig2, kpoint [, imin] [, imax] ires ntrpol isig1, isig2, ipoint [, imin] [, imax] kres ntrpol ksig1, ksig2, kpoint [, imin] [, imax]
- description :
Calculates the weighted mean value (i.e. linear interpolation) of two input signals
sampholdA :: [Irate] -> Arate -> Arate -> ArateSource
- opcode : samphold
- syntax :
ares samphold asig, agate [, ival] [, ivstor] kres samphold ksig, kgate [, ival] [, ivstor]
- description :
Performs a sample-and-hold operation on its input.
sampholdK :: (K k0, K k1) => [Irate] -> k0 -> k1 -> KrateSource
- opcode : samphold
- syntax :
ares samphold asig, agate [, ival] [, ivstor] kres samphold ksig, kgate [, ival] [, ivstor]
- description :
Performs a sample-and-hold operation on its input.
upsamp :: K k0 => k0 -> ArateSource
- opcode : upsamp
- syntax :
ares upsamp ksig
- description :
Modify a signal by up-sampling.
vaget :: K k0 => k0 -> Arate -> KrateSource
- opcode : vaget
- syntax :
kval vaget kndx, avar
- description :
Access values of the current buffer of an a-rate variable by indexing. Useful for doing sample-by-sample manipulation at k-rate without using setksmps 1.