libsidplayfp  0.3.5
Public Member Functions | Public Attributes
reSIDfp::Voice Class Reference

List of all members.

Public Member Functions

RESID_INLINE int output (const WaveformGenerator *ringModulator) const
 Voice ()
void writeCONTROL_REG (const unsigned char control)
void reset ()

Public Attributes

WaveformGeneratorwave
EnvelopeGeneratorenvelope

Constructor & Destructor Documentation

reSIDfp::Voice::Voice ( )
inline

Constructor.


Member Function Documentation

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:
ringModulatorRing-modulator for waveform
Returns:
waveformgenerator output
void reSIDfp::Voice::reset ( void  )
inline

SID reset.

void reSIDfp::Voice::writeCONTROL_REG ( const unsigned char  control)
inline

Register functions.

Parameters:
ring_modulatorRing modulator for waveform
controlControl register value.

The documentation for this class was generated from the following file: