#include <Filter.h>
|
int | Vhp = 0 |
| Filter highpass state.
|
|
int | Vbp = 0 |
| Filter bandpass state.
|
|
int | Vlp = 0 |
| Filter lowpass state.
|
|
bool | hp = false |
| Highpass, bandpass, and lowpass filter modes.
|
|
bool | bp = false |
|
bool | lp = false |
|
◆ clock()
RESID_INLINE unsigned short reSIDfp::Filter::clock |
( |
Voice & |
v1, |
|
|
Voice & |
v2, |
|
|
Voice & |
v3 |
|
) |
| |
SID clocking - 1 cycle
- Parameters
-
v1 | voice 1 in |
v2 | voice 2 in |
v3 | voice 3 in |
- Returns
- filtered output, unsigned 16 bit
◆ enable()
void reSIDfp::Filter::enable |
( |
bool |
enable | ) |
|
Enable filter.
- Parameters
-
◆ getFC()
unsigned int reSIDfp::Filter::getFC |
( |
| ) |
const |
|
inlineprotected |
Get the filter cutoff register value
◆ input()
void reSIDfp::Filter::input |
( |
short |
input | ) |
|
|
inline |
Apply a signal to EXT-IN
- Parameters
-
input | a signed 16 bit sample |
◆ reset()
void reSIDfp::Filter::reset |
( |
| ) |
|
◆ updateCenterFrequency()
virtual void reSIDfp::Filter::updateCenterFrequency |
( |
| ) |
|
|
protectedpure virtual |
◆ updateMixing()
void reSIDfp::Filter::updateMixing |
( |
| ) |
|
|
protected |
Mixing configuration modified (offsets change)
◆ updateResonance()
void reSIDfp::Filter::updateResonance |
( |
unsigned char |
res | ) |
|
|
inlineprotected |
Update filter resonance.
- Parameters
-
res | the new resonance value |
◆ writeFC_HI()
void reSIDfp::Filter::writeFC_HI |
( |
unsigned char |
fc_hi | ) |
|
Write Frequency Cutoff High register.
- Parameters
-
fc_hi | Frequency Cutoff High-Byte |
◆ writeFC_LO()
void reSIDfp::Filter::writeFC_LO |
( |
unsigned char |
fc_lo | ) |
|
Write Frequency Cutoff Low register.
- Parameters
-
fc_lo | Frequency Cutoff Low-Byte |
◆ writeMODE_VOL()
void reSIDfp::Filter::writeMODE_VOL |
( |
unsigned char |
mode_vol | ) |
|
Write filter Mode/Volume register.
- Parameters
-
◆ writeRES_FILT()
void reSIDfp::Filter::writeRES_FILT |
( |
unsigned char |
res_filt | ) |
|
Write Resonance/Filter register.
- Parameters
-
The documentation for this class was generated from the following files: