csound-expression-0.3.1: Csound combinator library

CsoundExpr.Opcodes.Pitch.Funcs

Description

Functions

Synopsis

Documentation

cent :: X x0 => x0 -> x0Source

  • opcode : cent
  • syntax :
   cent(x)
  • description :

Calculates a factor to raise/lower a frequency by a given amount of cents.

cpsmidinn :: K k0 => k0 -> k0Source

  • opcode : cpsmidinn
  • syntax :
   cpsmidinn (MidiNoteNumber) (init- or control-rate args only)
  • description :

Converts a Midi note number value to cycles-per-second.

cpsoct :: X x0 => x0 -> x0Source

  • opcode : cpsoct
  • syntax :
   cpsoct (oct) (no rate restriction)
  • description :

Converts an octave-point-decimal value to cycles-per-second.

cpspch :: K k0 => k0 -> k0Source

  • opcode : cpspch
  • syntax :
   cpspch (pch) (init- or control-rate args only)
  • description :

Converts a pitch-class value to cycles-per-second.

octave :: X x0 => x0 -> x0Source

  • opcode : octave
  • syntax :
   octave(x)
  • description :

Calculates a factor to raise/lower a frequency by a given amount of octaves.

octcps :: K k0 => k0 -> k0Source

  • opcode : octcps
  • syntax :
   octcps (cps) (init- or control-rate args only)
  • description :

Converts a cycles-per-second value to octave-point-decimal.

octmidinn :: K k0 => k0 -> k0Source

  • opcode : octmidinn
  • syntax :
   octmidinn (MidiNoteNumber) (init- or control-rate args only)
  • description :

Converts a Midi note number value to octave-point-decimal.

octpch :: K k0 => k0 -> k0Source

  • opcode : octpch
  • syntax :
   octpch (pch) (init- or control-rate args only)
  • description :

Converts a pitch-class value to octave-point-decimal.

pchmidinn :: K k0 => k0 -> k0Source

  • opcode : pchmidinn
  • syntax :
   pchmidinn (MidiNoteNumber) (init- or control-rate args only)
  • description :

Converts a Midi note number value to octave point pitch-class units.

pchoct :: K k0 => k0 -> k0Source

  • opcode : pchoct
  • syntax :
   pchoct (oct) (init- or control-rate args only)
  • description :

Converts an octave-point-decimal value to pitch-class.

semitone :: X x0 => x0 -> x0Source

  • opcode : semitone
  • syntax :
   semitone(x)
  • description :

Calculates a factor to raise/lower a frequency by a given amount of semitones.