Oscillators

class tiliqua.dsp.SawNCO(*args, src_loc_at=0, **kwargs)

Sawtooth Numerically Controlled Oscillator.

Often this can be simply routed into a LUT waveshaper for any other waveform type.

Members:
  • i (In(stream.Signature(data.StructLayout)) – Input stream, with fields freq_inc (linear frequency) and phase (phase offset). One output sample is produced for each input sample.

  • o (Out(stream.Signature(ASQ))) – Output stream, values sweep from ASQ.min() to ASQ.max().