28 #include "siddefs-fp.h" 29 #include "WaveformGenerator.h" 30 #include "EnvelopeGenerator.h" 43 std::unique_ptr<WaveformGenerator>
const waveformGenerator;
45 std::unique_ptr<EnvelopeGenerator>
const envelopeGenerator;
65 return static_cast<int>(waveformGenerator->output(ringModulator) * envelopeGenerator->output());
86 waveformGenerator->writeCONTROL_REG(control);
87 envelopeGenerator->writeCONTROL_REG(control);
95 waveformGenerator->reset();
96 envelopeGenerator->reset();
Voice()
Definition: Voice.h:71
void reset()
Definition: Voice.h:93
Definition: EnvelopeGenerator.h:43
RESID_INLINE int output(const WaveformGenerator *ringModulator) const
Definition: Voice.h:63
void writeCONTROL_REG(unsigned char control)
Definition: Voice.h:84