public final class Filter6581 extends Filter
| Modifier and Type | Field and Description |
|---|---|
protected int |
Vbp
Filter bandpass state.
|
protected int |
Vhp
Filter highpass state.
|
protected int |
Vlp
Filter lowpass state.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Filter6581() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
clock(int voice1,
int voice2,
int voice3)
SID clocking - 1 cycle
|
protected void |
input(int sample) |
void |
setFilterCurve(double curvePosition)
Set filter curve type based on single parameter.
|
protected void |
updatedCenterFrequency()
Switch to new distortion curve.
|
protected void |
updatedMixing()
Mixing configuration modified (offsets change)
|
protected void |
updatedResonance()
Resonance tuned by ear, based on a few observations:
- there's a small notch even in allpass mode - size of resonance hump is
about 8 dB
|
protected void |
zeroDenormals() |
enable, reset, setClockFrequency, writeFC_HI, writeFC_LO, writeMODE_VOL, writeRES_FILTprotected int Vhp
protected int Vbp
protected int Vlp
public void setFilterCurve(double curvePosition)
curvePosition - 0 .. 1, where 0 sets center frequency high ("light") and 1
sets it low ("dark")protected int clock(int voice1,
int voice2,
int voice3)
Filterprotected final void zeroDenormals()
zeroDenormals in class Filterprotected void updatedCenterFrequency()
updatedCenterFrequency in class Filterprotected void updatedResonance()
updatedResonance in class Filterprotected void updatedMixing()
FilterupdatedMixing in class FilterCopyright © 2018 Ken Händel. All rights reserved.