csound-expression-0.3.2: Csound combinator library

CsoundExpr.Opcodes.Siggen.Dynamic

Description

Dynamic Spectrum Oscillators

Synopsis

Documentation

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

  • opcode : buzz
  • syntax :
   ares buzz xamp, xcps, knh, ifn [, iphs]
  • description :

Output is a set of harmonically related sine partials.

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

  • opcode : gbuzz
  • syntax :
   ares gbuzz xamp, xcps, knh, klh, kmul, ifn [, iphs]
  • description :

Output is a set of harmonically related cosine partials.

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

  • opcode : mpulse
  • syntax :
   ares mpulse kamp, kintvl [, ioffset]
  • description :

Generates a set of impulses of amplitude kamp separated by kintvl seconds (or samples if kintvl is negative). The first impulse is generated after a delay of ioffset seconds.

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

  • opcode : vco
  • syntax :
   ares vco xamp, xcps, iwave, kpw [, ifn] [, imaxd] [, ileak] [, inyx] 
       [, iphs] [, iskip]
  • description :

Implementation of a band limited, analog modeled oscillator, based on integration of band limited impulses. vco can be used to simulate a variety of analog wave forms.

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

  • opcode : vco2
  • syntax :
   ares vco2 kamp, kcps [, imode] [, kpw] [, kphs] [, inyx]
  • description :

vco2 is similar to vco. But the implementation uses pre-calculated tables of band-limited waveforms (see also GEN30) rather than integrating impulses. This opcode can be faster than vco (especially if a low control-rate is used) and also allows better sound quality. Additionally, there are more waveforms and oscillator phase can be modulated at k-rate. The disadvantage is increased memory usage. For more details about vco2 tables, see also vco2init and vco2ft.

vco2init :: [Irate] -> Irate -> IrateSource

  • opcode : vco2init
  • syntax :
   ifn vco2init iwave [, ibasfn] [, ipmul] [, iminsiz] [, imaxsiz] [, isrcft]
  • description :

vco2init calculates tables for use by vco2 opcode. Optionally, it is also possible to access these tables as standard Csound function tables. In this case, vco2ft can be used to find the correct table number for a given oscillator frequency.

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

  • opcode : vco2ft
  • syntax :
   kfn vco2ft kcps, iwave [, inyx]
  • description :

vco2ft returns the function table number to be used for generating the specified waveform at a given frequency. This function table number can be used by any Csound opcode that generates a signal by reading function tables (like oscilikt). The tables must be calculated by vco2init before vco2ft is called and shared as Csound ftables (ibasfn).

vco2ift :: [Irate] -> Irate -> Irate -> IrateSource

  • opcode : vco2ift
  • syntax :
   ifn vco2ift icps, iwave [, inyx]
  • description :

vco2ift is the same as vco2ft, but works at i-time. It is suitable for use with opcodes that expect an i-rate table number (for example, oscili).