libsidplayfp
2.11.0
|
#include <FilterModelConfig6581.h>
Public Member Functions | |
void | setFilterRange (double adjustment) |
unsigned short * | getDAC (double adjustment) const |
double | getWL_snake () const |
unsigned short | getVcr_nVg (int i) const |
unsigned short | getVcr_n_Ids_term (int i) const |
constexpr double | getUt () const |
double | getN16 () const |
![]() | |
unsigned short ** | getVolume () |
unsigned short ** | getResonance () |
unsigned short ** | getSummer () |
unsigned short ** | getMixer () |
unsigned short | getOpampRev (int i) const |
double | getVddt () const |
double | getVth () const |
unsigned short | getNormalizedValue (double value) const |
unsigned short | getNormalizedCurrentFactor (double wl) const |
unsigned short | getNVmin () const |
int | getNormalizedVoice (float value, unsigned int env) const |
Static Public Member Functions | |
static FilterModelConfig6581 * | getInstance () |
Protected Member Functions | |
double | getVoiceDC (unsigned int env) const override |
![]() | |
FilterModelConfig (double vvr, double c, double vdd, double vth, double ucox, const Spline::Point *opamp_voltage, int opamp_size) | |
void | setUCox (double new_uCox) |
void | buildSummerTable (const OpAmp &opampModel) |
void | buildMixerTable (const OpAmp &opampModel, double nRatio) |
void | buildVolumeTable (const OpAmp &opampModel, double nDivisor) |
void | buildResonanceTable (const OpAmp &opampModel, const double resonance_n[16]) |
Additional Inherited Members | |
![]() | |
const double | C |
Capacitor value. | |
const double | Vdd |
Positive supply voltage. | |
const double | Vth |
Threshold voltage. | |
const double | Vddt |
Vdd - Vth. | |
double | uCox |
Transconductance coefficient: u*Cox. | |
const double | vmin |
const double | vmax |
const double | denorm |
const double | norm |
const double | N16 |
Fixed point scaling for 16 bit op-amp output. | |
const double | voice_voltage_range |
double | currFactorCoeff |
Current factor coefficient for op-amp integrators. | |
unsigned short * | mixer [8] |
Lookup tables for gain and summer op-amps in output stage / filter. | |
unsigned short * | summer [5] |
unsigned short * | volume [16] |
unsigned short * | resonance [16] |
unsigned short | opamp_rev [1<< 16] |
Reverse op-amp transfer function. | |
![]() | |
static constexpr double | Ut = 26.0e-3 |
Transistor parameters. More... | |
Calculate parameters for 6581 filter emulation.
unsigned short * reSIDfp::FilterModelConfig6581::getDAC | ( | double | adjustment | ) | const |
Construct an 11 bit cutoff frequency DAC output voltage table. Ownership is transferred to the requester which becomes responsible of freeing the object when done.
adjustment |
|
inlineoverrideprotectedvirtual |
On 6581 the DC offset varies between ~5.0V and ~5.214V depending on the envelope value.
Implements reSIDfp::FilterModelConfig.