|
libsidplayfp 2.15.0
|
#include <ExternalFilter.h>
Public Member Functions | |
| int | clock (int input) |
| ExternalFilter () | |
| void | setClockFrequency (double frequency) |
| void | reset () |
The audio output stage in a Commodore 64 consists of two STC networks, a low-pass RC filter with 3 dB frequency 16kHz followed by a DC-blocker which acts as a high-pass filter with a cutoff dependent on the attached audio equipment impedance. Here we suppose an impedance of 10kOhm resulting in a 3 dB attenuation at 1.6Hz.
The STC networks are connected with a BJT based common collector used as a voltage follower (featuring a 2SC1815 NPN transistor).
| reSIDfp::ExternalFilter::ExternalFilter | ( | ) |
Constructor.
| RESID_INLINE int reSIDfp::ExternalFilter::clock | ( | int | input | ) |
| void reSIDfp::ExternalFilter::reset | ( | ) |
SID reset.
| void reSIDfp::ExternalFilter::setClockFrequency | ( | double | frequency | ) |
Setup of the external filter sampling parameters.
| frequency | the main system clock frequency |