Klasse ExternalFilter

java.lang.Object
builder.resid.residfp.ExternalFilter

final class ExternalFilter extends Object
The audio output stage in a Commodore 64 consists of two STC networks, a low-pass filter with 3-dB frequency 16kHz followed by a high-pass filter with 3-dB frequency 16Hz (the latter provided an audio equipment input impedance of 1kOhm).

The STC networks are connected with a BJT supposedly meant to act as a unity gain buffer, which is not really how it works. A more elaborate model would include the BJT, however DC circuit analysis yields BJT base-emitter and emitter-base impedances sufficiently low to produce additional low-pass and high-pass 3dB-frequencies in the order of hundreds of kHz. This calls for a sampling frequency of several MHz, which is far too high for practical use.

Autor:
Ken Händel
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    private static final double
     
    private float
    highpass
    private float
    lowpass
    private float
    Cutoff frequencies.
    private float
    Cutoff frequencies.
  • Konstruktorübersicht

    Konstruktoren
    Modifizierer
    Konstruktor
    Beschreibung
    protected
    Constructor.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected float
    clock(float Vi)
    SID clocking - 1 cycle.
    protected void
    SID reset.
    protected void
    setClockFrequency(double frequency)
    Setup of the external filter sampling parameters.
    protected void
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • LOWPASS_FREQUENCY

      private static final double LOWPASS_FREQUENCY
      Siehe auch:
    • Vlp

      private float Vlp
      lowpass
    • Vhp

      private float Vhp
      highpass
    • w0lp

      private float w0lp
      Cutoff frequencies.
    • w0hp

      private float w0hp
      Cutoff frequencies.
  • Konstruktordetails

    • ExternalFilter

      protected ExternalFilter()
      Constructor.
  • Methodendetails

    • clock

      protected float clock(float Vi)
      SID clocking - 1 cycle.
      Parameter:
      Vi -
    • zeroDenormals

      protected void zeroDenormals()
    • setClockFrequency

      protected void setClockFrequency(double frequency)
      Setup of the external filter sampling parameters.
      Parameter:
      frequency - clock frequency
    • reset

      protected void reset()
      SID reset.