csound-expression-0.1.0: Csound combinator library

CsoundExpr.Opcodes.Pitch.Tuning

Description

Tuning Opcodes

Synopsis

Documentation

cps2pch :: Irate -> Irate -> IrateSource

  • opcode : cps2pch
  • syntax :
   icps cps2pch ipch, iequal
  • description :

Converts a pitch-class value into cycles-per-second (Hz) for equal divisions of the octave.

cpsxpch :: Irate -> Irate -> Irate -> Irate -> IrateSource

  • opcode : cpsxpch
  • syntax :
   icps cpsxpch ipch, iequal, irepeat, ibase
  • description :

Converts a pitch-class value into cycles-per-second (Hz) for equal divisions of any interval. There is a restriction of no more than 100 equal divisions.

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

  • opcode : cpstun
  • syntax :
   kcps cpstun ktrig, kindex, kfn
  • description :

Returns micro-tuning values at k-rate.

cpstuni :: Irate -> Irate -> IrateSource

  • opcode : cpstuni
  • syntax :
   icps cpstuni index, ifn
  • description :

Returns micro-tuning values at init-rate.