Klasse Voice

java.lang.Object
builder.resid.resid.Voice

public final class Voice extends Object
Representation of SID voice block.
Autor:
Ken Händel, Dag Lem, Antti Lankila
  • Felddetails

  • Konstruktordetails

    • Voice

      protected Voice()
      Constructor.
  • Methodendetails

    • output

      protected int output(WaveformGenerator ringModulator)
      Amplitude modulated waveform output. The waveform DAC generates a voltage between 5 and 12 V corresponding to oscillator state 0 .. 4095. The envelope DAC generates a voltage between waveform gen output and the 5V level, corresponding to envelope state 0 .. 255. Ideal range [-2048*255, 2047*255].
      Parameter:
      ringModulator - Ring-modulator for waveform
      Gibt zurück:
      waveformgenerator output
    • writeCONTROL_REG

      public void writeCONTROL_REG(byte control)
      Register functions.
      Parameter:
      control - Control register value.
    • reset

      public void reset()
      SID reset.