Klasse Filter

java.lang.Object
builder.resid.resid.Filter
Bekannte direkte Unterklassen:
Filter6581, Filter8580

public abstract class Filter extends Object
SID filter base class
Autor:
Ken Händel, Dag Lem, Antti Lankila
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    protected boolean
    Highpass, bandpass, and lowpass filter modes.
    protected double
    Current clock frequency.
    private boolean
    Filter enabled.
    protected int
    Filter cutoff frequency.
    private byte
    Selects which inputs to route through filter.
    protected boolean
    Routing to filter or outside filter
    protected boolean
    Routing to filter or outside filter
    protected boolean
    Routing to filter or outside filter
    protected boolean
    Routing to filter or outside filter
    protected boolean
    Highpass, bandpass, and lowpass filter modes.
    protected boolean
    Highpass, bandpass, and lowpass filter modes.
    protected int
    Filter resonance.
    protected boolean
    Switch voice 3 off.
    protected int
    Current volume.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected abstract int
    clock(int v1, int v2, int v3)
    SID clocking - 1 cycle
    void
    enable(boolean enable)
    Enable filter.
    protected abstract void
    input(int input)
     
    protected final void
    SID reset.
    protected void
    setClockFrequency(double clock)
     
    protected abstract void
    Set filter cutoff frequency.
    protected abstract void
    Mixing configuration modified (offsets change)
    protected abstract void
    Set filter resonance.
    protected final void
    writeFC_HI(byte fc_hi)
    Register function.
    protected final void
    writeFC_LO(byte fc_lo)
    Register function.
    protected final void
    writeMODE_VOL(byte mode_vol)
    Register function.
    protected final void
    writeRES_FILT(byte res_filt)
    Register function.
    protected abstract void
     

    Von Klasse geerbte Methoden java.lang.Object

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

    • enabled

      private boolean enabled
      Filter enabled.
    • fc

      protected int fc
      Filter cutoff frequency.
    • res

      protected int res
      Filter resonance.
    • filt

      private byte filt
      Selects which inputs to route through filter.
    • filt1

      protected boolean filt1
      Routing to filter or outside filter
    • filt2

      protected boolean filt2
      Routing to filter or outside filter
    • filt3

      protected boolean filt3
      Routing to filter or outside filter
    • filtE

      protected boolean filtE
      Routing to filter or outside filter
    • voice3off

      protected boolean voice3off
      Switch voice 3 off.
    • hp

      protected boolean hp
      Highpass, bandpass, and lowpass filter modes.
    • bp

      protected boolean bp
      Highpass, bandpass, and lowpass filter modes.
    • lp

      protected boolean lp
      Highpass, bandpass, and lowpass filter modes.
    • vol

      protected int vol
      Current volume.
    • clockFrequency

      protected double clockFrequency
      Current clock frequency.
  • Konstruktordetails

    • Filter

      public Filter()
  • Methodendetails

    • clock

      protected abstract int clock(int v1, int v2, int v3)
      SID clocking - 1 cycle
      Parameter:
      v1 - voice 1 in
      v2 - voice 2 in
      v3 - voice 3 in
      Gibt zurück:
      filtered output
    • enable

      public void enable(boolean enable)
      Enable filter.
      Parameter:
      enable - Enable/Disable the filter.
    • setClockFrequency

      protected void setClockFrequency(double clock)
    • reset

      protected final void reset()
      SID reset.
    • writeFC_LO

      protected final void writeFC_LO(byte fc_lo)
      Register function.
      Parameter:
      fc_lo -
    • writeFC_HI

      protected final void writeFC_HI(byte fc_hi)
      Register function.
      Parameter:
      fc_hi -
    • writeRES_FILT

      protected final void writeRES_FILT(byte res_filt)
      Register function.
      Parameter:
      res_filt -
    • writeMODE_VOL

      protected final void writeMODE_VOL(byte mode_vol)
      Register function.
      Parameter:
      mode_vol -
    • zeroDenormals

      protected abstract void zeroDenormals()
    • updatedCenterFrequency

      protected abstract void updatedCenterFrequency()
      Set filter cutoff frequency.
    • updatedResonance

      protected abstract void updatedResonance()
      Set filter resonance.
    • updatedMixing

      protected abstract void updatedMixing()
      Mixing configuration modified (offsets change)
    • input

      protected abstract void input(int input)