public final class Voice extends Object
| Modifier and Type | Field and Description |
|---|---|
EnvelopeGenerator |
envelope |
WaveformGenerator |
wave |
| Modifier | Constructor and Description |
|---|---|
protected |
Voice()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
output(WaveformGenerator ringModulator)
Amplitude modulated waveform output.
|
void |
reset()
SID reset.
|
void |
writeCONTROL_REG(byte control)
Register functions.
|
public final WaveformGenerator wave
public final EnvelopeGenerator envelope
protected int output(WaveformGenerator ringModulator)
ringModulator - Ring-modulator for waveformpublic void writeCONTROL_REG(byte control)
control - Control register value.public void reset()
Copyright © 2018 Ken Händel. All rights reserved.