#include <Voice.h>
Representation of SID voice block.
◆ output()
RESID_INLINE float reSIDfp::Voice::output |
( |
| ) |
|
|
inline |
Amplitude modulated waveform output.
The waveform DAC generates a voltage between virtual ground and Vdd (5-12 V for the 6581 and 4.75-9 V for the 8580) corresponding to oscillator state 0 .. 4095.
The envelope DAC generates a voltage between waveform gen output and the virtual ground level, corresponding to envelope state 0 .. 255.
Ideal range [-2048*255, 2047*255].
- Returns
- the voice analog output
◆ reset()
void reSIDfp::Voice::reset |
( |
| ) |
|
|
inline |
◆ setEnvDAC()
void reSIDfp::Voice::setEnvDAC |
( |
float * |
dac | ) |
|
|
inline |
Set the analog DAC emulation for envelope. Must be called before any operation.
- Parameters
-
◆ setOtherVoices()
void reSIDfp::Voice::setOtherVoices |
( |
Voice & |
prev, |
|
|
Voice & |
next |
|
) |
| |
|
inline |
Set the modulator voice.
- Parameters
-
modulator | Ring-modulator for waveform |
◆ setWavDAC()
void reSIDfp::Voice::setWavDAC |
( |
float * |
dac | ) |
|
|
inline |
Set the analog DAC emulation for waveform generator. Must be called before any operation.
- Parameters
-
◆ 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: