#include <Voice.h>
Representation of SID voice block.
◆ Voice()
reSIDfp::Voice::Voice |
( |
| ) |
|
|
inline |
◆ output()
RESID_INLINE int reSIDfp::Voice::output |
( |
const WaveformGenerator * |
ringModulator | ) |
const |
|
inline |
Amplitude modulated waveform output.
The waveform DAC generates a voltage between 5 and 12 V corresponding to oscillator state 0 .. 4095.
The envelope DAC generates a voltage between waveform gen output and the 5V level, corresponding to envelope state 0 .. 255.
Ideal range [-2048*255, 2047*255].
- Parameters
-
ringModulator | Ring-modulator for waveform |
- Returns
- waveformgenerator output
◆ reset()
void reSIDfp::Voice::reset |
( |
| ) |
|
|
inline |
◆ writeCONTROL_REG()
void reSIDfp::Voice::writeCONTROL_REG |
( |
unsigned char |
control | ) |
|
|
inline |
Write control register.
- Parameters
-
control | Control register value. |
The documentation for this class was generated from the following file: