VCAs

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

Voltage Controlled Amplifier (simple multiplier).

Members:
  • i (In(stream.Signature(data.ArrayLayout(ASQ, 2)))) – 2-channel input stream.

  • o (Out(stream.Signature(data.ArrayLayout(ASQ, 1)))) – Output stream, i.payload[0] * i.payload[1].

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

Voltage Controlled Amplifier where the gain amount can be > 1. The output is clipped to fit in a normal ASQ.

Members:
  • i (In(stream.Signature(data.StructLayout)) – 2-channel input stream, with fields x (audio in) and gain (multiplier that may be >1 for saturation. legal values -3 < gain < 3)

  • o (Out(stream.Signature(ASQ))) – Output stream, x * gain with saturation.